Example #1
0
 /// <summary>
 /// Initialise the copy settings object with defined specialised processors
 /// </summary>
 /// <param name="specialisedProcessors">The specialised processor manager that will be used to handle copying of specific objects</param>
 public CopySettings(SpecialisedCopyManager specialisedProcessors)
 {
     ObjectCache           = new Dictionary <object, object>(new ReferenceEqualityComparer());
     SpecialisedProcessors = specialisedProcessors;
 }
Example #2
0
 /// <summary>
 /// Initialise the copy settings object with defined elements
 /// </summary>
 /// <param name="objectCache">The dictionary object that will be used to facilitate cached object re-use</param>
 /// <param name="specialisedProcessors">The specialised processor manager that will be used to handle copying of specific objects</param>
 public CopySettings(IDictionary <object, object> objectCache, SpecialisedCopyManager specialisedProcessors)
 {
     ObjectCache           = objectCache;
     SpecialisedProcessors = specialisedProcessors;
 }
Example #3
0
 /// <summary>
 /// Initialise the copy settings object with a specific object cache reference
 /// </summary>
 /// <param name="objectCache">The dictionary object that will be used to facilitate cached object re-use</param>
 public CopySettings(IDictionary <object, object> objectCache)
 {
     ObjectCache           = objectCache;
     SpecialisedProcessors = new SpecialisedCopyManager();
 }