Table of Contents

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

Encoding

Path

The path of the file relative to the output directory, using / as the separator, including the extension.

string Path { get; }

Property Value

string

Methods

WriteTo(TextWriter)

Writes the content of the file.

void WriteTo(TextWriter writer)

Parameters

writer TextWriter