Class EnumClass
A base abstract class skeleton to build 'Java-style' enums.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:GoogleMaps.Utils
Assembly:GoogleMaps.dll
Syntax
public abstract class EnumClass
Constructors
EnumClass(String)
Declaration
protected EnumClass(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Properties
Value
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Object)
Determines whether the specified System.Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
ToString(CultureInfo)
Declaration
public string ToString(CultureInfo Culture)
Parameters
Type | Name | Description |
---|---|---|
System.Globalization.CultureInfo | Culture |
Returns
Type | Description |
---|---|
System.String |