Initialize() публичный Метод

public Initialize ( XmlElement config, ILogger log ) : void
config System.Xml.XmlElement
log ILogger
Результат void
 public virtual void Context()
 {
     repo = new MockRepository();
     loggerStub = repo.Stub<ILogger>();
     CreateMockEventManager();
     qcReaderUpdater = new QualityCenterReaderUpdater(null);
     qcReaderUpdater.Initialize(GetConfigXml(), loggerStub);
 }
        public void Initialize(XmlElement config, IEventManager eventManager, IProfile profile) {
            ConfigurationReader.ProcessMappingSettings(configuration.PriorityMappings, config["PriorityMappings"], "VersionOnePriority", "QualityCenterPriority");
            
            this.eventManager = eventManager;
            logger = new Logger(eventManager);

            ParseConfiguration(config);

            qcServer = new QualityCenterReaderUpdater(configuration.PriorityMappings);
            qcWriter = new QualityCenterUpdaterService(qcServer);
            qcReader = new QualityCenterReaderService(qcServer);

            qcServer.Initialize(config, new Logger(eventManager));
            qcWriter.Initialize(config, eventManager, profile);
            qcReader.Initialize(config, eventManager, profile);
        }