コード例 #1
0
 public Definition( DefinitionParametersDTO parametersDTO, 
                    DefinitionDependenciesDTO dependenciesDTO )
 {
     this.InitializeUsingParameters( parametersDTO );
     this.InitializeUsingDependencies( dependenciesDTO );
     this.InitializeOsConfigs( parametersDTO.OsConfigurationInfos );
 }
コード例 #2
0
 private void InitializeUsingDependencies( DefinitionDependenciesDTO dependenciesDTO )
 {
     this._osConfigurationFactory = dependenciesDTO.OsConfigurationFactory;
     this._osFilter = dependenciesDTO.OsFilter;
 }
コード例 #3
0
 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 );
 }