Class Abbreviations
Provides a comparable and enumerable class with two names.
Implements
Inherited Members
Namespace: HoloMetrix.Net.Remote
Assembly: HoloMetrix.Net.Remote.dll
Syntax
public abstract class Abbreviations : IComparable
Constructors
| Improve this Doc View SourceAbbreviations(string, string)
Initializes a new instance of the Abbreviations class.
Declaration
protected Abbreviations(string name, string shortName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | shortName |
Properties
| Improve this Doc View SourceName
Actual name of an object.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ShortName
Abbreviated name of an object.
Declaration
public string ShortName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Improve this Doc View SourceCompareTo(object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Declaration
public int CompareTo(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | An object to compare with this instance. |
Returns
| Type | Description |
|---|---|
| int | A value that indicates the relative order of the objects being compared. The return value has these meanings: Meaning Less than zero This instance precedes Zero This instance occurs in the same position in the sort order as Greater than zero This instance follows |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Equals(object)
Determines whether this instance and another specified object are of the same Type and have the same values.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
| Improve this Doc View SourceGetAll<T>()
Searches for the values of fields for the current Type.
Declaration
public static IEnumerable<T> GetAll<T>() where T : Abbreviations
Returns
| Type | Description |
|---|---|
| IEnumerable<T> |
Type Parameters
| Name | Description |
|---|---|
| T |