コード例 #1
0
 protected bool TryMapToEnum <TSource, TEnum>(string value, out TEnum enumType) where TEnum : struct
 {
     return(BuilderFactory.TryMapToEnum <TSource, TEnum>(value, out enumType));
 }
コード例 #2
0
 protected TEnum MapToEnum <TSource, TEnum>(string value) where TEnum : struct
 {
     return(BuilderFactory.MapToEnum <TSource, TEnum>(value));
 }
コード例 #3
0
 public string MapComponentViewName(string viewName)
 {
     return(BuilderFactory.MapToEnum <ComponentViews, ComponentViews>(viewName).ToString());
 }