Aracılığıyla paylaş


DocumentInfo Class

Definition

A class that represents all the arguments necessary to create a new document instance.

public ref class DocumentInfo sealed
[System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay() , nq}")]
public sealed class DocumentInfo
[<System.Diagnostics.DebuggerDisplay("{GetDebuggerDisplay() , nq}")>]
type DocumentInfo = class
Public NotInheritable Class DocumentInfo
Inheritance
DocumentInfo
Attributes

Properties

FilePath

The file path of the document.

Folders

The names of the logical nested folders the document is contained in.

Id

The Id of the document.

IsGenerated

True if the document is a side effect of the build.

Name

The name of the document.

SourceCodeKind

The kind of the source code.

TextLoader

A loader that can retrieve the document text.

Methods

Create(DocumentId, String, IEnumerable<String>, SourceCodeKind, TextLoader, String, Boolean)

Creates info.

WithFilePath(String)
WithFolders(IEnumerable<String>)
WithId(DocumentId)
WithName(String)
WithSourceCodeKind(SourceCodeKind)
WithTextLoader(TextLoader)

Applies to