Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModularMemoryModelFactoriesBuilder"/> class.
 /// </summary>
 /// <param name="factories">Internal properties of this instaince will be filled by the same
 /// propertis from given factory instance.</param>
 public ModularMemoryModelFactoriesBuilder(ModularMemoryModelFactories factories)
 {
     SnapshotStructureFactory      = factories.SnapshotStructureFactory;
     StructuralContainersFactories = factories.StructuralContainersFactories;
     SnapshotDataFactory           = factories.SnapshotDataFactory;
     MemoryAlgorithmFactories      = factories.MemoryAlgorithmFactories;
     InfoAlgorithmFactories        = factories.InfoAlgorithmFactories;
     Benchmark = factories.Benchmark;
     Logger    = factories.Logger;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModularMemoryModelSnapshotFactory"/> class.
 /// </summary>
 /// <param name="factories">The factories which will be passed to the new object.</param>
 public ModularMemoryModelSnapshotFactory(ModularMemoryModelFactories factories)
 {
     this.factories = factories;
 }