EnumExtension Class

Extension method for enums.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static class EnumExtension
Inheritance
Object    EnumExtension

Methods

AnyReference Indicates if the value of the enumerated has any attribute of ReferenceValueAttribute.
AnyReferenceName Indicates if the value of the enumerated has any attribute of ReferenceNameAttribute.
ToPropertyDocumentGets the value of the enumerated PropertyDocumentType from the enumerated PortfolioMovementOrigin
ToReference Gets the string value from attribute ReferenceValueAttribute.
ToReferenceName Gets the string value from attribute ReferenceNameAttribute.
Translate Translate enum key.

See Also