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