private TLocalType InitMethodConstructorBaseDto <TLocalType>(MethodBaseType type) where TLocalType : MethodConstructorBaseModel, new() { var item = InitLocalTypeDto <TLocalType>(type); item.Generics = GetGenericsDictonary(type); item.ArgsTypes = type.ArgsTypes.ToList(); item.IsGeneric = type.IsGeneric; return(item); }
private Dictionary <string, List <string> > GetGenericsDictonary(MethodBaseType baseType) { return(GetGenericsDictonary(baseType.GenericsParamsConstraints)); }