共用方式為


ISingleFileGenerator Interface

Definition

Provides a way to schedule the Single File Generator. Obtain this using SingleFileGenerator.

public interface class ISingleFileGenerator
public interface ISingleFileGenerator
type ISingleFileGenerator = interface
Public Interface ISingleFileGenerator

Methods

GenerateCodeAsync(String, String, CancellationToken)

Triggers the single file generation on the single input file at filePathto generate the single output file. The result of the transformation may be source code, or any other output that is useful. An example is resources code file generated in response to changes in a visual designer that creates a resx file.

Applies to