/// <summary> /// Initializes a new instance of the <see cref="HistoryGenerator"/> class. /// </summary> /// <param name="thingFactory">The thing factory to use.</param> /// <param name="definitions">The definitions collection to use.</param> public HistoryGenerator(ThingFactory thingFactory, DefinitionCollection definitions) { this.definitions = definitions; this.thingFactory = thingFactory; }
/// <summary> /// Initializes a new instance of the <see cref="HistoryGenerator"/> class. /// </summary> /// <param name="definitions">The definitions collection to use.</param> public HistoryGenerator(DefinitionCollection definitions) { this.definitions = definitions; this.thingFactory = new ThingFactory(definitions); }