public class SubstitutionTagReplacement
Public Class SubstitutionTagReplacement
public ref class SubstitutionTagReplacement
type SubstitutionTagReplacement = class end
Replacement tags appear in the form of a tag name prefixed with an '@' and enclosed in curly braces ({@PropertyName}). An optional format specifier is also allowed if needed such as for date formatting ({@BuildDate:MMMM d, yyyy}).
Methods in this class tagged with the SubstitutionTagAttribute attribute represent substitution tags that require additional handling. For simple types that require no special handling and those that require only minor changes, the value returned by ReplacementValueFor(String) is used and there is no corresponding method in this class.
SubstitutionTagReplacement | Constructor |
Equals | Determines whether the specified object is equal to the current object. (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 the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
TransformTemplate | Transform the specified template file by inserting the necessary values into the substitution tags and saving it to the destination folder. |
TransformText | Transform the specified template text by replacing the substitution tags with the corresponding project property values. |