public static Nullable <TDestinationEnum> MapTo <TDestinationEnum>(this Enum sourceValue, string correlationName = null) where TDestinationEnum : struct { return(AttributeMapper <TDestinationEnum> .MapFrom(sourceValue, correlationName)); }
public static TDestinationEnum[] MapToMultiple <TDestinationEnum>(this Enum sourceValue, string correlationName = null) where TDestinationEnum : struct { return(AttributeMapper <TDestinationEnum> .MapFromToMultiple(sourceValue, correlationName)); }