public OperativeSystemFormController(OperativeSystemForm instance) { this.frmOperativeSystem = instance; this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); this.srvOperativeSystemType = SamsaraAppContext.Resolve <IOperativeSystemTypeService>(); this.InitializeFormControls(); }
public CustomerInfrastructureServerComputersControlController( CustomerInfrastructureServerComputersControl instance) : base(instance) { this.controlCustomerInfrastructureServerComputers = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvCustomerInfrastructureServerComputer = SamsaraAppContext.Resolve <ICustomerInfrastructureServerComputerService>(); this.srvCustomerInfrastructure = SamsaraAppContext.Resolve <ICustomerInfrastructureService>(); this.srvComputerBrand = SamsaraAppContext.Resolve <IComputerBrandService>(); this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); } this.InitializeControlControls(); }
public ServerConsultingOldServerComputersControlController( ServerConsultingOldServerComputersControl instance) : base(instance) { this.ctlServerConsultingOldServerComputers = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvServerConsultingOldServerComputer = SamsaraAppContext.Resolve <IServerConsultingOldServerComputerService>(); this.srvServerComputerType = SamsaraAppContext.Resolve <IServerComputerTypeService>(); this.srvServerConsulting = SamsaraAppContext.Resolve <IServerConsultingService>(); this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); this.srvComputerBrand = SamsaraAppContext.Resolve <IComputerBrandService>(); this.srvRackType = SamsaraAppContext.Resolve <IRackTypeService>(); } this.InitializeControlControls(); }
public OperativeSystemController(IOperativeSystemService operativeSystemService) { _operativeSystemService = operativeSystemService; }
public OperativeSystemForm() { InitializeComponent(); this.ctrlOperativeSystemForm = new OperativeSystemFormController(this); this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); }