Esempio n. 1
0
 /// <summary>
 /// Sets the parser of PROPPATCH responses.
 /// </summary>
 /// <param name="responseParser">The parser of WebDAV PROPPATCH responses.</param>
 /// <returns>This instance of <see cref="WebDavClient" /> to support chain calls.</returns>
 internal WebDavClient SetProppatchResponseParser(IResponseParser <ProppatchResponse> responseParser)
 {
     Guard.NotNull(responseParser, "responseParser");
     _proppatchResponseParser = responseParser;
     return(this);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the parser of LOCK responses.
 /// </summary>
 /// <param name="responseParser">The parser of WebDAV LOCK responses.</param>
 /// <returns>This instance of <see cref="WebDavClient" /> to support chain calls.</returns>
 internal WebDavClient SetLockResponseParser(IResponseParser <LockResponse> responseParser)
 {
     Guard.NotNull(responseParser, "responseParser");
     _lockResponseParser = responseParser;
     return(this);
 }
Esempio n. 3
0
 /// <summary>
 /// Sets the dispatcher of WebDAV requests.
 /// </summary>
 /// <param name="dispatcher">The dispatcher of WebDAV http requests.</param>
 /// <returns>This instance of <see cref="WebDavClient" /> to support chain calls.</returns>
 internal WebDavClient SetWebDavDispatcher(IWebDavDispatcher dispatcher)
 {
     Guard.NotNull(dispatcher, "dispather");
     _dispatcher = dispatcher;
     return(this);
 }