Class
DocumentInfo
class DocumentInfo
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: DocumentInfo.cs
Inheritance: Object → DocumentInfo
Immutable metadata about a document (file path, name, etc.).
Nested types
1 item
DocumentAttributes
Record that actually stores the data. Immutable for structural sharing.
Constructors
1 item
DocumentInfo(attributes: DocumentAttributes)
No summary available.
Properties
6 items
Attributes: DocumentAttributes
No summary available.
FilePath: string?
No summary available.
Id: DocumentId
No summary available.
Name: string
No summary available.
Text: SourceText
No summary available.
Version: VersionStamp
No summary available.
Methods
8 items
Static member:
Create(id: DocumentId, name: string, text: SourceText, filePath?: string?) -> DocumentInfo
Factory helper for convenience.
Equals(obj: object?) -> bool
Determines whether the specified object is equal to the current object.
Inherited from Object.Equals
GetHashCode() -> int
Serves as the default hash function.
Inherited from Object.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString
WithFilePath(newPath: string?) -> DocumentInfo
No summary available.
WithName(newName: string) -> DocumentInfo
No summary available.
WithText(newText: SourceText) -> DocumentInfo
No summary available.