共用方式為


GeneratorExecutionContext.AdditionalFiles 屬性

定義

產生器可以使用的其他一組非程式碼文字檔。

public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> AdditionalFiles { get; }
member this.AdditionalFiles : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText>
Public ReadOnly Property AdditionalFiles As ImmutableArray(Of AdditionalText)

屬性值

適用於