AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ArgumentHelper..::..AssertEnumMember Method

Overload List


  Name Description
Public method Static member AssertEnumMember<(Of <<'(TEnum>)>>)(TEnum)
Ensures that enumValue is a valid member of the TEnum enumeration. If it is not, an ArgumentException is thrown.
Public method Static member AssertEnumMember<(Of <<'(TEnum>)>>)(TEnum, array<TEnum>[]()[][])
Ensures that enumValue is included in the values specified by validValues. If it is not, an ArgumentException is thrown.