public static string Name(Setting setting, System.Type type_1, System.Type type_2, System.Enum @enum) { string name = @enum.Name(); if (name == null) { return(null); } TypeMap typeMap; if (!setting.TryGetValue(ActiveSetting.Name.ParameterMap, out typeMap) || typeMap == null) { return(null); } return(typeMap.GetName(type_1, type_2, @enum)); }