public Definition( DefinitionParametersDTO parametersDTO, DefinitionDependenciesDTO dependenciesDTO ) { this.InitializeUsingParameters( parametersDTO ); this.InitializeUsingDependencies( dependenciesDTO ); this.InitializeOsConfigs( parametersDTO.OsConfigurationInfos ); }
private void InitializeUsingDependencies( DefinitionDependenciesDTO dependenciesDTO ) { this._osConfigurationFactory = dependenciesDTO.OsConfigurationFactory; this._osFilter = dependenciesDTO.OsFilter; }
private void InitializeTarget() { var parametersDTO = new DefinitionParametersDTO { ApplicationInfo = this._appInfo, OsConfigurationInfos = this._osConfigInfos, PathVariablesDTO = null }; var dependenciesDTO = new DefinitionDependenciesDTO { OsConfigurationFactory = this._osConfigFactoryMock, OsFilter = this._osFilterMock }; this._target = new Definition( parametersDTO, dependenciesDTO ); }