ISingleFileGenerator Interface

Definition

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

C++
public interface class 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

Product Versions
Visual Studio SDK 2019, 2022