ClassificationType Class
Represents the default implementation of a class that represents a classification type.
public class ClassificationType : IClassificationType, IKeyedObject
- Inheritance:
- object object
- Implements:
- IClassificationType IKeyedObject
Constructors
ClassificationType(string)
Initializes a new instance of the ClassificationType class.
public ClassificationType(string key)
| Parameter | Type | Description |
|---|---|---|
| key | string | The string key that uniquely identifies the classification type. |
ClassificationType(string, string)
Initializes a new instance of the ClassificationType class.
public ClassificationType(string key, string description)
| Parameter | Type | Description |
|---|---|---|
| key | string | The string key that uniquely identifies the classification type. |
| description | string | The description of the classification type. |
Properties
Description
Gets the description of the classification type, which is displayed in the user interface.
public string Description { get; }
Property Value
- string:
The description of the classification type, which is displayed in the user interface.
Key
Gets the string key that uniquely identifies the classification type.
public string Key { get; }
Property Value
- string:
The string key that uniquely identifies the classification type.
Methods
Equals(object)
Determines whether the specified object is equal to this instance.
public override bool Equals(object obj)
| Parameter | Type | Description |
|---|---|---|
| obj | object | The object to compare with this instance. |
Returns
Exceptions
| Type | Condition |
|---|---|
| NullReferenceException | The |
GetHashCode()
Returns a hash code for this object.
public override int GetHashCode()
Returns
- int:
An integer value that specifies a hash value for this object.
ToString()
Returns a String that represents the current Object.