diff --git a/build/net35/sandbox.dll b/build/net35/sandbox.dll new file mode 100644 index 0000000..4712b09 Binary files /dev/null and b/build/net35/sandbox.dll differ diff --git a/build/net35/xmlrpcwsc.dll b/build/net35/xmlrpcwsc.dll new file mode 100644 index 0000000..676234a Binary files /dev/null and b/build/net35/xmlrpcwsc.dll differ diff --git a/build/net45/sandbox.dll b/build/net45/sandbox.dll new file mode 100644 index 0000000..c574e81 Binary files /dev/null and b/build/net45/sandbox.dll differ diff --git a/build/net45/xmlrpcwsc.dll b/build/net45/xmlrpcwsc.dll new file mode 100644 index 0000000..51e1490 Binary files /dev/null and b/build/net45/xmlrpcwsc.dll differ diff --git a/build/netcoreapp2.0/sandbox.deps.json b/build/netcoreapp2.0/sandbox.deps.json new file mode 100644 index 0000000..2dc7238 --- /dev/null +++ b/build/netcoreapp2.0/sandbox.deps.json @@ -0,0 +1,36 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v2.0", + "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v2.0": { + "sandbox/1.0.0": { + "dependencies": { + "xmlrpcwsc": "1.0.0" + }, + "runtime": { + "sandbox.dll": {} + } + }, + "xmlrpcwsc/1.0.0": { + "runtime": { + "xmlrpcwsc.dll": {} + } + } + } + }, + "libraries": { + "sandbox/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "xmlrpcwsc/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/build/netcoreapp2.0/sandbox.dll b/build/netcoreapp2.0/sandbox.dll new file mode 100644 index 0000000..9b6cd00 Binary files /dev/null and b/build/netcoreapp2.0/sandbox.dll differ diff --git a/build/netcoreapp2.0/xmlrpcwsc.deps.json b/build/netcoreapp2.0/xmlrpcwsc.deps.json new file mode 100644 index 0000000..470b5e9 --- /dev/null +++ b/build/netcoreapp2.0/xmlrpcwsc.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v2.0", + "signature": "da39a3ee5e6b4b0d3255bfef95601890afd80709" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v2.0": { + "xmlrpcwsc/1.0.0": { + "runtime": { + "xmlrpcwsc.dll": {} + } + } + } + }, + "libraries": { + "xmlrpcwsc/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/build/netcoreapp2.0/xmlrpcwsc.dll b/build/netcoreapp2.0/xmlrpcwsc.dll new file mode 100644 index 0000000..51631c7 Binary files /dev/null and b/build/netcoreapp2.0/xmlrpcwsc.dll differ diff --git a/build/netstandard2.0/xmlrpcwsc.deps.json b/build/netstandard2.0/xmlrpcwsc.deps.json new file mode 100644 index 0000000..a4c658a --- /dev/null +++ b/build/netstandard2.0/xmlrpcwsc.deps.json @@ -0,0 +1,47 @@ +{ + "runtimeTarget": { + "name": ".NETStandard,Version=v2.0/", + "signature": "2468f8819b4e290b1a8667020137de51bd83af19" + }, + "compilationOptions": {}, + "targets": { + ".NETStandard,Version=v2.0": {}, + ".NETStandard,Version=v2.0/": { + "xmlrpcwsc/1.4.0": { + "dependencies": { + "NETStandard.Library": "2.0.1" + }, + "runtime": { + "xmlrpcwsc.dll": {} + } + }, + "Microsoft.NETCore.Platforms/1.1.0": {}, + "NETStandard.Library/2.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + } + } + } + }, + "libraries": { + "xmlrpcwsc/1.4.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==", + "path": "microsoft.netcore.platforms/1.1.0", + "hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512" + }, + "NETStandard.Library/2.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-oA6nwv9MhEKYvLpjZ0ggSpb1g4CQViDVQjLUcDWg598jtvJbpfeP2reqwI1GLW2TbxC/Ml7xL6BBR1HmKPXlTg==", + "path": "netstandard.library/2.0.1", + "hashPath": "netstandard.library.2.0.1.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/build/netstandard2.0/xmlrpcwsc.dll b/build/netstandard2.0/xmlrpcwsc.dll new file mode 100644 index 0000000..9668cc9 Binary files /dev/null and b/build/netstandard2.0/xmlrpcwsc.dll differ diff --git a/build/xmlrpcwsc.dll b/build/xmlrpcwsc.dll index c2d4698..a8f0f1d 100644 Binary files a/build/xmlrpcwsc.dll and b/build/xmlrpcwsc.dll differ diff --git a/sandbox/Properties/AssemblyInfo.cs b/sandbox/Properties/AssemblyInfo.cs index ce33de1..0d63228 100644 --- a/sandbox/Properties/AssemblyInfo.cs +++ b/sandbox/Properties/AssemblyInfo.cs @@ -23,20 +23,8 @@ using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. -[assembly: AssemblyTitle("sandbox")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("sandbox")] [assembly: AssemblyCopyright("Copyright (c) 2016 Saúl Piña")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("1.0.0")] // The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. diff --git a/sandbox/sandbox.csproj b/sandbox/sandbox.csproj index 9d7abfb..d45867f 100644 --- a/sandbox/sandbox.csproj +++ b/sandbox/sandbox.csproj @@ -1,43 +1,21 @@ - - + + + + SAK + SAK + SAK + SAK + sandbox + + 1.1.0 + sandbox + + - Debug - AnyCPU - {5B413D0A-0AC7-44BE-A4BF-0C824864C486} - Exe - sandbox - sandbox - v4.5 - - - true - full - false - ..\build\ - DEBUG; - prompt - 4 - true - - - full - true - ..\build\ - prompt - 4 - true + netcoreapp2.0;net35;net45 + ..\build - - - - False - ..\build\xmlrpcwsc.dll - + - - - - - - \ No newline at end of file + diff --git a/xmlrpcwsc/Properties/AssemblyInfo.cs b/xmlrpcwsc/Properties/AssemblyInfo.cs index 61fa4b7..af59e6a 100644 --- a/xmlrpcwsc/Properties/AssemblyInfo.cs +++ b/xmlrpcwsc/Properties/AssemblyInfo.cs @@ -23,21 +23,11 @@ using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. -[assembly: AssemblyTitle("XmlRpc Web Service Client")] [assembly: AssemblyDescription("XmlRpc Web Service Client")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("xmlrpcwsc")] [assembly: AssemblyCopyright("Copyright (c) 2016 Saúl Piña")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("1.3.0")] - // The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. diff --git a/xmlrpcwsc/XmlRpcRequest.cs b/xmlrpcwsc/XmlRpcRequest.cs index 7d6c84d..1bb0136 100644 --- a/xmlrpcwsc/XmlRpcRequest.cs +++ b/xmlrpcwsc/XmlRpcRequest.cs @@ -88,32 +88,36 @@ namespace XmlRpc { /// Adds the parameter, if param is DateTime uses DateTime.UtcNow, for dateTime.iso8601 conversion /// /// Parameter - public void AddParam(object param) { + public XmlRpcRequest AddParam(object param) { Params.Add(param); + return this; } /// /// Adds the parameters /// /// Parameters - public void AddParams(params object[] list) { + public XmlRpcRequest AddParams(params object[] list) { Params.AddRange(list); + return this; } /// /// Adds the parameter array /// /// List - public void AddParamArray(params object[] list) { + public XmlRpcRequest AddParamArray(params object[] list) { AddParam(XmlRpcParameter.AsArray(list)); + return this; } /// /// Adds the parameter struct /// /// List - public void AddParamStruct(params KeyValuePair[] list) { + public XmlRpcRequest AddParamStruct(params KeyValuePair[] list) { AddParam(XmlRpcParameter.AsStruct(list)); + return this; } /// diff --git a/xmlrpcwsc/xmlrpcwsc.csproj b/xmlrpcwsc/xmlrpcwsc.csproj index f3c30e8..aa9eab7 100644 --- a/xmlrpcwsc/xmlrpcwsc.csproj +++ b/xmlrpcwsc/xmlrpcwsc.csproj @@ -1,49 +1,21 @@ - - + + + + SAK + SAK + SAK + SAK + XmlRpc Web Service Client + + 1.4.0 + xmlrpcwsc + true + 1.4.0 + + - Debug - AnyCPU - {B5FA7348-6454-4545-AC0C-5E94FE53FB6C} - Library - XmlRpc - xmlrpcwsc - v4.5 + netstandard2.0;net35;net45 + ..\build - - true - full - false - ..\build\ - DEBUG; - prompt - 4 - false - - - full - true - ..\build\ - prompt - 4 - false - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + +