Class Template
Represents a Template with an empty value.
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class Template
Remarks
Inspired by Tuple objects, Template, was chosen because of the naming conflict in newer version of the .NET Framework. The name, Template, was inspired by the Variadic Template in C++.
Constructors
| Improve this DocTemplate()
Initializes a new instance of the Template class.
Declaration
public Template()
Properties
| Improve this DocIsEmpty
Gets a value indicating whether this Template is empty.
Declaration
public virtual bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
| Improve this DocClone()
Creates a shallow copy of the current Template object.
Declaration
public virtual Template Clone()
Returns
Type | Description |
---|---|
Template | A new Template that is a copy of this instance. |
Remarks
When thread safety is required this is the method to invoke.
ToArray()
Returns an array of objects that represent the arguments passed to this instance.
Declaration
public virtual object[] ToArray()
Returns
Type | Description |
---|---|
System.Object[] | An array of objects that represent the arguments passed to this instance. Returns an empty array if the current instance was constructed with no generic arguments. |
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |