Beispiel #1
0
 public void SetDocument(ISelect selectCMD)
 {
     if (this.userInfo == null)
     {
         throw new NotLoginException();
     }
     if (!(new UserValidator(this.userInfo).CheckAuth(selectCMD.RequiredAuth)))
     {
         throw new NotAuthException();
     }
     selectCMD.GetDocument();
 }