| @@ -1,4 +1,5 @@ | |||||
| using System; | using System; | ||||
| using Microsoft.Exchange.WebServices.Data; | |||||
| namespace jdis_import | namespace jdis_import | ||||
| { | { | ||||
| @@ -6,7 +7,9 @@ namespace jdis_import | |||||
| { | { | ||||
| static void Main(string[] args) | static void Main(string[] args) | ||||
| { | { | ||||
| Console.WriteLine("Hello World!"); | |||||
| int i = (int)System.Net.SecurityProtocolType.Tls12; | |||||
| Console.WriteLine(i); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -0,0 +1,39 @@ | |||||
| using Newtonsoft.Json; | |||||
| namespace jdis_import.RESTObjects | |||||
| { | |||||
| [JsonObject(MemberSerialization.OptIn)] | |||||
| public class RESTResponse<T> | |||||
| { | |||||
| #region Fields | |||||
| private RESTMeta _meta = null; | |||||
| private T _data; | |||||
| #endregion | |||||
| #region Properties | |||||
| [JsonProperty(PropertyName = "meta")] | |||||
| public RESTMeta meta | |||||
| { | |||||
| get | |||||
| { | |||||
| if (_meta == null) | |||||
| { | |||||
| _meta = new RESTMeta(); | |||||
| } | |||||
| return _meta; | |||||
| } | |||||
| set { _meta = value; } | |||||
| } | |||||
| [JsonProperty(PropertyName = "data")] | |||||
| public T data | |||||
| { | |||||
| get { return _data; } | |||||
| set { _data = value; } | |||||
| } | |||||
| #endregion | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,61 @@ | |||||
| { | |||||
| "runtimeTarget": { | |||||
| "name": ".NETCoreApp,Version=v6.0", | |||||
| "signature": "" | |||||
| }, | |||||
| "compilationOptions": {}, | |||||
| "targets": { | |||||
| ".NETCoreApp,Version=v6.0": { | |||||
| "jdis_import/1.0.0": { | |||||
| "dependencies": { | |||||
| "Microsoft.Exchange.WebServices": "2.2.0", | |||||
| "Newtonsoft.Json": "13.0.1" | |||||
| }, | |||||
| "runtime": { | |||||
| "jdis_import.dll": {} | |||||
| } | |||||
| }, | |||||
| "Microsoft.Exchange.WebServices/2.2.0": { | |||||
| "runtime": { | |||||
| "lib/40/Microsoft.Exchange.WebServices.Auth.dll": { | |||||
| "assemblyVersion": "15.0.0.0", | |||||
| "fileVersion": "15.0.913.0" | |||||
| }, | |||||
| "lib/40/Microsoft.Exchange.WebServices.dll": { | |||||
| "assemblyVersion": "15.0.0.0", | |||||
| "fileVersion": "15.0.913.15" | |||||
| } | |||||
| } | |||||
| }, | |||||
| "Newtonsoft.Json/13.0.1": { | |||||
| "runtime": { | |||||
| "lib/netstandard2.0/Newtonsoft.Json.dll": { | |||||
| "assemblyVersion": "13.0.0.0", | |||||
| "fileVersion": "13.0.1.25517" | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| }, | |||||
| "libraries": { | |||||
| "jdis_import/1.0.0": { | |||||
| "type": "project", | |||||
| "serviceable": false, | |||||
| "sha512": "" | |||||
| }, | |||||
| "Microsoft.Exchange.WebServices/2.2.0": { | |||||
| "type": "package", | |||||
| "serviceable": true, | |||||
| "sha512": "sha512-NlkaTD0uWtg9VbiWq0VDWMBPzHFknH3tmstrxt0acrT09LBGqATTjRpsGOODz6tUdX7/dehBinxsf75U5Uw/+A==", | |||||
| "path": "microsoft.exchange.webservices/2.2.0", | |||||
| "hashPath": "microsoft.exchange.webservices.2.2.0.nupkg.sha512" | |||||
| }, | |||||
| "Newtonsoft.Json/13.0.1": { | |||||
| "type": "package", | |||||
| "serviceable": true, | |||||
| "sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", | |||||
| "path": "newtonsoft.json/13.0.1", | |||||
| "hashPath": "newtonsoft.json.13.0.1.nupkg.sha512" | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,9 @@ | |||||
| { | |||||
| "runtimeOptions": { | |||||
| "tfm": "net6.0", | |||||
| "framework": { | |||||
| "name": "Microsoft.NETCore.App", | |||||
| "version": "6.0.0" | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1 @@ | |||||
| f4b9cd62c321af7c58b7113ff57702c784dd3b60 | |||||
| @@ -0,0 +1,19 @@ | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.csproj.AssemblyReference.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.GeneratedMSBuildEditorConfig.editorconfig | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.AssemblyInfoInputs.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.AssemblyInfo.cs | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.csproj.CoreCompileInputs.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/jdis_import | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/jdis_import.deps.json | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/jdis_import.runtimeconfig.json | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/jdis_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/jdis_import.pdb | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/Microsoft.Exchange.WebServices.Auth.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/Microsoft.Exchange.WebServices.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/bin/Debug/net6.0/Newtonsoft.Json.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.csproj.CopyComplete | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/refint/jdis_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.pdb | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/jdis_import.genruntimeconfig.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/jdis_import/obj/Debug/net6.0/ref/jdis_import.dll | |||||
| @@ -0,0 +1 @@ | |||||
| b4369587b569e07bf1b557595266f593c3293cad | |||||