Ejemplo n.º 1
0
        public DownloadSettings()
        {
            UseDownloadFilter = false;
            AllowReferrerHost = new TextRegulation(
@"localhost
127.0.0.1");
        }
Ejemplo n.º 2
0
        public DownloadSettings()
        {
            UseDownloadFilter = false;
            AllowReferrerHost = new TextRegulation(
                @"localhost
127.0.0.1");
        }
Ejemplo n.º 3
0
 public RegisterLimitSettings()
 {
     UserNameLengthScope           = new Int32Scope(3, 12);
     AllowUsernames                = new UsernameCharRegulation("Chinese,English,Number,Blank,OtherChar");
     TimeSpanForContinuousRegister = 0;
     RegisterIPLimitMode           = LimitMode.Free;
     RegisterIPLimitList           = new IPMatchRegulation();
     UserNameForbiddenWords        = new UsernameKeywordRegulation();
     RegisterEmailLimitMode        = LimitMode.Free;
     RegisterEmailLimitList        = new TextRegulation(string.Empty);
 }
Ejemplo n.º 4
0
		public RegisterLimitSettings()
		{
			UserNameLengthScope = new Int32Scope(3,12);
            AllowUsernames = new UsernameCharRegulation("Chinese,English,Number,Blank,OtherChar");
			TimeSpanForContinuousRegister = 0;
			RegisterIPLimitMode = LimitMode.Free;
            RegisterIPLimitList = new IPMatchRegulation();
            UserNameForbiddenWords = new UsernameKeywordRegulation();
            RegisterEmailLimitMode = LimitMode.Free;
            RegisterEmailLimitList = new TextRegulation(string.Empty);
		}