コード例 #1
0
 public IOsConfiguration Get( IApplicationInfo appInfo, 
                              IOsConfigurationInfo osConfigInfo, 
                              PathVariablesDTO pathVariables )
 {
     var parameters = new OsConfigurationParametersDTO
     {
         ApplicationInfo = appInfo,
         OsConfigurationInfo = osConfigInfo,
         PathVariablesDTO = pathVariables
     };
     return this.Get( parameters );
 }
コード例 #2
0
 public Model( IOsConfigurationInfo osConfig )
 {
     this._osConfig = osConfig;
     this.InitializeOperatingSystemModel();
 }
コード例 #3
0
 public bool IsSuitableForOs( IOsConfigurationInfo osConfig )
 {
     var runningOsId = this._osRecognizer.GetOsId();
     return runningOsId == osConfig.OsId;
 }