public UnrecognizedInstalledInstallation(
     GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic,
     ExistingInstalledInstallationLogic existingInstalledInstallationLogic)
 {
     this.generalInstallationLogic           = generalInstallationLogic;
     this.existingInstallationLogic          = existingInstallationLogic;
     this.existingInstalledInstallationLogic = existingInstalledInstallationLogic;
 }
 public UnrecognizedInstalledInstallation(
     GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic,
     ExistingInstalledInstallationLogic existingInstalledInstallationLogic)
 {
     this.generalInstallationLogic = generalInstallationLogic;
     this.existingInstallationLogic = existingInstallationLogic;
     this.existingInstalledInstallationLogic = existingInstalledInstallationLogic;
 }
 public RecognizedDevelopmentInstallation(
     GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic, KnownSystemLogic knownSystemLogic,
     RecognizedInstallationLogic recognizedInstallationLogic)
 {
     this.generalInstallationLogic    = generalInstallationLogic;
     this.existingInstallationLogic   = existingInstallationLogic;
     this.knownSystemLogic            = knownSystemLogic;
     this.recognizedInstallationLogic = recognizedInstallationLogic;
     developmentInstallationLogic     = new DevelopmentInstallationLogic(generalInstallationLogic, existingInstallationLogic, recognizedInstallationLogic);
 }
 public RecognizedDevelopmentInstallation(
     GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic, KnownSystemLogic knownSystemLogic,
     RecognizedInstallationLogic recognizedInstallationLogic)
 {
     this.generalInstallationLogic = generalInstallationLogic;
     this.existingInstallationLogic = existingInstallationLogic;
     this.knownSystemLogic = knownSystemLogic;
     this.recognizedInstallationLogic = recognizedInstallationLogic;
     developmentInstallationLogic = new DevelopmentInstallationLogic( generalInstallationLogic, existingInstallationLogic, recognizedInstallationLogic );
 }
 public RecognizedInstalledInstallation( GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic,
     KnownSystemLogic knownSystemLogic, RecognizedInstallationLogic recognizedInstallationLogic)
 {
     this.generalInstallationLogic = generalInstallationLogic;
     this.existingInstallationLogic = existingInstallationLogic;
     this.knownSystemLogic = knownSystemLogic;
     knownInstallationLogic =
         new KnownInstallationLogic( SystemListStatics.RsisSystemList.GetInstallationById( existingInstallationLogic.RuntimeConfiguration.RsisInstallationId.Value ) );
     this.recognizedInstallationLogic = recognizedInstallationLogic;
 }
 public RecognizedInstalledInstallation(GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic,
                                        KnownSystemLogic knownSystemLogic, RecognizedInstallationLogic recognizedInstallationLogic)
 {
     this.generalInstallationLogic  = generalInstallationLogic;
     this.existingInstallationLogic = existingInstallationLogic;
     this.knownSystemLogic          = knownSystemLogic;
     knownInstallationLogic         =
         new KnownInstallationLogic(SystemListStatics.RsisSystemList.GetInstallationById(existingInstallationLogic.RuntimeConfiguration.RsisInstallationId.Value));
     this.recognizedInstallationLogic = recognizedInstallationLogic;
 }
Beispiel #7
0
        private static DevelopmentInstallation getInstallation(string path)
        {
            var generalInstallationLogic  = new GeneralInstallationLogic(path);
            var existingInstallationLogic = new ExistingInstallationLogic(generalInstallationLogic, new InstallationConfiguration(path, true));

            if (existingInstallationLogic.RuntimeConfiguration.RsisInstallationId.HasValue)
            {
                ConfigurationLogic.Init();
                SystemListStatics.RefreshSystemList();
                var knownSystemLogic = new KnownSystemLogic(
                    SystemListStatics.RsisSystemList.Systems.Single(
                        i => i.DevelopmentInstallationId == existingInstallationLogic.RuntimeConfiguration.RsisInstallationId.Value));
                var recognizedInstallationLogic = new RecognizedInstallationLogic(existingInstallationLogic, knownSystemLogic);
                return(new RecognizedDevelopmentInstallation(generalInstallationLogic, existingInstallationLogic, knownSystemLogic, recognizedInstallationLogic));
            }

            return(new UnrecognizedDevelopmentInstallation(generalInstallationLogic, existingInstallationLogic));
        }
 public UnrecognizedDevelopmentInstallation( GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic )
 {
     this.generalInstallationLogic = generalInstallationLogic;
     this.existingInstallationLogic = existingInstallationLogic;
     developmentInstallationLogic = new DevelopmentInstallationLogic( generalInstallationLogic, existingInstallationLogic, null );
 }
 public UnrecognizedDevelopmentInstallation(GeneralInstallationLogic generalInstallationLogic, ExistingInstallationLogic existingInstallationLogic)
 {
     this.generalInstallationLogic  = generalInstallationLogic;
     this.existingInstallationLogic = existingInstallationLogic;
     developmentInstallationLogic   = new DevelopmentInstallationLogic(generalInstallationLogic, existingInstallationLogic, null);
 }