Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UrlReservation" /> class.
 /// </summary>
 /// <param name="id">The id.</param>
 /// <param name="feature">The Feature.</param>
 /// <param name="url"></param>
 /// <param name="securityPrincipal"></param>
 /// <param name="rights"></param>
 public UrlReservation(Id id, Feature feature, string url, string securityPrincipal, UrlReservationRights rights)
 {
     Id      = id;
     Feature = feature;
     Url     = url;
     UrlAce  = new UrlAce(new Id(id), rights, securityPrincipal);
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UrlReservation" /> class.
 /// </summary>
 /// <param name="url"></param>
 /// <param name="securityPrincipal"></param>
 /// <param name="rights"></param>
 public UrlReservation(string url, string securityPrincipal, UrlReservationRights rights)
 {
     Id     = id;
     Url    = url;
     UrlAce = new UrlAce(new Id(id), rights, securityPrincipal);
 }