Class EnumWrapper
Represents an enum.
Implements
IEquatable<EnumWrapper>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra.DataStax.Graph
Assembly: Cassandra.dll
Syntax
public abstract class EnumWrapper : IEquatable<EnumWrapper>
Constructors
EnumWrapper(string, string)
Initializes a new instance of the EnumWrapper class.
Declaration
protected EnumWrapper(string enumName, string enumValue)
Parameters
Type | Name | Description |
---|---|---|
string | enumName | The name of the enum. |
string | enumValue | The value of the enum. |
Properties
EnumName
Gets the name of the enum.
Declaration
public string EnumName { get; }
Property Value
Type | Description |
---|---|
string |
EnumValue
Gets the value of the enum.
Declaration
public string EnumValue { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Equals(EnumWrapper)
Declaration
public bool Equals(EnumWrapper other)
Parameters
Type | Name | Description |
---|---|---|
EnumWrapper | other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
object.Equals(object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
object.GetHashCode()
Implements
System.IEquatable<T>