Method
AddDocument
func AddDocument(id: DocumentId, name: string, text: SourceText, filePath: string? = null) -> Solution
Declaring type: Solution
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Solution.cs
Adds a new document to the specified project.
Parameters
| Name | Type | Description |
|---|---|---|
id |
DocumentId | |
name |
String | |
text |
SourceText | |
filePath |
String? |