Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UriContainer"/> class.
 /// </summary>
 /// <param name="uri"></param>
 /// <param name="prefix">Default <see cref="ExchangerConstants.Prefix"/></param>
 /// <param name="contentType">Default <see cref="ExchangerConstants.ContentType"/></param>
 /// <param name="format">Default <see cref="ExchangerConstants.Format"/>.</param>
 public UriContainer(Uri uri, string prefix, string contentType, string format)
 {
     Format      = UriUtilities.ConcatUriParts(prefix, format);
     ContentType = contentType;
     Uri         = uri;
 }