wasDAVClient – Diff between revs 3 and 4
?pathlinks?
Rev 3 | Rev 4 | |||
---|---|---|---|---|
Line 10... | Line 10... | |||
10 | using wasDAVClient.Helpers; |
10 | using wasDAVClient.Helpers; |
|
11 | using wasDAVClient.Model; |
11 | using wasDAVClient.Model; |
|
Line 12... | Line 12... | |||
12 | |
12 | |
|
13 | namespace wasDAVClient |
13 | namespace wasDAVClient |
|
14 | { |
14 | { |
|
15 | public class Client : IClient |
15 | public class Client : IClient, IDisposable |
|
16 | { |
16 | { |
|
Line 17... | Line 17... | |||
17 | private const int HttpStatusCode_MultiStatus = 207; |
17 | private const int HttpStatusCode_MultiStatus = 207; |
|
18 | |
18 | |
|
Line 578... | Line 578... | |||
578 | |
578 | |
|
579 | return baseUri; |
579 | return baseUri; |
|
580 | } |
580 | } |
|
Line -... | Line 581... | |||
- | 581 | } |
||
- | 582 | |
||
- | 583 | public void Dispose() |
||
- | 584 | { |
||
- | 585 | if(_client != null) |
||
- | 586 | _client.Dispose(); |
||
- | 587 | if (_uploadClient != null) |
||
- | 588 | _uploadClient.Dispose(); |
||
581 | } |
589 | } |
|
582 | |
590 | |
|
583 | #endregion |
591 | #endregion |
|
584 | } |
592 | } |