コード例 #1
0
ファイル: ServerSettings.cs プロジェクト: JBTech/Dot.Utility
        public ServerSettings()
        {
            this.CommunicationSetting = new CommunicationSetting();

            this.DataBaseSetting = new DataBaseSetting();

            MappingAssembly assembly = new MappingAssembly();
            assembly.AssemblyName = "Test";
            this.DataBaseSetting.MappingAssemblys.Add(assembly);

            this.WCFSetting = new WCFSetting();
            this.IOCSetting = new IOCSetting();
            this.KeyValueSettings = new KeyValueSettings();
            this.DomainSetting = new DomainSetting();

            //ConfigurationItem item = new ConfigurationItem();
            //item.Key = "Domain";
            //item.Value = "XXXx";
            //item.LifeCycle = "new";
            //this.IOCSetting.ConfigurationItems.Add(item);
        }
コード例 #2
0
        public ServerSettings()
        {
            this.CommunicationSetting = new CommunicationSetting();

            this.DataBaseSetting = new DataBaseSetting();

            MappingAssembly assembly = new MappingAssembly();

            assembly.AssemblyName = "Test";
            this.DataBaseSetting.MappingAssemblys.Add(assembly);

            this.WCFSetting       = new WCFSetting();
            this.IOCSetting       = new IOCSetting();
            this.KeyValueSettings = new KeyValueSettings();
            this.DomainSetting    = new DomainSetting();

            //ConfigurationItem item = new ConfigurationItem();
            //item.Key = "Domain";
            //item.Value = "XXXx";
            //item.LifeCycle = "new";
            //this.IOCSetting.ConfigurationItems.Add(item);
        }