wasDAVClient

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 6  →  ?path2? @ 7
/wasDAVClient/Helpers/wasDAVConflictException.cs
@@ -3,52 +3,52 @@
// Please see: http://www.gnu.org/licenses/gpl.html for legal details, //
// rights of fair usage, the disclaimer and warranty conditions. //
///////////////////////////////////////////////////////////////////////////
// Originally based on: WebDAV .NET client by Sergey Kazantsev
 
using System;
using System.Runtime.Serialization;
 
namespace wasDAVClient.Helpers
{
public class wasDAVConflictException : wasDAVException
{
public wasDAVConflictException()
{
}
 
public wasDAVConflictException(string message)
: base(message)
{
}
 
public wasDAVConflictException(string message, int hr)
: base(message, hr)
{
}
 
public wasDAVConflictException(string message, Exception innerException)
: base(message, innerException)
{
}
 
public wasDAVConflictException(int httpCode, string message, Exception innerException)
: base(httpCode, message, innerException)
{
}
 
public wasDAVConflictException(int httpCode, string message)
: base(httpCode, message)
{
}
 
public wasDAVConflictException(int httpCode, string message, int hr)
: base(httpCode, message, hr)
{
}
 
protected wasDAVConflictException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
// Originally based on: WebDAV .NET client by Sergey Kazantsev
 
using System;
using System.Runtime.Serialization;
 
namespace wasDAVClient.Helpers
{
public class wasDAVConflictException : wasDAVException
{
public wasDAVConflictException()
{
}
 
public wasDAVConflictException(string message)
: base(message)
{
}
 
public wasDAVConflictException(string message, int hr)
: base(message, hr)
{
}
 
public wasDAVConflictException(string message, Exception innerException)
: base(message, innerException)
{
}
 
public wasDAVConflictException(int httpCode, string message, Exception innerException)
: base(httpCode, message, innerException)
{
}
 
public wasDAVConflictException(int httpCode, string message)
: base(httpCode, message)
{
}
 
public wasDAVConflictException(int httpCode, string message, int hr)
: base(httpCode, message, hr)
{
}
 
protected wasDAVConflictException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}
/wasDAVClient/Helpers/wasDAVException.cs
@@ -3,68 +3,68 @@
// Please see: http://www.gnu.org/licenses/gpl.html for legal details, //
// rights of fair usage, the disclaimer and warranty conditions. //
///////////////////////////////////////////////////////////////////////////
// Originally based on: WebDAV .NET client by Sergey Kazantsev
 
using System;
using System.Runtime.Serialization;
using System.Text;
using System.Web;
 
namespace wasDAVClient.Helpers
{
public class wasDAVException : HttpException
{
public wasDAVException()
{
}
 
public wasDAVException(string message)
: base(message)
{
}
 
public wasDAVException(string message, int hr)
: base(message, hr)
{
}
 
public wasDAVException(string message, Exception innerException)
: base(message, innerException)
{
}
 
public wasDAVException(int httpCode, string message, Exception innerException)
: base(httpCode, message, innerException)
{
}
 
public wasDAVException(int httpCode, string message)
: base(httpCode, message)
{
}
 
public wasDAVException(int httpCode, string message, int hr)
: base(httpCode, message, hr)
{
}
 
protected wasDAVException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
 
public override string ToString()
{
var sb = new StringBuilder();
sb.Append($"HttpStatusCode: {GetHttpCode()}");
sb.Append(Environment.NewLine);
sb.Append($"ErrorCode: {ErrorCode}");
sb.Append(Environment.NewLine);
sb.Append($"Message: {Message}");
sb.Append(Environment.NewLine);
sb.Append(base.ToString());
 
return sb.ToString();
}
}
// Originally based on: WebDAV .NET client by Sergey Kazantsev
 
using System;
using System.Runtime.Serialization;
using System.Text;
using System.Web;
 
namespace wasDAVClient.Helpers
{
public class wasDAVException : HttpException
{
public wasDAVException()
{
}
 
public wasDAVException(string message)
: base(message)
{
}
 
public wasDAVException(string message, int hr)
: base(message, hr)
{
}
 
public wasDAVException(string message, Exception innerException)
: base(message, innerException)
{
}
 
public wasDAVException(int httpCode, string message, Exception innerException)
: base(httpCode, message, innerException)
{
}
 
public wasDAVException(int httpCode, string message)
: base(httpCode, message)
{
}
 
public wasDAVException(int httpCode, string message, int hr)
: base(httpCode, message, hr)
{
}
 
protected wasDAVException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
 
public override string ToString()
{
var sb = new StringBuilder();
sb.Append($"HttpStatusCode: {GetHttpCode()}");
sb.Append(Environment.NewLine);
sb.Append($"ErrorCode: {ErrorCode}");
sb.Append(Environment.NewLine);
sb.Append($"Message: {Message}");
sb.Append(Environment.NewLine);
sb.Append(base.ToString());
 
return sb.ToString();
}
}
}
/wasDAVClient/Properties/AssemblyInfo.cs
@@ -37,4 +37,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
 
[assembly: AssemblyVersion("1.3.*")]
[assembly: AssemblyVersion("1.4.*")]
/wasDAVClient/wasDAVClient.csproj
@@ -7,8 +7,8 @@
<ProjectGuid>{8C9A5D56-E5A1-4E18-BD00-FFF55A2AE01D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>wasDAV</RootNamespace>
<AssemblyName>wasDAV</AssemblyName>
<RootNamespace>wasDAVClient</RootNamespace>
<AssemblyName>wasDAVClient</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>