Queue.Server.Settings.ServerSettings.ServerSettings C# (CSharp) Method

ServerSettings() public method

public ServerSettings ( ) : Junte.Data.NHibernate
return Junte.Data.NHibernate
        public ServerSettings()
        {
            Database = new DatabaseSettings()
            {
                Server = "localhost",
                Name = "queue",
                Type = DatabaseType.MsSql,
                Integrated = true
            };

            Services = new ServicesConfig()
            {
                HttpService = new HttpServiceConfig()
                {
                    Enabled = false,
                    Host = "localhost",
                    Port = 4506
                },
                TcpService = new TcpServiceConfig()
                {
                    Enabled = true,
                    Host = "localhost",
                    Port = 4505
                }
            };

            Licence = new ProductLicenceConfig()
            {
                LicenseType = ProductLicenceType.NonCommercial,
                SerialKey = DefaultSerialKey,
                RegisterKey = DefaultRegisterKey
            };
            Language = CultureInfo.CurrentCulture.GetLanguage();
        }