Method
Create
static func Create(id: DocumentId, name: string, text: SourceText, filePath: string? = null) -> DocumentInfo
Declaring type: DocumentInfo
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: DocumentInfo.cs
Factory helper for convenience.
Parameters
| Name | Type | Description |
|---|---|---|
id |
DocumentId | |
name |
String | |
text |
SourceText | |
filePath |
String? |