The CodeSmithProject type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CodeSmithProject | Initializes a new instance of the CodeSmithProject class |
Methods
| Name | Description | |
|---|---|---|
| Clone |
Creates a new object that is a copy of the current instance.
| |
| CreateInstance | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InsertVariables |
Inserts variables into the property set where the value matches.
| |
| LoadFile(String) |
Loads the project from a file.
| |
| LoadFile(String, Boolean) |
Loads the project from a file.
| |
| LoadFromString(String) |
Loads the project from a String.
| |
| LoadFromString(String, Boolean) |
Loads from String.
| |
| MakePathsRelative |
Makes the paths relative to the directory of FileName.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReplaceVariables |
Replaces variables in the property set with the variables value.
| |
| SaveFile(String) |
Saves the project to a file.
| |
| SaveFile(String, Boolean) |
Saves the project to a file.
| |
| SaveToString()()()() |
Saves project to String.
| |
| SaveToString(Boolean) |
Saves project to String.
| |
| ShouldSerializeDefaultProperties | ||
| ShouldSerializeDefaultTemplate | ||
| ShouldSerializePropertySets | ||
| ShouldSerializeSingleOutput | ||
| ShouldSerializeVariables | ||
| ToString | (Overrides Object..::..ToString()()()().) | |
| UpdateDisplayNames |
Fields
| Name | Description | |
|---|---|---|
| DefaultNamespace |
Properties
| Name | Description | |
|---|---|---|
| DefaultProperties | ||
| DefaultTemplate | ||
| FileName | ||
| HasDefaultTemplate | ||
| HasSingleOutput | ||
| PropertySets | ||
| SingleOutput | ||
| StopOnError | ||
| UseRelativePaths | ||
| Variables |