/dports/devel/log4net/log4net-1.2.10/src/Util/TypeConverters/ |
H A D | ConverterRegistry.cs | 117 public static void AddConverter(Type destinationType, Type converterType) in AddConverter() argument 119 AddConverter(destinationType, CreateConverterInstance(converterType)); in AddConverter() 221 …Type converterType = SystemInfo.GetTypeFromString(destinationType, tcAttr.ConverterTypeName, false… in GetConverterFromAttribute() 222 return CreateConverterInstance(converterType); in GetConverterFromAttribute() 245 private static object CreateConverterInstance(Type converterType) in CreateConverterInstance() argument 247 if (converterType == null) in CreateConverterInstance() 253 …if (typeof(IConvertFrom).IsAssignableFrom(converterType) || typeof(IConvertTo).IsAssignableFrom(co… in CreateConverterInstance() 258 return Activator.CreateInstance(converterType); in CreateConverterInstance() 262 …LogLog.Error("ConverterRegistry: Cannot CreateConverterInstance of type ["+converterType.FullName+… in CreateConverterInstance() 267 …LogLog.Error("ConverterRegistry: Cannot CreateConverterInstance of type ["+converterType.FullName+… in CreateConverterInstance()
|
H A D | TypeConverterAttribute.cs | 90 public TypeConverterAttribute(Type converterType) in TypeConverterAttribute() argument 92 m_typeName = log4net.Util.SystemInfo.AssemblyQualifiedName(converterType); in TypeConverterAttribute()
|
/dports/devel/newtonsoft-json/Newtonsoft.Json-9.0.1/Src/Newtonsoft.Json/ |
H A D | JsonConverterAttribute.cs | 59 public JsonConverterAttribute(Type converterType) in JsonConverterAttribute() argument 61 if (converterType == null) in JsonConverterAttribute() 63 throw new ArgumentNullException(nameof(converterType)); in JsonConverterAttribute() 66 _converterType = converterType; in JsonConverterAttribute() 74 public JsonConverterAttribute(Type converterType, params object[] converterParameters) in JsonConverterAttribute() argument 75 : this(converterType) in JsonConverterAttribute()
|
/dports/lang/mono/mono-5.10.1.57/external/Newtonsoft.Json/Src/Newtonsoft.Json/ |
H A D | JsonConverterAttribute.cs | 28 public JsonConverterAttribute(Type converterType) in JsonConverterAttribute() argument 30 if (converterType == null) in JsonConverterAttribute() 33 _converterType = converterType; in JsonConverterAttribute() 36 internal static JsonConverter CreateJsonConverterInstance(Type converterType) in CreateJsonConverterInstance() argument 40 return (JsonConverter)Activator.CreateInstance(converterType); in CreateJsonConverterInstance() 44 …ow new Exception("Error creating {0}".FormatWith(CultureInfo.InvariantCulture, converterType), ex); in CreateJsonConverterInstance()
|
/dports/irc/smuxi/smuxi-1.1/lib/Newtonsoft.Json/Src/Newtonsoft.Json/ |
H A D | JsonConverterAttribute.cs | 53 public JsonConverterAttribute(Type converterType) in JsonConverterAttribute() argument 55 if (converterType == null) in JsonConverterAttribute() 58 _converterType = converterType; in JsonConverterAttribute() 61 internal static JsonConverter CreateJsonConverterInstance(Type converterType) in CreateJsonConverterInstance() argument 65 return (JsonConverter)Activator.CreateInstance(converterType); in CreateJsonConverterInstance() 69 …ew JsonException("Error creating {0}".FormatWith(CultureInfo.InvariantCulture, converterType), ex); in CreateJsonConverterInstance()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/System.Xaml.Schema/ |
H A D | XamlValueConverter.cs | 32 public XamlValueConverter (Type converterType, XamlType targetType) in XamlValueConverter() argument 33 : this (converterType, targetType, null) in XamlValueConverter() 37 public XamlValueConverter (Type converterType, XamlType targetType, string name) in XamlValueConverter() argument 39 if (converterType == null && targetType == null && name == null) in XamlValueConverter() 41 ConverterType = converterType; in XamlValueConverter()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/src/System/ComponentModel/ |
H A D | ReflectTypeDescriptionProvider.ReflectedTypeData.cs | 201 Type converterType = GetTypeFromName(instanceAttr.ConverterTypeName); in GetConverter() 202 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) in GetConverter() 204 … return (TypeConverter)ReflectTypeDescriptionProvider.CreateInstance(converterType, _type); in GetConverter() 220 Type converterType = GetTypeFromName(typeAttr.ConverterTypeName); in GetConverter() 221 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) in GetConverter() 223 … _converter = (TypeConverter)ReflectTypeDescriptionProvider.CreateInstance(converterType, _type); in GetConverter()
|
H A D | PropertyDescriptor.cs | 83 Type converterType = GetTypeFromName(attr.ConverterTypeName); 84 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) 86 _converter = (TypeConverter)CreateInstance(converterType);
|
/dports/audio/muse-sequencer/muse-4.0.0/src/audio_convert/src_resampler/ |
H A D | src_converter.h | 61 int converterType = defaultOfflineOptions._converterType) 63 initOptions(useSettings, mode, converterType); 69 int converterType) in initOptions() 73 _converterType = converterType; in initOptions()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/text/transcoder/ |
H A D | FontTranscoder.cpp | 63 FontTranscoder::ConverterType FontTranscoder::converterType(const FontDescription& fontDescription,… in converterType() function in WebCore::FontTranscoder 82 switch (converterType(fontDescription, encoding)) { in convert() 96 ConverterType type = converterType(fontDescription, encoding); in needsTranscoding()
|
H A D | FontTranscoder.h | 57 ConverterType converterType(const FontDescription&, const TextEncoding*) const;
|
/dports/lang/mono/mono-5.10.1.57/external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ |
H A D | JsonTypeReflector.cs | 193 Type converterType = GetJsonConverterType(attributeProvider); in GetJsonConverter() 195 if (converterType != null) in GetJsonConverter() 197 … JsonConverter memberConverter = JsonConverterAttribute.CreateJsonConverterInstance(converterType); in GetJsonConverter() 215 Type converterType = GetTypeConverterType(type); in GetTypeConverter() 217 if (converterType != null) in GetTypeConverter() 218 return (TypeConverter)ReflectionUtils.CreateInstance(converterType); in GetTypeConverter()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/componentmodel/ |
H A D | DebugExtendedPropertyDescriptor.cs | 112 Type converterType = GetTypeFromName(attr.ConverterTypeName); 113 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) { 114 converter = (TypeConverter)CreateInstance(converterType);
|
H A D | PropertyDescriptor.cs | 93 Type converterType = GetTypeFromName(attr.ConverterTypeName); 94 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) 96 converter = (TypeConverter)CreateInstance(converterType);
|
H A D | ReflectTypeDescriptionProvider.cs | 1635 Type converterType = GetTypeFromName(instanceAttr.ConverterTypeName); in GetConverter() 1636 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) in GetConverter() 1642 … return (TypeConverter)ReflectTypeDescriptionProvider.CreateInstance(converterType, _type); in GetConverter() 1665 Type converterType = GetTypeFromName(typeAttr.ConverterTypeName); in GetConverter() 1666 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) in GetConverter() 1672 … _converter = (TypeConverter)ReflectTypeDescriptionProvider.CreateInstance(converterType, _type); in GetConverter()
|
H A D | DebugReflectPropertyDescriptor.cs | 266 Type converterType = GetTypeFromName(attr.ConverterTypeName); 267 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) { 268 converter = (TypeConverter)CreateInstance(converterType);
|
H A D | DebugTypeDescriptor.cs | 1363 Type converterType = GetTypeFromName(attr.ConverterTypeName); in GetConverter() 1364 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) { in GetConverter() 1365 converter = (TypeConverter)CreateInstance(converterType); in GetConverter() 1403 Type converterType = GetTypeFromName(attr.ConverterTypeName); in GetConverter() 1404 … if (converterType != null && typeof(TypeConverter).IsAssignableFrom(converterType)) { in GetConverter() 1405 obj = (TypeConverter)CreateInstance(converterType); in GetConverter()
|
/dports/irc/smuxi/smuxi-1.1/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ |
H A D | JsonTypeReflector.cs | 214 Type converterType = GetJsonConverterType(attributeProvider); in GetJsonConverter() 216 if (converterType != null) in GetJsonConverter() 218 … JsonConverter memberConverter = JsonConverterAttribute.CreateJsonConverterInstance(converterType); in GetJsonConverter() 233 Type converterType = GetTypeConverterType(type); in GetTypeConverter() 235 if (converterType != null) in GetTypeConverter() 236 return (TypeConverter)ReflectionUtils.CreateInstance(converterType); in GetTypeConverter()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/databinding/ |
H A D | UpdateStrategyTest.java | 309 Class<?> converterType) { in assertFromNumberToNumberConverter() argument 313 assertDefaultConverter(primitiveType, toType, converterType); in assertFromNumberToNumberConverter() 320 assertDefaultConverter(boxedType, toType, converterType); in assertFromNumberToNumberConverter() 327 private void assertDefaultConverter(Class<?> fromType, Class<?> toType, Class<?> converterType) { in assertDefaultConverter() argument 338 assertTrue("converter should be instanceof " + converterType in assertDefaultConverter() 339 + " but was instanceof " + converter.getClass(), converterType in assertDefaultConverter()
|
/dports/devel/log4net/log4net-1.2.10/src/Util/ |
H A D | PatternParser.cs | 326 Type converterType = (Type)m_patternConverters[converterName]; in ProcessConverter() 327 if (converterType == null) in ProcessConverter() 337 pc = (PatternConverter)Activator.CreateInstance(converterType); in ProcessConverter() 341 …LogLog.Error("PatternParser: Failed to create instance of Type ["+converterType.FullName+"] using … in ProcessConverter()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Configuration.ConfigurationManager/tests/System/Configuration/ |
H A D | ConfigurationPropertyTests.cs | 171 public void FindConverterForBuiltInTypes(Type type, Type converterType) in FindConverterForBuiltInTypes() argument 174 Assert.IsType(converterType, property.Converter); in FindConverterForBuiltInTypes()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Web/System/ServiceModel/Dispatcher/ |
H A D | QueryStringConverter.cs | 270 Type converterType = Type.GetType(converterAttr.ConverterTypeName, false, true); in GetStringConverter() 271 if (converterType != null) in GetStringConverter() 277 converter = (TypeConverter) Activator.CreateInstance(converterType); in GetStringConverter()
|
/dports/devel/newtonsoft-json/Newtonsoft.Json-9.0.1/Src/Newtonsoft.Json/Serialization/ |
H A D | JsonTypeReflector.cs | 181 …public static JsonConverter CreateJsonConverterInstance(Type converterType, object[] converterArgs) in CreateJsonConverterInstance() argument 183 Func<object[], object> converterCreator = CreatorCache.Get(converterType); in CreateJsonConverterInstance()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/System.Xaml/ |
H A D | XamlSchemaContext.cs | 150 …alueConverter<TConverterBase> GetValueConverter<TConverterBase> (Type converterType, XamlType targ… 153 return new XamlValueConverter<TConverterBase> (converterType, targetType);
|
/dports/www/grails/grails-1.3.6/src/java/org/codehaus/groovy/grails/web/converters/configuration/ |
H A D | ConvertersConfigurationInitializer.java | 171 private boolean includeDomainVersionProperty(String converterType) { in includeDomainVersionProperty() argument 172 …eturn GrailsConfig.get(String.format("grails.converters.%s.domain.include.version", converterType), in includeDomainVersionProperty()
|