Class EnumerationExtentions
Inheritance
System.Object
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:System.Dynamic.ExpandoObject
Assembly:SilverDawn.SilverModel.UML.dll
Syntax
public static class EnumerationExtentions
Methods
AddEnumerationLiteral(IEnumeration, IEnumerationLiteral)
Add an Enumeration Literal to an Enumeration
Declaration
public static IEnumerationLiteral AddEnumerationLiteral(this IEnumeration iEnumeration, IEnumerationLiteral enumerationLiteral)
Parameters
Type | Name | Description |
---|---|---|
IEnumeration | iEnumeration | |
IEnumerationLiteral | enumerationLiteral |
Returns
Type | Description |
---|---|
IEnumerationLiteral |
CreateEnumerationLiteral(IEnumeration)
Adds a blank IEnumerationLiteral to the model
Declaration
public static IEnumerationLiteral CreateEnumerationLiteral(this IEnumeration enumeration)
Parameters
Type | Name | Description |
---|---|---|
IEnumeration | enumeration |
Returns
Type | Description |
---|---|
IEnumerationLiteral |
EnumerationLiterals(IEnumeration)
Get all the Enumeration Literals for an Enumeration
Declaration
public static IEnumerable<IEnumerationLiteral> EnumerationLiterals(this IEnumeration iEnumeration)
Parameters
Type | Name | Description |
---|---|---|
IEnumeration | iEnumeration |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEnumerationLiteral> |