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