/// <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); }
public ObjectConverter() { factories = DefaultObjectFactories.Create(); }