/// <summary> /// Initializes a new instance of the <see cref="PropfindParameters"/> class. /// </summary> public PropfindParameters() { RequestType = PropfindRequestType.AllProperties; CustomProperties = new List <XName>(); Namespaces = new List <NamespaceAttr>(); Headers = new HttpHeaderCollection(); }
/// <summary> /// Initializes a new instance of the <see cref="ProppatchParameters"/> class. /// </summary> public ProppatchParameters() { PropertiesToSet = new Dictionary <XName, string>(); PropertiesToRemove = new List <XName>(); Namespaces = new List <NamespaceAttr>(); Headers = new HttpHeaderCollection(); }
public HeaderBuilder AddWithOverwrite(HttpHeaderCollection headers) { var headers1 = headers.ToArray(); foreach (var header in headers1) { _headers.RemoveAll(x => x.Name.Equals(header.Name, StringComparison.CurrentCultureIgnoreCase)); } _headers.AddRange(headers1); return(this); }
public WebDavDispatcher() { Headers = new HttpHeaderCollection(); }
/// <summary> /// Initializes a new instance of the <see cref="LockParameters"/> class. /// </summary> public LockParameters() { Headers = new HttpHeaderCollection(); }