Class Enumeration<T>
Namespace: Xrpl.BinaryCodec.Enums
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Enumeration<T> : IEnumerable<T> where T : EnumItem
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
| Improve this Doc View SourceItem[Int32]
Declaration
public T this[int name] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | name |
Property Value
| Type | Description |
|---|---|
| T |
Item[String]
Declaration
public T this[string name] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Property Value
| Type | Description |
|---|---|
| T |
Methods
| Improve this Doc View SourceAddEnum(T)
Declaration
public virtual T AddEnum(T T)
Parameters
| Type | Name | Description |
|---|---|---|
| T | T |
Returns
| Type | Description |
|---|---|
| T |
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<T> |
Has(String)
Declaration
public bool Has(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key |
Returns
| Type | Description |
|---|---|
| System.Boolean |