private void InitializeTransformationServices() { // Initialize NamedTypeFactory namedTypeFactory = new NamedTypeFactory(transformFile); transformationServiceContainer.AddService(namedTypeFactory.GetType(), namedTypeFactory); // Initialize TransformationLogger transformationServiceContainer.AddService(logger.GetType(), logger); }
private void InitializeTransformationServices() { this.namedTypeFactory = new NamedTypeFactory(this.transformFile); this.transformationServiceContainer.AddService(((object)this.namedTypeFactory).GetType(), (object)this.namedTypeFactory); this.transformationServiceContainer.AddService(this.logger.GetType(), (object)this.logger); }