Show / Hide Table of Contents

Class Abbreviations

Provides a comparable and enumerable class with two names.

Inheritance
object
Abbreviations
TargetApp
Implements
IComparable
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: HoloMetrix.Net.Remote
Assembly: HoloMetrix.Net.Remote.dll
Syntax
public abstract class Abbreviations : IComparable

Constructors

| Improve this Doc View Source

Abbreviations(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 Source

Name

Actual name of an object.

Declaration
public string Name { get; set; }
Property Value
Type Description
string
| Improve this Doc View Source

ShortName

Abbreviated name of an object.

Declaration
public string ShortName { get; set; }
Property Value
Type Description
string

Methods

| Improve this Doc View Source

CompareTo(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:
Value

Meaning

Less than zero

This instance precedes obj in the sort order.

Zero

This instance occurs in the same position in the sort order as obj.

Greater than zero

This instance follows obj in the sort order.

Exceptions
Type Condition
ArgumentException

obj is not the same type as this instance.

| Improve this Doc View Source

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
object.Equals(object)
| Improve this Doc View Source

GetAll<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

Implements

IComparable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX