Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 public void ResetFactories()
 {
     factories = DefaultObjectFactories.Create();
     lock (converterCache)
     {
         converterCache.Clear();
     }
 }
Esempio n. 2
0
 public TestObjectConverter(Func <IConverterFactory[], IEnumerable <IConverterFactory> > func)
 {
     converterFactories = func(DefaultObjectFactories.Create()).Select(x => new TestConverterFactory(x)).ToArray();
     objectConverter    = new ObjectConverter(converterFactories);
 }
Esempio n. 3
0
 public ObjectConverter()
 {
     factories = DefaultObjectFactories.Create();
 }