Skip to content

Class RenderedFile

Namespace: Cephalon.Scaffolding.Generation
Assembly: Cephalon.Scaffolding.dll

Represents one file produced by scaffold generation.

public sealed class RenderedFile

objectRenderedFile

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Creates a new rendered file.

public RenderedFile(string path, string contents)

path string

The relative scaffold path of the file.

contents string

The file contents that should be written.

Gets the contents that should be written to the file.

public string Contents { get; }

string

Gets the relative scaffold path of the file.

public string Path { get; }

string