| File: FormattedFile.cs | Web Access |
| Project: src\sdk\src\Dotnet.Format\dotnet-format\dotnet-format.csproj (dotnet-format) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.CodeAnalysis.Tools { public class FormattedFile { public DocumentId DocumentId { get; } public string FileName { get; } public string? FilePath { get; } public IEnumerable<FileChange> FileChanges { get; } public FormattedFile(Document document, IEnumerable<FileChange> fileChanges) { DocumentId = document.Id; FileName = document.Name; FilePath = document.FilePath; FileChanges = fileChanges; } } }