Пример #1
0
        public PublicUser(string userName, string password, string firstName, string lastName, Language preferedLanguage)
            : base(userName, password, firstName, lastName, preferedLanguage)
        {
            //if (string.IsNullOrEmpty(address))
            //    throw new ArgumentNullException("address");

            //_address = address;
            _userType = PublicUserType.NormalUser;
        }
Пример #2
0
 public virtual void SetPublicUserType(PublicUserType userType)
 {
     _userType = userType;
 }