Megosztás a következőn keresztül:


GeneratorDriver.RunGenerators(Compilation, CancellationToken) Method

Definition

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

Parameters

compilation
Compilation
cancellationToken
CancellationToken

Returns

Applies to