示例#1
0
 public ApplicationUrl(ReadOnlyUrl url, string relativeUrl)
     : base(url, relativeUrl)
 {
     _state = new ApplicationUrlState(url);
 }
示例#2
0
 private ApplicationUrl(Application application, bool?secure, string url, ReadOnlyQueryString queryString)
     : base(application.GetAbsoluteUrl(url), queryString)
 {
     _state = new ApplicationUrlState(application, url);
     SetSecure(secure);
 }
示例#3
0
 public ApplicationUrl(HttpRequest request)
     : base(request.Url)
 {
     _state = new ApplicationUrlState();
 }
示例#4
0
 protected override void Copy(ReadOnlyUrl url, ReadOnlyQueryString queryString)
 {
     base.Copy(url, queryString);
     _state = ApplicationUrlState.Copy(url);
 }
示例#5
0
 public ReadOnlyApplicationUrl(bool?secure, ReadOnlyUrl url, string relativeUrl, ReadOnlyQueryString queryString)
     : base(url, relativeUrl, queryString)
 {
     _state = new ApplicationUrlState(url);
     SetSecure(secure);
 }
示例#6
0
 public ReadOnlyApplicationUrl(Application application, bool?secure, string url)
     : base(application.GetAbsoluteUrl(url))
 {
     _state = new ApplicationUrlState(application, url);
     SetSecure(secure);
 }