Пример #1
0
        public AccessLimitSettings()
        {
            //AccessIPLimitMode = LimitMode.Free;
            AccessIPLimitList = new IPMatchRegulation();

            AdminIPLimitMode = LimitMode.Free;
            AdminIPLimitList = new IPMatchRegulation();
        }
Пример #2
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);
 }
Пример #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);
		}