Acts as a template for a string
More...
|
| StringTemplate (string Template, string KeyStart="{", string KeyEnd="}") |
| Constructor More...
|
|
override void | GetObjectData (SerializationInfo info, StreamingContext context) |
| Implements the ISerializable interface and returns the data needed to serialize the dictionary instance More...
|
|
override string | ToString () |
| Applies the key/values to the template and returns the resulting string More...
|
|
Acts as a template for a string
Definition at line 34 of file StringTemplate.cs.
Utilities.DataTypes.StringTemplate.StringTemplate |
( |
string |
Template, |
|
|
string |
KeyStart = "{" , |
|
|
string |
KeyEnd = "}" |
|
) |
| |
Constructor
- Parameters
-
Template | Template |
KeyEnd | Ending signifier of a key |
KeyStart | Starting signifier of a key |
Definition at line 42 of file StringTemplate.cs.
Utilities.DataTypes.StringTemplate.StringTemplate |
( |
SerializationInfo |
Info, |
|
|
StreamingContext |
Context |
|
) |
| |
|
protected |
Constructor
- Parameters
-
Info | Serialization info |
Context | Streaming context |
Definition at line 54 of file StringTemplate.cs.
override void Utilities.DataTypes.StringTemplate.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
Implements the ISerializable interface and returns the data needed to serialize the dictionary instance
- Parameters
-
info | Serialization info |
context | Streaming context |
Definition at line 92 of file StringTemplate.cs.
static implicit Utilities.DataTypes.StringTemplate.operator string |
( |
StringTemplate |
Value | ) |
|
|
static |
Converts the object to a string
- Parameters
-
- Returns
- The value as a string
Definition at line 79 of file StringTemplate.cs.
override string Utilities.DataTypes.StringTemplate.ToString |
( |
| ) |
|
Applies the key/values to the template and returns the resulting string
- Returns
- The resulting string
Definition at line 101 of file StringTemplate.cs.
string Utilities.DataTypes.StringTemplate.KeyEnd |
|
getprotected set |
string Utilities.DataTypes.StringTemplate.KeyStart |
|
getprotected set |
string Utilities.DataTypes.StringTemplate.Template |
|
getprotected set |
The documentation for this class was generated from the following file: