/// <summary>
 /// Initializes a new instance of the <see cref="PermissionAuthorizationRequirement"/> class.
 /// 权限验证..
 /// </summary>
 /// <param name="strurl">url.</param>
 /// <param name="buttonType">button type.</param>
 /// <param name="isPage">is page or not.</param>
 public PermissionAuthorizationRequirement(string strurl, byte buttonType, bool isPage)
 {
     this.UrlAndButtonType = new UrlAndButtonType()
     {
         Url        = strurl,
         ButtonType = buttonType,
         IsPage     = isPage,
     };
 }
 public PermissionAuthorizationRequirement(string url, ButtonType buttonType, bool isPage)
 {
     UrlAndButtonType = new UrlAndButtonType()
     {
         Url        = url,
         ButtonType = (byte)buttonType,
         IsPage     = isPage
     };
 }