Class RenderedFile
Namespace: Cephalon.Scaffolding.Generation
Assembly: Cephalon.Scaffolding.dll
Represents one file produced by scaffold generation.
public sealed class RenderedFileInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”RenderedFile(string, string)
Section titled “ RenderedFile(string, string)”Creates a new rendered file.
public RenderedFile(string path, string contents)Parameters
Section titled “Parameters”path string
The relative scaffold path of the file.
contents string
The file contents that should be written.
Properties
Section titled “Properties”Contents
Section titled “ Contents”Gets the contents that should be written to the file.
public string Contents { get; }Property Value
Section titled “Property Value”Gets the relative scaffold path of the file.
public string Path { get; }