コード例 #1
0
ファイル: DownloadSettings.cs プロジェクト: huchao007/bbsmax
        public DownloadSettings()
        {
            UseDownloadFilter = false;
            AllowReferrerHost = new TextRegulation(
@"localhost
127.0.0.1");
        }
コード例 #2
0
ファイル: DownloadSettings.cs プロジェクト: zhangbo27/bbsmax
        public DownloadSettings()
        {
            UseDownloadFilter = false;
            AllowReferrerHost = new TextRegulation(
                @"localhost
127.0.0.1");
        }
コード例 #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);
 }
コード例 #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);
		}