DecaTec / Portable-WebDAV-Library

Moved to codeberg.org - https://codeberg.org/DecaTec/Portable-WebDAV-Library - The Portable WebDAV Library is a strongly typed, async WebDAV client library which is fully compliant to RFC 4918, RFC 4331 and "Additional WebDAV Collection Properties". It is implemented as .NETStandard 1.1 library in oder to be used on any platform supporting .NETStandard 1.1.
https://decatec.de
Microsoft Public License
46 stars 11 forks source link

Only allow the TryParse methods #39

Closed TomGroeneboer closed 7 years ago

TomGroeneboer commented 7 years ago

In AbsoluteUri, CodedUrl, NoTagList and LockToken. Update the unittests accordingly.

This allows the specification not to be bypassed.

It might be an idea to create 2 extra convenience constructors in LockToken, accepting a NoTagList or CodedUrl. However, we did not see a need for this right now.

DecaTec commented 7 years ago

You're right, the spec could have been bypassed. Wasn't aware of this.

DecaTec commented 7 years ago

v0.8.2.0 will be available at NuGet shortly. Thanks for pointing this out and providing PRs. 👍

TomGroeneboer commented 7 years ago

No problem, thanks for the quick responses!