Class TemplateInfo
Represents information about the template.
Inheritance
Implements
Inherited Members
Namespace: ClearCheck.esapi.Api
Assembly: cs.temp.dll.dll
Syntax
public class TemplateInfo : IEquatable<TemplateInfo>
Constructors
TemplateInfo(String, String)
Creates a new instance of the TemplateInfo class.
Declaration
public TemplateInfo(string templateName, string folderName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateName | Name of template. |
System.String | folderName | Name of folder. |
Properties
FolderName
Gets the name of the template folder.
Declaration
public string FolderName { get; }
Property Value
Type | Description |
---|---|
System.String |
IsActive
Gets the flag which indicates that the template is active.
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TemplateName
Gets the name of template.
Declaration
public string TemplateName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Creates a clone of the instance.
Declaration
public TemplateInfo Clone()
Returns
Type | Description |
---|---|
TemplateInfo |
Equals(TemplateInfo)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(TemplateInfo other)
Parameters
Type | Name | Description |
---|---|---|
TemplateInfo | other | The TemplateInfo instance to compare with the current instance. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified instance is equal to the current instance; otherwise, false. |
Equals(TemplateInfo, TemplateInfo)
Compares two TemplateInfo instances.
Declaration
public static bool Equals(TemplateInfo one, TemplateInfo other)
Parameters
Type | Name | Description |
---|---|---|
TemplateInfo | one | TemplateInfo. |
TemplateInfo | other | TemplateInfo. |
Returns
Type | Description |
---|---|
System.Boolean | True if equals. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current instance. |
Overrides
ToString()
Returns the object as a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String. |