GeneratorDriver.RunGenerators(Compilation, CancellationToken) 方法

定义

public Microsoft.CodeAnalysis.GeneratorDriver RunGenerators (Microsoft.CodeAnalysis.Compilation compilation, System.Threading.CancellationToken cancellationToken = default);
member this.RunGenerators : Microsoft.CodeAnalysis.Compilation * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.GeneratorDriver
Public Function RunGenerators (compilation As Compilation, Optional cancellationToken As CancellationToken = Nothing) As GeneratorDriver

参数

compilation
Compilation
cancellationToken
CancellationToken

返回

适用于