Exemplo n.º 1
0
        private ValueConverterProvider()
        {
            nameDictionary = new Dictionary <string, IValueConverter>();
            typeDictionary = new MultiKeyDictionary <Type, Type, IValueConverter>();

            // create default converter
            defaultConverter = new DefaultConverter();
        }
Exemplo n.º 2
0
 private TypeCache()
 {
     propertyAccessorDictionary         = new MultiKeyDictionary <Type, string, PropertyAccessor>();
     implicitOperatorAccessorDictionary = new Dictionary <MemberInfo, ImplicitOperatorAccessor>();
     defaultValueDictionary             = new Dictionary <Type, object>();
 }