ParameterTypeParseContainsRole Method

Parses an IHasRole from a non-null object.

Definition

Namespace: MobileTrack.Common.Enums
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static IHasRole ParseContainsRole(
	Object value
)

Parameters

value  Object
Object to parse

Return Value

IHasRole
Parsed IHasRole

Exceptions

ArgumentNullExceptionThrown if value is null
ArgumentException Thrown if value is not a IHasRole

See Also