Class Symbol
Defines symbolic values from a constrained domain.
Inheritance
System.Object
Symbol
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp.Types
Assembly: Amqp.Net.dll
Syntax
public class Symbol
Constructors
Symbol(String)
Initializes a symbol value.
Declaration
public Symbol(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string value./ |
Methods
Equals(Object)
Compares equality of an object with the current symbol.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code of the symbol object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Returns a string that represents the current map object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Operators
Implicit(Symbol to String)
Converts a symbol to a string value implicitly.
Declaration
public static implicit operator string (Symbol value)
Parameters
Type | Name | Description |
---|---|---|
Symbol | value | the symbol value. |
Returns
Type | Description |
---|---|
System.String |
Implicit(String to Symbol)
Converts a string value to a symbol implicitly.
Declaration
public static implicit operator Symbol(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string value. |
Returns
Type | Description |
---|---|
Symbol |