Interface IGeneratedFile
- Namespace
- TypedRest.CodeGeneration.Generation
- Assembly
- TypedRest.CodeGeneration.dll
A single source file produced by an IClientGenerator.
public interface IGeneratedFile
- Extension Methods
Properties
Encoding
The encoding to use when writing the file to disk.
Encoding Encoding { get; }
Property Value
Path
The path of the file relative to the output directory, using / as the separator, including the extension.
string Path { get; }
Property Value
Methods
WriteTo(TextWriter)
Writes the content of the file.
void WriteTo(TextWriter writer)
Parameters
writerTextWriter