示例#1
0
        public CustomerInfrastructureISPsControlController(
            CustomerInfrastructureISPsControl instance)
            : base(instance)
        {
            this.controlCustomerInfrastructureISPs = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureISP = SamsaraAppContext.Resolve <ICustomerInfrastructureISPService>();
                this.srvCustomerInfrastructure    = SamsaraAppContext.Resolve <ICustomerInfrastructureService>();
                this.srvISP = SamsaraAppContext.Resolve <IISPService>();

                this.InitializeControlControls();
            }
        }
        public CustomerInfrastructureSecuritySoftwaresControlController(
            CustomerInfrastructureSecuritySoftwaresControl instance) : base(instance)
        {
            this.controlCustomerInfrastructureSecuritySoftwares = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureSecuritySoftware = SamsaraAppContext.Resolve <ICustomerInfrastructureSecuritySoftwareService>();
                this.srvCustomerInfrastructure = SamsaraAppContext.Resolve <ICustomerInfrastructureService>();
                this.srvSecuritySoftwareBrand  = SamsaraAppContext.Resolve <ISecuritySoftwareBrandService>();
                this.srvSecuritySoftwareType   = SamsaraAppContext.Resolve <ISecuritySoftwareTypeService>();
            }

            this.InitializeControlControls();
        }
        public CustomerInfrastructureAdministationSoftwaresControlController(
            CustomerInfrastructureAdministationSoftwaresControl instance) : base(instance)
        {
            this.controlCustomerInfrastructureAdministationSoftwares = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureAdministationSoftware = SamsaraAppContext.Resolve <ICustomerInfrastructureAdministationSoftwareService>();
                this.srvCustomerInfrastructure = SamsaraAppContext.Resolve <ICustomerInfrastructureService>();
                this.srvDBMS = SamsaraAppContext.Resolve <IDBMSService>();
                this.srvCustomerInfrastructureServerComputer = SamsaraAppContext.Resolve <ICustomerInfrastructureServerComputerService>();
            }

            this.InitializeControlControls();
        }
示例#4
0
        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();
        }
示例#5
0
        public CustomerInfrastructureTelephoniesControlController(
            CustomerInfrastructureTelephoniesControl instance) : base(instance)
        {
            this.controlCustomerInfrastructureTelephonies = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureTelephony = SamsaraAppContext.Resolve <ICustomerInfrastructureTelephonyService>();
                this.srvCustomerInfrastructure          = SamsaraAppContext.Resolve <ICustomerInfrastructureService>();
                this.srvTelephonyProvider = SamsaraAppContext.Resolve <ITelephonyProviderService>();
                this.srvTelephonyLineType = SamsaraAppContext.Resolve <ITelephonyLineTypeService>();
            }

            this.InitializeControlControls();
        }