+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.ConstructorHandling
+ */
+public class ConstructorHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.ConstructorHandling
+ */
+ public static final String className = "Newtonsoft.Json.ConstructorHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ConstructorHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public ConstructorHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static ConstructorHandling getFrom(JCEnum object, String value) {
+ try {
+ return new ConstructorHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new ConstructorHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static ConstructorHandling Default = getFrom(enumReflected, "Default");
+ public static ConstructorHandling AllowNonPublicDefaultConstructor = getFrom(enumReflected, "AllowNonPublicDefaultConstructor");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateFormatHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateFormatHandling.java
new file mode 100644
index 000000000..f0e0a76be
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateFormatHandling.java
@@ -0,0 +1,175 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.DateFormatHandling
+ */
+public class DateFormatHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.DateFormatHandling
+ */
+ public static final String className = "Newtonsoft.Json.DateFormatHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DateFormatHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public DateFormatHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static DateFormatHandling getFrom(JCEnum object, String value) {
+ try {
+ return new DateFormatHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new DateFormatHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static DateFormatHandling IsoDateFormat = getFrom(enumReflected, "IsoDateFormat");
+ public static DateFormatHandling MicrosoftDateFormat = getFrom(enumReflected, "MicrosoftDateFormat");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateParseHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateParseHandling.java
new file mode 100644
index 000000000..1ad8aa623
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateParseHandling.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.DateParseHandling
+ */
+public class DateParseHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.DateParseHandling
+ */
+ public static final String className = "Newtonsoft.Json.DateParseHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DateParseHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public DateParseHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static DateParseHandling getFrom(JCEnum object, String value) {
+ try {
+ return new DateParseHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new DateParseHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static DateParseHandling None = getFrom(enumReflected, "None");
+ public static DateParseHandling DateTime = getFrom(enumReflected, "DateTime");
+ public static DateParseHandling DateTimeOffset = getFrom(enumReflected, "DateTimeOffset");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateTimeZoneHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateTimeZoneHandling.java
new file mode 100644
index 000000000..3e415d61b
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DateTimeZoneHandling.java
@@ -0,0 +1,177 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.DateTimeZoneHandling
+ */
+public class DateTimeZoneHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.DateTimeZoneHandling
+ */
+ public static final String className = "Newtonsoft.Json.DateTimeZoneHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DateTimeZoneHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public DateTimeZoneHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static DateTimeZoneHandling getFrom(JCEnum object, String value) {
+ try {
+ return new DateTimeZoneHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new DateTimeZoneHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static DateTimeZoneHandling Local = getFrom(enumReflected, "Local");
+ public static DateTimeZoneHandling Utc = getFrom(enumReflected, "Utc");
+ public static DateTimeZoneHandling Unspecified = getFrom(enumReflected, "Unspecified");
+ public static DateTimeZoneHandling RoundtripKind = getFrom(enumReflected, "RoundtripKind");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DefaultValueHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DefaultValueHandling.java
new file mode 100644
index 000000000..34a31dbd0
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/DefaultValueHandling.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.DefaultValueHandling
+ */
+public class DefaultValueHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.DefaultValueHandling
+ */
+ public static final String className = "Newtonsoft.Json.DefaultValueHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DefaultValueHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public DefaultValueHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static DefaultValueHandling getFrom(JCEnum object, String value) {
+ try {
+ return new DefaultValueHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new DefaultValueHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static DefaultValueHandling Include = getFrom(enumReflected, "Include");
+ public static DefaultValueHandling Ignore = getFrom(enumReflected, "Ignore");
+ public static DefaultValueHandling Populate = getFrom(enumReflected, "Populate");
+ public static DefaultValueHandling IgnoreAndPopulate = getFrom(enumReflected, "IgnoreAndPopulate");
+
+
+ // Flags management section
+
+ public final DefaultValueHandling add(DefaultValueHandling val) throws Throwable {
+ return new DefaultValueHandling(NetEnum.add(classInstance, val.classInstance));
+ }
+
+ public final DefaultValueHandling remove(DefaultValueHandling val) throws Throwable {
+ return new DefaultValueHandling(NetEnum.remove(classInstance, val.classInstance));
+ }
+
+ public final boolean is(DefaultValueHandling val) throws Throwable {
+ return NetEnum.is(classInstance, val.classInstance);
+ }
+
+ public final boolean has(DefaultValueHandling val) throws Throwable {
+ return NetEnum.has(classInstance, val.classInstance);
+ }
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/FloatFormatHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/FloatFormatHandling.java
new file mode 100644
index 000000000..9980e1f12
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/FloatFormatHandling.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.FloatFormatHandling
+ */
+public class FloatFormatHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.FloatFormatHandling
+ */
+ public static final String className = "Newtonsoft.Json.FloatFormatHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public FloatFormatHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public FloatFormatHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static FloatFormatHandling getFrom(JCEnum object, String value) {
+ try {
+ return new FloatFormatHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new FloatFormatHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static FloatFormatHandling String = getFrom(enumReflected, "String");
+ public static FloatFormatHandling Symbol = getFrom(enumReflected, "Symbol");
+ public static FloatFormatHandling DefaultValue = getFrom(enumReflected, "DefaultValue");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/FloatParseHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/FloatParseHandling.java
new file mode 100644
index 000000000..055b80230
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/FloatParseHandling.java
@@ -0,0 +1,175 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.FloatParseHandling
+ */
+public class FloatParseHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.FloatParseHandling
+ */
+ public static final String className = "Newtonsoft.Json.FloatParseHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public FloatParseHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public FloatParseHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static FloatParseHandling getFrom(JCEnum object, String value) {
+ try {
+ return new FloatParseHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new FloatParseHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static FloatParseHandling Double = getFrom(enumReflected, "Double");
+ public static FloatParseHandling Decimal = getFrom(enumReflected, "Decimal");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/Formatting.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/Formatting.java
new file mode 100644
index 000000000..e6ce16f4b
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/Formatting.java
@@ -0,0 +1,175 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Formatting
+ */
+public class Formatting extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Formatting
+ */
+ public static final String className = "Newtonsoft.Json.Formatting";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public Formatting(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public Formatting() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static Formatting getFrom(JCEnum object, String value) {
+ try {
+ return new Formatting(object.fromValue(value));
+ } catch (JCException e) {
+ return new Formatting(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static Formatting None = getFrom(enumReflected, "None");
+ public static Formatting Indented = getFrom(enumReflected, "Indented");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/IJsonLineInfo.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/IJsonLineInfo.java
new file mode 100644
index 000000000..9dea0bdda
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/IJsonLineInfo.java
@@ -0,0 +1,127 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.IJsonLineInfo
+ */
+public interface IJsonLineInfo extends IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.IJsonLineInfo
+ */
+ public static final String className = "Newtonsoft.Json.IJsonLineInfo";
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IJsonLineInfo}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IJsonLineInfo} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IJsonLineInfo ToIJsonLineInfo(IJCOBridgeReflected from) throws Throwable {
+ JCOBridge bridge = JCOBridgeInstance.getInstance("Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed");
+ JCType classType = bridge.GetType(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ NetType.AssertCast(classType, from);
+ return new IJsonLineInfoImplementation(from.getJCOInstance());
+ }
+
+ /**
+ * Returns the reflected Assembly name
+ *
+ * @return A {@link String} representing the Fullname of reflected Assembly
+ */
+ public String getJCOAssemblyName();
+
+ /**
+ * Returns the reflected Class name
+ *
+ * @return A {@link String} representing the Fullname of reflected Class
+ */
+ public String getJCOClassName();
+
+ /**
+ * Returns the reflected Class name used to build the object
+ *
+ * @return A {@link String} representing the name used to allocated the object
+ * in CLR context
+ */
+ public String getJCOObjectName();
+
+ /**
+ * Returns the instantiated class
+ *
+ * @return An {@link java.lang.Object} representing the instance of the instantiated Class
+ */
+ public java.lang.Object getJCOInstance();
+
+ /**
+ * Returns the instantiated class Type
+ *
+ * @return A {@link JCType} representing the Type of the instantiated Class
+ */
+ public JCType getJCOType();
+
+ // Methods section
+
+ public boolean HasLineInfo() throws Throwable;
+
+
+
+ // Properties section
+
+ public int getLineNumber() throws Throwable;
+
+ public int getLinePosition() throws Throwable;
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/IJsonLineInfoImplementation.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/IJsonLineInfoImplementation.java
new file mode 100644
index 000000000..5165c17da
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/IJsonLineInfoImplementation.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.IJsonLineInfo
+ */
+public class IJsonLineInfoImplementation extends NetObject implements IJsonLineInfo {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.IJsonLineInfo
+ */
+ public static final String className = "Newtonsoft.Json.IJsonLineInfo";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public IJsonLineInfoImplementation(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IJsonLineInfo}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IJsonLineInfo} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IJsonLineInfo ToIJsonLineInfo(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new IJsonLineInfoImplementation(from.getJCOInstance());
+ }
+
+ // Methods section
+
+ public boolean HasLineInfo() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("HasLineInfo");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public int getLineNumber() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("LineNumber");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int getLinePosition() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("LinePosition");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonArrayAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonArrayAttribute.java
new file mode 100644
index 000000000..a431c0b53
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonArrayAttribute.java
@@ -0,0 +1,206 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonArrayAttribute
+ */
+public class JsonArrayAttribute extends JsonContainerAttribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonArrayAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonArrayAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonArrayAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonArrayAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonArrayAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonArrayAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonArrayAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonArrayAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonArrayAttribute(boolean allowNullItems) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(allowNullItems));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonArrayAttribute(java.lang.String id) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(id));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getAllowNullItems() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("AllowNullItems");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setAllowNullItems(boolean AllowNullItems) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("AllowNullItems", AllowNullItems);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConstructorAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConstructorAttribute.java
new file mode 100644
index 000000000..d8c8847c8
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConstructorAttribute.java
@@ -0,0 +1,166 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonConstructorAttribute
+ */
+public class JsonConstructorAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonConstructorAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonConstructorAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonConstructorAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonConstructorAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonConstructorAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonConstructorAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonConstructorAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonConstructorAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonContainerAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonContainerAttribute.java
new file mode 100644
index 000000000..c93305840
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonContainerAttribute.java
@@ -0,0 +1,398 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonContainerAttribute
+ */
+public class JsonContainerAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonContainerAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonContainerAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonContainerAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonContainerAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonContainerAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonContainerAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonContainerAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonContainerAttribute() throws Throwable {
+ }
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getIsReference() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("IsReference");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIsReference(boolean IsReference) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("IsReference", IsReference);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getItemIsReference() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("ItemIsReference");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemIsReference(boolean ItemIsReference) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemIsReference", ItemIsReference);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ReferenceLoopHandling getItemReferenceLoopHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ItemReferenceLoopHandling");
+ return new ReferenceLoopHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemReferenceLoopHandling(ReferenceLoopHandling ItemReferenceLoopHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemReferenceLoopHandling", ItemReferenceLoopHandling == null ? null : ItemReferenceLoopHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public TypeNameHandling getItemTypeNameHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ItemTypeNameHandling");
+ return new TypeNameHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemTypeNameHandling(TypeNameHandling ItemTypeNameHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemTypeNameHandling", ItemTypeNameHandling == null ? null : ItemTypeNameHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public final NetObject[] getItemConverterParameters() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ ArrayList
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonConvert
+ */
+public class JsonConvert extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonConvert
+ */
+ public static final String className = "Newtonsoft.Json.JsonConvert";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonConvert(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonConvert}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonConvert} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonConvert cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonConvert(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonConvert() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public static NetObject DeserializeObject(java.lang.String value) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeObject = (JCObject)classType.Invoke("DeserializeObject", value);
+ return new NetObject(objDeserializeObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static NetObject DeserializeObject(java.lang.String value, JsonSerializerSettings settings) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeObject = (JCObject)classType.Invoke("DeserializeObject", value, settings == null ? null : settings.getJCOInstance());
+ return new NetObject(objDeserializeObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static NetObject DeserializeObject(java.lang.String value, NetType type) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeObject = (JCObject)classType.Invoke("DeserializeObject", value, type == null ? null : type.getJCOInstance());
+ return new NetObject(objDeserializeObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static NetObject DeserializeObject(java.lang.String value, NetType type, JsonConverter... converters) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeObject = (JCObject)classType.Invoke("DeserializeObject", value, type == null ? null : type.getJCOInstance(), toObjectFromArray(converters));
+ return new NetObject(objDeserializeObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static NetObject DeserializeObject(java.lang.String value, NetType type, JsonSerializerSettings settings) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.globalization.CultureNotFoundException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.NotImplementedException, system.runtime.serialization.SerializationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeObject = (JCObject)classType.Invoke("DeserializeObject", value, type == null ? null : type.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ return new NetObject(objDeserializeObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value, Formatting formatting) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value, Formatting formatting, JsonConverter... converters) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value, Formatting formatting, JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value, JsonConverter... converters) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value, JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value, NetType type, Formatting formatting, JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.NotImplementedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance(), type == null ? null : type.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeObject(NetObject value, NetType type, JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.NotImplementedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeObject", value == null ? null : value.getJCOInstance(), type == null ? null : type.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeXmlNode(XmlNode node) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeXmlNode", node == null ? null : node.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeXmlNode(XmlNode node, Formatting formatting) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeXmlNode", node == null ? null : node.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeXmlNode(XmlNode node, Formatting formatting, boolean omitRootObject) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeXmlNode", node == null ? null : node.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance(), omitRootObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeXNode(XObject node) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeXNode", node == null ? null : node.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeXNode(XObject node, Formatting formatting) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeXNode", node == null ? null : node.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String SerializeXNode(XObject node, Formatting formatting, boolean omitRootObject) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("SerializeXNode", node == null ? null : node.getJCOInstance(), formatting == null ? null : formatting.getJCOInstance(), omitRootObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(boolean value) throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(byte value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(char value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(double value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(short value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(int value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(long value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(SByte value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(Single value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(DateTime value) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.FormatException, system.IndexOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(DateTime value, DateFormatHandling format, DateTimeZoneHandling timeZoneHandling) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.InvalidOperationException, system.IndexOutOfRangeException, system.FormatException, system.globalization.CultureNotFoundException, system.NullReferenceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), format == null ? null : format.getJCOInstance(), timeZoneHandling == null ? null : timeZoneHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(DateTimeOffset value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.OverflowException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, system.OutOfMemoryException, system.NullReferenceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(DateTimeOffset value, DateFormatHandling format) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.OverflowException, system.InvalidOperationException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, system.OutOfMemoryException, system.NullReferenceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance(), format == null ? null : format.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(Decimal value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(Enum value) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.FormatException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(Guid value) throws Throwable, system.FormatException, system.IndexOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.IndexOutOfRangeException, system.OverflowException, system.FormatException, system.OutOfMemoryException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(java.lang.String value) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(java.lang.String value, char delimiter) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value, delimiter);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(java.lang.String value, char delimiter, StringEscapeHandling stringEscapeHandling) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value, delimiter, stringEscapeHandling == null ? null : stringEscapeHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(TimeSpan value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(Uri value) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(UInt16 value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(UInt32 value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static java.lang.String ToString(UInt64 value) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (java.lang.String)classType.Invoke("ToString", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static Task PopulateObjectAsync(java.lang.String value, NetObject target, JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonReaderException, system.InvalidOperationException, system.ObjectDisposedException, system.diagnostics.tracing.EventSourceException, system.threading.tasks.TaskSchedulerException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objPopulateObjectAsync = (JCObject)classType.Invoke("PopulateObjectAsync", value, target == null ? null : target.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ return new Task(objPopulateObjectAsync);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static XDocument DeserializeXNode(java.lang.String value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeXNode = (JCObject)classType.Invoke("DeserializeXNode", value);
+ return new XDocument(objDeserializeXNode);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static XDocument DeserializeXNode(java.lang.String value, java.lang.String deserializeRootElementName) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeXNode = (JCObject)classType.Invoke("DeserializeXNode", value, deserializeRootElementName);
+ return new XDocument(objDeserializeXNode);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static XDocument DeserializeXNode(java.lang.String value, java.lang.String deserializeRootElementName, boolean writeArrayAttribute) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, newtonsoft.json.JsonSerializationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeXNode = (JCObject)classType.Invoke("DeserializeXNode", value, deserializeRootElementName, writeArrayAttribute);
+ return new XDocument(objDeserializeXNode);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static XmlDocument DeserializeXmlNode(java.lang.String value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeXmlNode = (JCObject)classType.Invoke("DeserializeXmlNode", value);
+ return new XmlDocument(objDeserializeXmlNode);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static XmlDocument DeserializeXmlNode(java.lang.String value, java.lang.String deserializeRootElementName) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeXmlNode = (JCObject)classType.Invoke("DeserializeXmlNode", value, deserializeRootElementName);
+ return new XmlDocument(objDeserializeXmlNode);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static XmlDocument DeserializeXmlNode(java.lang.String value, java.lang.String deserializeRootElementName, boolean writeArrayAttribute) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, newtonsoft.json.JsonSerializationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objDeserializeXmlNode = (JCObject)classType.Invoke("DeserializeXmlNode", value, deserializeRootElementName, writeArrayAttribute);
+ return new XmlDocument(objDeserializeXmlNode);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static void PopulateObject(java.lang.String value, NetObject target) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonReaderException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ classType.Invoke("PopulateObject", value, target == null ? null : target.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static void PopulateObject(java.lang.String value, NetObject target, JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonReaderException, system.FormatException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ classType.Invoke("PopulateObject", value, target == null ? null : target.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConverter.java
new file mode 100644
index 000000000..4f02345db
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConverter.java
@@ -0,0 +1,223 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonConverter
+ */
+public class JsonConverter extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonConverter
+ */
+ public static final String className = "Newtonsoft.Json.JsonConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonConverter() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSchema GetSchema() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetSchema = (JCObject)classInstance.Invoke("GetSchema");
+ return new JsonSchema(objGetSchema);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getCanRead() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("CanRead");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getCanWrite() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("CanWrite");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConverterAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConverterAttribute.java
new file mode 100644
index 000000000..fe86da40f
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonConverterAttribute.java
@@ -0,0 +1,218 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonConverterAttribute
+ */
+public class JsonConverterAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonConverterAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonConverterAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonConverterAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonConverterAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonConverterAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonConverterAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonConverterAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonConverterAttribute() throws Throwable {
+ }
+
+ public JsonConverterAttribute(NetType converterType) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(converterType == null ? null : converterType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonConverterAttribute(NetType converterType, NetObject... converterParameters) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(converterType == null ? null : converterType.getJCOInstance(), toObjectFromArray(converterParameters)));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public final NetObject[] getConverterParameters() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ ArrayList
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonConverterCollection
+ */
+public class JsonConverterCollection extends NetObjectEnumerable {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonConverterCollection
+ */
+ public static final String className = "Newtonsoft.Json.JsonConverterCollection";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonConverterCollection(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonConverterCollection}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonConverterCollection} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonConverterCollection cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonConverterCollection(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonConverterCollection() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonDictionaryAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonDictionaryAttribute.java
new file mode 100644
index 000000000..fe14a683e
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonDictionaryAttribute.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonDictionaryAttribute
+ */
+public class JsonDictionaryAttribute extends JsonContainerAttribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonDictionaryAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonDictionaryAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonDictionaryAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonDictionaryAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonDictionaryAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonDictionaryAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonDictionaryAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonDictionaryAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonDictionaryAttribute(java.lang.String id) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(id));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonException.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonException.java
new file mode 100644
index 000000000..ecee23ab5
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonException.java
@@ -0,0 +1,181 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonException
+ */
+public class JsonException extends NetException {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonException
+ */
+ public static final String className = "Newtonsoft.Json.JsonException";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+ JCNativeException jcNativeException = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException jce) {
+ JCOReflector.writeLog(jce);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonException() {
+ super();
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonException(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else if (instance instanceof JCNativeException) {
+ jcNativeException = (JCNativeException) instance;
+ classInstance = jcNativeException.getCLRException();
+ }
+ }
+
+ public JsonException(String message) {
+ super(message);
+ }
+
+ public JsonException(NetException cause) {
+ super(cause);
+ }
+
+ public JsonException(String message, NetException cause) {
+ super(message, cause);
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonException}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonException} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonException cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonException(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonException(SerializationInfo info, StreamingContext context) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.FormatException, system.runtime.serialization.SerializationException, system.InvalidOperationException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(info == null ? null : info.getJCOInstance(), context == null ? null : context.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonExtensionDataAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonExtensionDataAttribute.java
new file mode 100644
index 000000000..5b838d6e9
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonExtensionDataAttribute.java
@@ -0,0 +1,206 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonExtensionDataAttribute
+ */
+public class JsonExtensionDataAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonExtensionDataAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonExtensionDataAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonExtensionDataAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonExtensionDataAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonExtensionDataAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonExtensionDataAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonExtensionDataAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonExtensionDataAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getReadData() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("ReadData");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReadData(boolean ReadData) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ReadData", ReadData);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getWriteData() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("WriteData");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setWriteData(boolean WriteData) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("WriteData", WriteData);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonIgnoreAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonIgnoreAttribute.java
new file mode 100644
index 000000000..9c1c94778
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonIgnoreAttribute.java
@@ -0,0 +1,166 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonIgnoreAttribute
+ */
+public class JsonIgnoreAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonIgnoreAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonIgnoreAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonIgnoreAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonIgnoreAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonIgnoreAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonIgnoreAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonIgnoreAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonIgnoreAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonObjectAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonObjectAttribute.java
new file mode 100644
index 000000000..a85be251b
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonObjectAttribute.java
@@ -0,0 +1,230 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonObjectAttribute
+ */
+public class JsonObjectAttribute extends JsonContainerAttribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonObjectAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonObjectAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonObjectAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonObjectAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonObjectAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonObjectAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonObjectAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonObjectAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonObjectAttribute(MemberSerialization memberSerialization) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(memberSerialization == null ? null : memberSerialization.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonObjectAttribute(java.lang.String id) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(id));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public MemberSerialization getMemberSerialization() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MemberSerialization");
+ return new MemberSerialization(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMemberSerialization(MemberSerialization MemberSerialization) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MemberSerialization", MemberSerialization == null ? null : MemberSerialization.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public Required getItemRequired() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ItemRequired");
+ return new Required(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemRequired(Required ItemRequired) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemRequired", ItemRequired == null ? null : ItemRequired.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonPropertyAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonPropertyAttribute.java
new file mode 100644
index 000000000..5f4a87d13
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonPropertyAttribute.java
@@ -0,0 +1,526 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonPropertyAttribute
+ */
+public class JsonPropertyAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonPropertyAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonPropertyAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonPropertyAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonPropertyAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonPropertyAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonPropertyAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonPropertyAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonPropertyAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonPropertyAttribute(java.lang.String propertyName) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(propertyName));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getIsReference() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("IsReference");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIsReference(boolean IsReference) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("IsReference", IsReference);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getItemIsReference() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("ItemIsReference");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemIsReference(boolean ItemIsReference) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemIsReference", ItemIsReference);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int getOrder() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("Order");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOrder(int Order) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Order", Order);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DefaultValueHandling getDefaultValueHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DefaultValueHandling");
+ return new DefaultValueHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDefaultValueHandling(DefaultValueHandling DefaultValueHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DefaultValueHandling", DefaultValueHandling == null ? null : DefaultValueHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NullValueHandling getNullValueHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("NullValueHandling");
+ return new NullValueHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setNullValueHandling(NullValueHandling NullValueHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("NullValueHandling", NullValueHandling == null ? null : NullValueHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ObjectCreationHandling getObjectCreationHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ObjectCreationHandling");
+ return new ObjectCreationHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setObjectCreationHandling(ObjectCreationHandling ObjectCreationHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ObjectCreationHandling", ObjectCreationHandling == null ? null : ObjectCreationHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ReferenceLoopHandling getItemReferenceLoopHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ItemReferenceLoopHandling");
+ return new ReferenceLoopHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemReferenceLoopHandling(ReferenceLoopHandling ItemReferenceLoopHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemReferenceLoopHandling", ItemReferenceLoopHandling == null ? null : ItemReferenceLoopHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ReferenceLoopHandling getReferenceLoopHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ReferenceLoopHandling");
+ return new ReferenceLoopHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReferenceLoopHandling(ReferenceLoopHandling ReferenceLoopHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ReferenceLoopHandling", ReferenceLoopHandling == null ? null : ReferenceLoopHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public Required getRequired() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Required");
+ return new Required(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setRequired(Required Required) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Required", Required == null ? null : Required.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public TypeNameHandling getItemTypeNameHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ItemTypeNameHandling");
+ return new TypeNameHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemTypeNameHandling(TypeNameHandling ItemTypeNameHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemTypeNameHandling", ItemTypeNameHandling == null ? null : ItemTypeNameHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public TypeNameHandling getTypeNameHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("TypeNameHandling");
+ return new TypeNameHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTypeNameHandling(TypeNameHandling TypeNameHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("TypeNameHandling", TypeNameHandling == null ? null : TypeNameHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public final NetObject[] getItemConverterParameters() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ ArrayList
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonReader
+ */
+public class JsonReader extends NetObject implements system.IDisposable, AutoCloseable {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonReader
+ */
+ public static final String className = "Newtonsoft.Json.JsonReader";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonReader(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonReader}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonReader} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonReader cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonReader(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonReader() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public boolean Read() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Read");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public byte[] ReadAsBytes() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.ArgumentException, newtonsoft.json.JsonReaderException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ ArrayList
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonReaderException
+ */
+public class JsonReaderException extends JsonException {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonReaderException
+ */
+ public static final String className = "Newtonsoft.Json.JsonReaderException";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+ JCNativeException jcNativeException = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException jce) {
+ JCOReflector.writeLog(jce);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonReaderException() {
+ super();
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonReaderException(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else if (instance instanceof JCNativeException) {
+ jcNativeException = (JCNativeException) instance;
+ classInstance = jcNativeException.getCLRException();
+ }
+ }
+
+ public JsonReaderException(String message) {
+ super(message);
+ }
+
+ public JsonReaderException(NetException cause) {
+ super(cause);
+ }
+
+ public JsonReaderException(String message, NetException cause) {
+ super(message, cause);
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonReaderException}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonReaderException} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonReaderException cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonReaderException(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonReaderException(SerializationInfo info, StreamingContext context) throws Throwable, system.ArgumentNullException, system.FormatException, system.runtime.serialization.SerializationException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(info == null ? null : info.getJCOInstance(), context == null ? null : context.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public int getLineNumber() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("LineNumber");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setLineNumber(int LineNumber) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("LineNumber", LineNumber);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int getLinePosition() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("LinePosition");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setLinePosition(int LinePosition) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("LinePosition", LinePosition);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPath() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Path");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPath(java.lang.String Path) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Path", Path);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonRequiredAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonRequiredAttribute.java
new file mode 100644
index 000000000..4cc89c399
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonRequiredAttribute.java
@@ -0,0 +1,166 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonRequiredAttribute
+ */
+public class JsonRequiredAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonRequiredAttribute
+ */
+ public static final String className = "Newtonsoft.Json.JsonRequiredAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonRequiredAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonRequiredAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonRequiredAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonRequiredAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonRequiredAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonRequiredAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializationException.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializationException.java
new file mode 100644
index 000000000..38422b211
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializationException.java
@@ -0,0 +1,182 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonSerializationException
+ */
+public class JsonSerializationException extends JsonException {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonSerializationException
+ */
+ public static final String className = "Newtonsoft.Json.JsonSerializationException";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+ JCNativeException jcNativeException = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException jce) {
+ JCOReflector.writeLog(jce);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSerializationException() {
+ super();
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSerializationException(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else if (instance instanceof JCNativeException) {
+ jcNativeException = (JCNativeException) instance;
+ classInstance = jcNativeException.getCLRException();
+ }
+ }
+
+ public JsonSerializationException(String message) {
+ super(message);
+ }
+
+ public JsonSerializationException(NetException cause) {
+ super(cause);
+ }
+
+ public JsonSerializationException(String message, NetException cause) {
+ super(message, cause);
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonSerializationException}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonSerializationException} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonSerializationException cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonSerializationException(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonSerializationException(SerializationInfo info, StreamingContext context) throws Throwable, system.ArgumentNullException, system.FormatException, system.runtime.serialization.SerializationException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(info == null ? null : info.getJCOInstance(), context == null ? null : context.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializer.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializer.java
new file mode 100644
index 000000000..d10906a5a
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializer.java
@@ -0,0 +1,893 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonSerializer
+ */
+public class JsonSerializer extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonSerializer
+ */
+ public static final String className = "Newtonsoft.Json.JsonSerializer";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSerializer(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonSerializer}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonSerializer} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonSerializer cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonSerializer(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonSerializer() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public static JsonSerializer Create() throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreate = (JCObject)classType.Invoke("Create");
+ return new JsonSerializer(objCreate);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JsonSerializer Create(JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreate = (JCObject)classType.Invoke("Create", settings == null ? null : settings.getJCOInstance());
+ return new JsonSerializer(objCreate);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JsonSerializer CreateDefault() throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreateDefault = (JCObject)classType.Invoke("CreateDefault");
+ return new JsonSerializer(objCreateDefault);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JsonSerializer CreateDefault(JsonSerializerSettings settings) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreateDefault = (JCObject)classType.Invoke("CreateDefault", settings == null ? null : settings.getJCOInstance());
+ return new JsonSerializer(objCreateDefault);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject Deserialize(JsonReader reader) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.globalization.CultureNotFoundException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException, system.NotSupportedException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.NotImplementedException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objDeserialize = (JCObject)classInstance.Invoke("Deserialize", reader == null ? null : reader.getJCOInstance());
+ return new NetObject(objDeserialize);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject Deserialize(JsonReader reader, NetType objectType) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.globalization.CultureNotFoundException, system.FormatException, system.NotSupportedException, system.InvalidOperationException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.RankException, system.OutOfMemoryException, system.OverflowException, system.NotImplementedException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objDeserialize = (JCObject)classInstance.Invoke("Deserialize", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance());
+ return new NetObject(objDeserialize);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject Deserialize(TextReader reader, NetType objectType) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.globalization.CultureNotFoundException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException, system.NotSupportedException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.NotImplementedException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objDeserialize = (JCObject)classInstance.Invoke("Deserialize", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance());
+ return new NetObject(objDeserialize);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Populate(JsonReader reader, NetObject target) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, system.InvalidOperationException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, system.NotSupportedException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.FormatException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.NotImplementedException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Populate", reader == null ? null : reader.getJCOInstance(), target == null ? null : target.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Populate(TextReader reader, NetObject target) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, system.NotSupportedException, newtonsoft.json.JsonReaderException, system.FormatException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Populate", reader == null ? null : reader.getJCOInstance(), target == null ? null : target.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Serialize(JsonWriter jsonWriter, NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.ArgumentException, system.InvalidOperationException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.NotSupportedException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Serialize", jsonWriter == null ? null : jsonWriter.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Serialize(JsonWriter jsonWriter, NetObject value, NetType objectType) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.ArgumentException, system.InvalidOperationException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.NotSupportedException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Serialize", jsonWriter == null ? null : jsonWriter.getJCOInstance(), value == null ? null : value.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Serialize(TextWriter textWriter, NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.NotSupportedException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Serialize", textWriter == null ? null : textWriter.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Serialize(TextWriter textWriter, NetObject value, NetType objectType) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.NotSupportedException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Serialize", textWriter == null ? null : textWriter.getJCOInstance(), value == null ? null : value.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getCheckAdditionalContent() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("CheckAdditionalContent");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCheckAdditionalContent(boolean CheckAdditionalContent) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CheckAdditionalContent", CheckAdditionalContent);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ConstructorHandling getConstructorHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ConstructorHandling");
+ return new ConstructorHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setConstructorHandling(ConstructorHandling ConstructorHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ConstructorHandling", ConstructorHandling == null ? null : ConstructorHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateFormatHandling getDateFormatHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateFormatHandling");
+ return new DateFormatHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateFormatHandling(DateFormatHandling DateFormatHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateFormatHandling", DateFormatHandling == null ? null : DateFormatHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateParseHandling getDateParseHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateParseHandling");
+ return new DateParseHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateParseHandling(DateParseHandling DateParseHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateParseHandling", DateParseHandling == null ? null : DateParseHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateTimeZoneHandling getDateTimeZoneHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateTimeZoneHandling");
+ return new DateTimeZoneHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateTimeZoneHandling(DateTimeZoneHandling DateTimeZoneHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateTimeZoneHandling", DateTimeZoneHandling == null ? null : DateTimeZoneHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DefaultValueHandling getDefaultValueHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DefaultValueHandling");
+ return new DefaultValueHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDefaultValueHandling(DefaultValueHandling DefaultValueHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DefaultValueHandling", DefaultValueHandling == null ? null : DefaultValueHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public FloatFormatHandling getFloatFormatHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("FloatFormatHandling");
+ return new FloatFormatHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFloatFormatHandling(FloatFormatHandling FloatFormatHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("FloatFormatHandling", FloatFormatHandling == null ? null : FloatFormatHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public FloatParseHandling getFloatParseHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("FloatParseHandling");
+ return new FloatParseHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFloatParseHandling(FloatParseHandling FloatParseHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("FloatParseHandling", FloatParseHandling == null ? null : FloatParseHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public Formatting getFormatting() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Formatting");
+ return new Formatting(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFormatting(Formatting Formatting) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Formatting", Formatting == null ? null : Formatting.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonConverterCollection getConverters() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Converters");
+ return new JsonConverterCollection(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MetadataPropertyHandling getMetadataPropertyHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MetadataPropertyHandling");
+ return new MetadataPropertyHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMetadataPropertyHandling(MetadataPropertyHandling MetadataPropertyHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MetadataPropertyHandling", MetadataPropertyHandling == null ? null : MetadataPropertyHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MissingMemberHandling getMissingMemberHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MissingMemberHandling");
+ return new MissingMemberHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMissingMemberHandling(MissingMemberHandling MissingMemberHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MissingMemberHandling", MissingMemberHandling == null ? null : MissingMemberHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NullValueHandling getNullValueHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("NullValueHandling");
+ return new NullValueHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setNullValueHandling(NullValueHandling NullValueHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("NullValueHandling", NullValueHandling == null ? null : NullValueHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ObjectCreationHandling getObjectCreationHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ObjectCreationHandling");
+ return new ObjectCreationHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setObjectCreationHandling(ObjectCreationHandling ObjectCreationHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ObjectCreationHandling", ObjectCreationHandling == null ? null : ObjectCreationHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public PreserveReferencesHandling getPreserveReferencesHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("PreserveReferencesHandling");
+ return new PreserveReferencesHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPreserveReferencesHandling(PreserveReferencesHandling PreserveReferencesHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("PreserveReferencesHandling", PreserveReferencesHandling == null ? null : PreserveReferencesHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ReferenceLoopHandling getReferenceLoopHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ReferenceLoopHandling");
+ return new ReferenceLoopHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReferenceLoopHandling(ReferenceLoopHandling ReferenceLoopHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ReferenceLoopHandling", ReferenceLoopHandling == null ? null : ReferenceLoopHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IContractResolver getContractResolver() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ContractResolver");
+ return new IContractResolverImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setContractResolver(IContractResolver ContractResolver) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ContractResolver", ContractResolver == null ? null : ContractResolver.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IReferenceResolver getReferenceResolver() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ReferenceResolver");
+ return new IReferenceResolverImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReferenceResolver(IReferenceResolver ReferenceResolver) throws Throwable, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ReferenceResolver", ReferenceResolver == null ? null : ReferenceResolver.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ITraceWriter getTraceWriter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("TraceWriter");
+ return new ITraceWriterImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTraceWriter(ITraceWriter TraceWriter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("TraceWriter", TraceWriter == null ? null : TraceWriter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public StringEscapeHandling getStringEscapeHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("StringEscapeHandling");
+ return new StringEscapeHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setStringEscapeHandling(StringEscapeHandling StringEscapeHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("StringEscapeHandling", StringEscapeHandling == null ? null : StringEscapeHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public TypeNameHandling getTypeNameHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("TypeNameHandling");
+ return new TypeNameHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTypeNameHandling(TypeNameHandling TypeNameHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("TypeNameHandling", TypeNameHandling == null ? null : TypeNameHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IEqualityComparer getEqualityComparer() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("EqualityComparer");
+ return new IEqualityComparerImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setEqualityComparer(IEqualityComparer EqualityComparer) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("EqualityComparer", EqualityComparer == null ? null : EqualityComparer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public CultureInfo getCulture() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Culture");
+ return new CultureInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCulture(CultureInfo Culture) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Culture", Culture == null ? null : Culture.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public FormatterAssemblyStyle getTypeNameAssemblyFormat() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("TypeNameAssemblyFormat");
+ return new FormatterAssemblyStyle(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTypeNameAssemblyFormat(FormatterAssemblyStyle TypeNameAssemblyFormat) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("TypeNameAssemblyFormat", TypeNameAssemblyFormat == null ? null : TypeNameAssemblyFormat.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public SerializationBinder getBinder() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Binder");
+ return new SerializationBinder(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setBinder(SerializationBinder Binder) throws Throwable, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Binder", Binder == null ? null : Binder.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public StreamingContext getContext() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Context");
+ return new StreamingContext(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setContext(StreamingContext Context) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Context", Context == null ? null : Context.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getDateFormatString() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("DateFormatString");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateFormatString(java.lang.String DateFormatString) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateFormatString", DateFormatString);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializerSettings.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializerSettings.java
new file mode 100644
index 000000000..f08bbe5ee
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonSerializerSettings.java
@@ -0,0 +1,737 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonSerializerSettings
+ */
+public class JsonSerializerSettings extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonSerializerSettings
+ */
+ public static final String className = "Newtonsoft.Json.JsonSerializerSettings";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSerializerSettings(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonSerializerSettings}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonSerializerSettings} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonSerializerSettings cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonSerializerSettings(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonSerializerSettings() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getCheckAdditionalContent() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("CheckAdditionalContent");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCheckAdditionalContent(boolean CheckAdditionalContent) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CheckAdditionalContent", CheckAdditionalContent);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ConstructorHandling getConstructorHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ConstructorHandling");
+ return new ConstructorHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setConstructorHandling(ConstructorHandling ConstructorHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ConstructorHandling", ConstructorHandling == null ? null : ConstructorHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateFormatHandling getDateFormatHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateFormatHandling");
+ return new DateFormatHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateFormatHandling(DateFormatHandling DateFormatHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateFormatHandling", DateFormatHandling == null ? null : DateFormatHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateParseHandling getDateParseHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateParseHandling");
+ return new DateParseHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateParseHandling(DateParseHandling DateParseHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateParseHandling", DateParseHandling == null ? null : DateParseHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateTimeZoneHandling getDateTimeZoneHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateTimeZoneHandling");
+ return new DateTimeZoneHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateTimeZoneHandling(DateTimeZoneHandling DateTimeZoneHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateTimeZoneHandling", DateTimeZoneHandling == null ? null : DateTimeZoneHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DefaultValueHandling getDefaultValueHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DefaultValueHandling");
+ return new DefaultValueHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDefaultValueHandling(DefaultValueHandling DefaultValueHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DefaultValueHandling", DefaultValueHandling == null ? null : DefaultValueHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public FloatFormatHandling getFloatFormatHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("FloatFormatHandling");
+ return new FloatFormatHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFloatFormatHandling(FloatFormatHandling FloatFormatHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("FloatFormatHandling", FloatFormatHandling == null ? null : FloatFormatHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public FloatParseHandling getFloatParseHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("FloatParseHandling");
+ return new FloatParseHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFloatParseHandling(FloatParseHandling FloatParseHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("FloatParseHandling", FloatParseHandling == null ? null : FloatParseHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public Formatting getFormatting() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Formatting");
+ return new Formatting(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFormatting(Formatting Formatting) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Formatting", Formatting == null ? null : Formatting.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MetadataPropertyHandling getMetadataPropertyHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MetadataPropertyHandling");
+ return new MetadataPropertyHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMetadataPropertyHandling(MetadataPropertyHandling MetadataPropertyHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MetadataPropertyHandling", MetadataPropertyHandling == null ? null : MetadataPropertyHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MissingMemberHandling getMissingMemberHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MissingMemberHandling");
+ return new MissingMemberHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMissingMemberHandling(MissingMemberHandling MissingMemberHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MissingMemberHandling", MissingMemberHandling == null ? null : MissingMemberHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NullValueHandling getNullValueHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("NullValueHandling");
+ return new NullValueHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setNullValueHandling(NullValueHandling NullValueHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("NullValueHandling", NullValueHandling == null ? null : NullValueHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ObjectCreationHandling getObjectCreationHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ObjectCreationHandling");
+ return new ObjectCreationHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setObjectCreationHandling(ObjectCreationHandling ObjectCreationHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ObjectCreationHandling", ObjectCreationHandling == null ? null : ObjectCreationHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public PreserveReferencesHandling getPreserveReferencesHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("PreserveReferencesHandling");
+ return new PreserveReferencesHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPreserveReferencesHandling(PreserveReferencesHandling PreserveReferencesHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("PreserveReferencesHandling", PreserveReferencesHandling == null ? null : PreserveReferencesHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ReferenceLoopHandling getReferenceLoopHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ReferenceLoopHandling");
+ return new ReferenceLoopHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReferenceLoopHandling(ReferenceLoopHandling ReferenceLoopHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ReferenceLoopHandling", ReferenceLoopHandling == null ? null : ReferenceLoopHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IContractResolver getContractResolver() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ContractResolver");
+ return new IContractResolverImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setContractResolver(IContractResolver ContractResolver) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ContractResolver", ContractResolver == null ? null : ContractResolver.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IReferenceResolver getReferenceResolver() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ReferenceResolver");
+ return new IReferenceResolverImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReferenceResolver(IReferenceResolver ReferenceResolver) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ReferenceResolver", ReferenceResolver == null ? null : ReferenceResolver.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ITraceWriter getTraceWriter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("TraceWriter");
+ return new ITraceWriterImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTraceWriter(ITraceWriter TraceWriter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("TraceWriter", TraceWriter == null ? null : TraceWriter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public StringEscapeHandling getStringEscapeHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("StringEscapeHandling");
+ return new StringEscapeHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setStringEscapeHandling(StringEscapeHandling StringEscapeHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("StringEscapeHandling", StringEscapeHandling == null ? null : StringEscapeHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public TypeNameHandling getTypeNameHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("TypeNameHandling");
+ return new TypeNameHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTypeNameHandling(TypeNameHandling TypeNameHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("TypeNameHandling", TypeNameHandling == null ? null : TypeNameHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IEqualityComparer getEqualityComparer() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("EqualityComparer");
+ return new IEqualityComparerImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setEqualityComparer(IEqualityComparer EqualityComparer) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("EqualityComparer", EqualityComparer == null ? null : EqualityComparer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public CultureInfo getCulture() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Culture");
+ return new CultureInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCulture(CultureInfo Culture) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Culture", Culture == null ? null : Culture.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public FormatterAssemblyStyle getTypeNameAssemblyFormat() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("TypeNameAssemblyFormat");
+ return new FormatterAssemblyStyle(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTypeNameAssemblyFormat(FormatterAssemblyStyle TypeNameAssemblyFormat) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("TypeNameAssemblyFormat", TypeNameAssemblyFormat == null ? null : TypeNameAssemblyFormat.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public SerializationBinder getBinder() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Binder");
+ return new SerializationBinder(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setBinder(SerializationBinder Binder) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Binder", Binder == null ? null : Binder.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public StreamingContext getContext() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Context");
+ return new StreamingContext(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setContext(StreamingContext Context) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Context", Context == null ? null : Context.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getDateFormatString() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("DateFormatString");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateFormatString(java.lang.String DateFormatString) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateFormatString", DateFormatString);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonTextReader.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonTextReader.java
new file mode 100644
index 000000000..19d930ee3
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonTextReader.java
@@ -0,0 +1,250 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonTextReader
+ */
+public class JsonTextReader extends JsonReader {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonTextReader
+ */
+ public static final String className = "Newtonsoft.Json.JsonTextReader";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonTextReader(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonTextReader}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonTextReader} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonTextReader cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonTextReader(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonTextReader() throws Throwable {
+ }
+
+ public JsonTextReader(TextReader reader) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(reader == null ? null : reader.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public boolean HasLineInfo() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("HasLineInfo");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean Read() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.FormatException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.OverflowException, system.InvalidOperationException, system.NullReferenceException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Read");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public byte[] ReadAsBytes() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.FormatException, system.InvalidOperationException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.OverflowException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ ArrayList
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonTextWriter
+ */
+public class JsonTextWriter extends JsonWriter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonTextWriter
+ */
+ public static final String className = "Newtonsoft.Json.JsonTextWriter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonTextWriter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonTextWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonTextWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonTextWriter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonTextWriter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonTextWriter() throws Throwable {
+ }
+
+ public JsonTextWriter(TextWriter textWriter) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(textWriter == null ? null : textWriter.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public void Close() throws Throwable, newtonsoft.json.JsonWriterException, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Close");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Flush() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Flush");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteComment(java.lang.String text) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteComment", text);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteNull() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteNull");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WritePropertyName(java.lang.String name) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WritePropertyName", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WritePropertyName(java.lang.String name, boolean escape) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WritePropertyName", name, escape);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteRaw(java.lang.String json) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteRaw", json);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartArray() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartArray");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartConstructor(java.lang.String name) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartConstructor", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartObject() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartObject");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteUndefined() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteUndefined");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(boolean value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte[] value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(JCORefOut dupParam0) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)dupParam0.getJCRefOut());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(char value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(double value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(short value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(int value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(long value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(SByte value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Single value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTime value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.OverflowException, system.TypeInitializationException, system.NullReferenceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTimeOffset value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.InvalidTimeZoneException, system.NotSupportedException, system.OverflowException, system.TypeInitializationException, system.NullReferenceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Decimal value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Guid value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(java.lang.String value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(TimeSpan value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.TypeInitializationException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Uri value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt16 value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt32 value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt64 value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteWhitespace(java.lang.String ws) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteWhitespace", ws);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getQuoteName() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("QuoteName");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setQuoteName(boolean QuoteName) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("QuoteName", QuoteName);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public char getIndentChar() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (char)classInstance.Get("IndentChar");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIndentChar(char IndentChar) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("IndentChar", IndentChar);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public char getQuoteChar() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (char)classInstance.Get("QuoteChar");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setQuoteChar(char QuoteChar) throws Throwable, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("QuoteChar", QuoteChar);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int getIndentation() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("Indentation");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIndentation(int Indentation) throws Throwable, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Indentation", Indentation);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonToken.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonToken.java
new file mode 100644
index 000000000..b31a78ef9
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonToken.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonToken
+ */
+public class JsonToken extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonToken
+ */
+ public static final String className = "Newtonsoft.Json.JsonToken";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonToken(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public JsonToken() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static JsonToken getFrom(JCEnum object, String value) {
+ try {
+ return new JsonToken(object.fromValue(value));
+ } catch (JCException e) {
+ return new JsonToken(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static JsonToken None = getFrom(enumReflected, "None");
+ public static JsonToken StartObject = getFrom(enumReflected, "StartObject");
+ public static JsonToken StartArray = getFrom(enumReflected, "StartArray");
+ public static JsonToken StartConstructor = getFrom(enumReflected, "StartConstructor");
+ public static JsonToken PropertyName = getFrom(enumReflected, "PropertyName");
+ public static JsonToken Comment = getFrom(enumReflected, "Comment");
+ public static JsonToken Raw = getFrom(enumReflected, "Raw");
+ public static JsonToken Integer = getFrom(enumReflected, "Integer");
+ public static JsonToken Float = getFrom(enumReflected, "Float");
+ public static JsonToken String = getFrom(enumReflected, "String");
+ public static JsonToken Boolean = getFrom(enumReflected, "Boolean");
+ public static JsonToken Null = getFrom(enumReflected, "Null");
+ public static JsonToken Undefined = getFrom(enumReflected, "Undefined");
+ public static JsonToken EndObject = getFrom(enumReflected, "EndObject");
+ public static JsonToken EndArray = getFrom(enumReflected, "EndArray");
+ public static JsonToken EndConstructor = getFrom(enumReflected, "EndConstructor");
+ public static JsonToken Date = getFrom(enumReflected, "Date");
+ public static JsonToken Bytes = getFrom(enumReflected, "Bytes");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonValidatingReader.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonValidatingReader.java
new file mode 100644
index 000000000..ebc3a92b7
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonValidatingReader.java
@@ -0,0 +1,274 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonValidatingReader
+ */
+public class JsonValidatingReader extends JsonReader {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonValidatingReader
+ */
+ public static final String className = "Newtonsoft.Json.JsonValidatingReader";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonValidatingReader(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonValidatingReader}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonValidatingReader} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonValidatingReader cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonValidatingReader(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonValidatingReader() throws Throwable {
+ }
+
+ public JsonValidatingReader(JsonReader reader) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(reader == null ? null : reader.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public boolean Read() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.OutOfMemoryException, system.IndexOutOfRangeException, system.collections.generic.KeyNotFoundException, system.NotSupportedException, system.InvalidOperationException, newtonsoft.json.JsonReaderException, system.security.SecurityException, system.FormatException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException, system.OverflowException, system.InvalidCastException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Read");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public byte[] ReadAsBytes() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, newtonsoft.json.JsonReaderException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.FormatException, system.OutOfMemoryException, system.IndexOutOfRangeException, system.collections.generic.KeyNotFoundException, system.NotSupportedException, system.security.SecurityException, newtonsoft.json.JsonWriterException, system.OverflowException, system.InvalidCastException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ ArrayList
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonWriter
+ */
+public class JsonWriter extends NetObject implements system.IDisposable, AutoCloseable {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonWriter
+ */
+ public static final String className = "Newtonsoft.Json.JsonWriter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonWriter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonWriter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonWriter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonWriter() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public void Close() throws Throwable, system.ArgumentOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Close");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Flush() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Flush");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteComment(java.lang.String text) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteComment", text);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteEnd() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteEnd");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteEndArray() throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteEndArray");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteEndConstructor() throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteEndConstructor");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteEndObject() throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteEndObject");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteNull() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteNull");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WritePropertyName(java.lang.String name) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WritePropertyName", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WritePropertyName(java.lang.String name, boolean escape) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WritePropertyName", name, escape);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteRaw(java.lang.String json) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteRaw", json);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteRawValue(java.lang.String json) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteRawValue", json);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartArray() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartArray");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartConstructor(java.lang.String name) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartConstructor", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartObject() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartObject");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteToken(JsonReader reader) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteToken", reader == null ? null : reader.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteToken(JsonReader reader, boolean writeChildren) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteToken", reader == null ? null : reader.getJCOInstance(), writeChildren);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteToken(JsonToken token) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteToken", token == null ? null : token.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteToken(JsonToken token, NetObject value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteToken", token == null ? null : token.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteUndefined() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteUndefined");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(boolean value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte[] value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(JCORefOut dupParam0) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)dupParam0.getJCRefOut());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(char value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(double value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(short value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(int value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(long value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(SByte value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Single value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTime value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTimeOffset value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Decimal value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Guid value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(NetObject value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(java.lang.String value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(TimeSpan value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Uri value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt16 value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt32 value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt64 value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteWhitespace(java.lang.String ws) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteWhitespace", ws);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIDisposable method available in IDisposable to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void Dispose() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIDisposable to obtain the full interface.");
+ }
+
+ public void close() throws Exception {
+ try {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Dispose");
+ }
+ catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ } catch (Throwable t) {
+ throw new Exception(t);
+ }
+ }
+
+ // Properties section
+
+ public boolean getCloseOutput() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("CloseOutput");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCloseOutput(boolean CloseOutput) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CloseOutput", CloseOutput);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateFormatHandling getDateFormatHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateFormatHandling");
+ return new DateFormatHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateFormatHandling(DateFormatHandling DateFormatHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateFormatHandling", DateFormatHandling == null ? null : DateFormatHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateTimeZoneHandling getDateTimeZoneHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateTimeZoneHandling");
+ return new DateTimeZoneHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateTimeZoneHandling(DateTimeZoneHandling DateTimeZoneHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateTimeZoneHandling", DateTimeZoneHandling == null ? null : DateTimeZoneHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public FloatFormatHandling getFloatFormatHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("FloatFormatHandling");
+ return new FloatFormatHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFloatFormatHandling(FloatFormatHandling FloatFormatHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("FloatFormatHandling", FloatFormatHandling == null ? null : FloatFormatHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public Formatting getFormatting() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Formatting");
+ return new Formatting(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFormatting(Formatting Formatting) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Formatting", Formatting == null ? null : Formatting.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public StringEscapeHandling getStringEscapeHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("StringEscapeHandling");
+ return new StringEscapeHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setStringEscapeHandling(StringEscapeHandling StringEscapeHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("StringEscapeHandling", StringEscapeHandling == null ? null : StringEscapeHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public WriteState getWriteState() throws Throwable, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("WriteState");
+ return new WriteState(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public CultureInfo getCulture() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Culture");
+ return new CultureInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCulture(CultureInfo Culture) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Culture", Culture == null ? null : Culture.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getDateFormatString() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("DateFormatString");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateFormatString(java.lang.String DateFormatString) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateFormatString", DateFormatString);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPath() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Path");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonWriterException.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonWriterException.java
new file mode 100644
index 000000000..dc3fffb9d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/JsonWriterException.java
@@ -0,0 +1,202 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.JsonWriterException
+ */
+public class JsonWriterException extends JsonException {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.JsonWriterException
+ */
+ public static final String className = "Newtonsoft.Json.JsonWriterException";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+ JCNativeException jcNativeException = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException jce) {
+ JCOReflector.writeLog(jce);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonWriterException() {
+ super();
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonWriterException(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else if (instance instanceof JCNativeException) {
+ jcNativeException = (JCNativeException) instance;
+ classInstance = jcNativeException.getCLRException();
+ }
+ }
+
+ public JsonWriterException(String message) {
+ super(message);
+ }
+
+ public JsonWriterException(NetException cause) {
+ super(cause);
+ }
+
+ public JsonWriterException(String message, NetException cause) {
+ super(message, cause);
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonWriterException}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonWriterException} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonWriterException cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonWriterException(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonWriterException(SerializationInfo info, StreamingContext context) throws Throwable, system.ArgumentNullException, system.FormatException, system.runtime.serialization.SerializationException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(info == null ? null : info.getJCOInstance(), context == null ? null : context.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public java.lang.String getPath() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Path");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPath(java.lang.String Path) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Path", Path);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MemberSerialization.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MemberSerialization.java
new file mode 100644
index 000000000..6e07d0460
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MemberSerialization.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.MemberSerialization
+ */
+public class MemberSerialization extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.MemberSerialization
+ */
+ public static final String className = "Newtonsoft.Json.MemberSerialization";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public MemberSerialization(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public MemberSerialization() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static MemberSerialization getFrom(JCEnum object, String value) {
+ try {
+ return new MemberSerialization(object.fromValue(value));
+ } catch (JCException e) {
+ return new MemberSerialization(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static MemberSerialization OptOut = getFrom(enumReflected, "OptOut");
+ public static MemberSerialization OptIn = getFrom(enumReflected, "OptIn");
+ public static MemberSerialization Fields = getFrom(enumReflected, "Fields");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MetadataPropertyHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MetadataPropertyHandling.java
new file mode 100644
index 000000000..0f07fe1fb
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MetadataPropertyHandling.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.MetadataPropertyHandling
+ */
+public class MetadataPropertyHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.MetadataPropertyHandling
+ */
+ public static final String className = "Newtonsoft.Json.MetadataPropertyHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public MetadataPropertyHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public MetadataPropertyHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static MetadataPropertyHandling getFrom(JCEnum object, String value) {
+ try {
+ return new MetadataPropertyHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new MetadataPropertyHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static MetadataPropertyHandling Default = getFrom(enumReflected, "Default");
+ public static MetadataPropertyHandling ReadAhead = getFrom(enumReflected, "ReadAhead");
+ public static MetadataPropertyHandling Ignore = getFrom(enumReflected, "Ignore");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MissingMemberHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MissingMemberHandling.java
new file mode 100644
index 000000000..75552e872
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/MissingMemberHandling.java
@@ -0,0 +1,175 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.MissingMemberHandling
+ */
+public class MissingMemberHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.MissingMemberHandling
+ */
+ public static final String className = "Newtonsoft.Json.MissingMemberHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public MissingMemberHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public MissingMemberHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static MissingMemberHandling getFrom(JCEnum object, String value) {
+ try {
+ return new MissingMemberHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new MissingMemberHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static MissingMemberHandling Ignore = getFrom(enumReflected, "Ignore");
+ public static MissingMemberHandling Error = getFrom(enumReflected, "Error");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/NullValueHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/NullValueHandling.java
new file mode 100644
index 000000000..38fd127f8
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/NullValueHandling.java
@@ -0,0 +1,175 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.NullValueHandling
+ */
+public class NullValueHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.NullValueHandling
+ */
+ public static final String className = "Newtonsoft.Json.NullValueHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public NullValueHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public NullValueHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static NullValueHandling getFrom(JCEnum object, String value) {
+ try {
+ return new NullValueHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new NullValueHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static NullValueHandling Include = getFrom(enumReflected, "Include");
+ public static NullValueHandling Ignore = getFrom(enumReflected, "Ignore");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/ObjectCreationHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/ObjectCreationHandling.java
new file mode 100644
index 000000000..9647806fe
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/ObjectCreationHandling.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.ObjectCreationHandling
+ */
+public class ObjectCreationHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.ObjectCreationHandling
+ */
+ public static final String className = "Newtonsoft.Json.ObjectCreationHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ObjectCreationHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public ObjectCreationHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static ObjectCreationHandling getFrom(JCEnum object, String value) {
+ try {
+ return new ObjectCreationHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new ObjectCreationHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static ObjectCreationHandling Auto = getFrom(enumReflected, "Auto");
+ public static ObjectCreationHandling Reuse = getFrom(enumReflected, "Reuse");
+ public static ObjectCreationHandling Replace = getFrom(enumReflected, "Replace");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/PreserveReferencesHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/PreserveReferencesHandling.java
new file mode 100644
index 000000000..9471071f2
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/PreserveReferencesHandling.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.PreserveReferencesHandling
+ */
+public class PreserveReferencesHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.PreserveReferencesHandling
+ */
+ public static final String className = "Newtonsoft.Json.PreserveReferencesHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public PreserveReferencesHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public PreserveReferencesHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static PreserveReferencesHandling getFrom(JCEnum object, String value) {
+ try {
+ return new PreserveReferencesHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new PreserveReferencesHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static PreserveReferencesHandling None = getFrom(enumReflected, "None");
+ public static PreserveReferencesHandling Objects = getFrom(enumReflected, "Objects");
+ public static PreserveReferencesHandling Arrays = getFrom(enumReflected, "Arrays");
+ public static PreserveReferencesHandling All = getFrom(enumReflected, "All");
+
+
+ // Flags management section
+
+ public final PreserveReferencesHandling add(PreserveReferencesHandling val) throws Throwable {
+ return new PreserveReferencesHandling(NetEnum.add(classInstance, val.classInstance));
+ }
+
+ public final PreserveReferencesHandling remove(PreserveReferencesHandling val) throws Throwable {
+ return new PreserveReferencesHandling(NetEnum.remove(classInstance, val.classInstance));
+ }
+
+ public final boolean is(PreserveReferencesHandling val) throws Throwable {
+ return NetEnum.is(classInstance, val.classInstance);
+ }
+
+ public final boolean has(PreserveReferencesHandling val) throws Throwable {
+ return NetEnum.has(classInstance, val.classInstance);
+ }
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/ReferenceLoopHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/ReferenceLoopHandling.java
new file mode 100644
index 000000000..703fed05a
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/ReferenceLoopHandling.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.ReferenceLoopHandling
+ */
+public class ReferenceLoopHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.ReferenceLoopHandling
+ */
+ public static final String className = "Newtonsoft.Json.ReferenceLoopHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ReferenceLoopHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public ReferenceLoopHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static ReferenceLoopHandling getFrom(JCEnum object, String value) {
+ try {
+ return new ReferenceLoopHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new ReferenceLoopHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static ReferenceLoopHandling Error = getFrom(enumReflected, "Error");
+ public static ReferenceLoopHandling Ignore = getFrom(enumReflected, "Ignore");
+ public static ReferenceLoopHandling Serialize = getFrom(enumReflected, "Serialize");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/Required.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/Required.java
new file mode 100644
index 000000000..6f9bb4616
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/Required.java
@@ -0,0 +1,177 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Required
+ */
+public class Required extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Required
+ */
+ public static final String className = "Newtonsoft.Json.Required";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public Required(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public Required() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static Required getFrom(JCEnum object, String value) {
+ try {
+ return new Required(object.fromValue(value));
+ } catch (JCException e) {
+ return new Required(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static Required Default = getFrom(enumReflected, "Default");
+ public static Required AllowNull = getFrom(enumReflected, "AllowNull");
+ public static Required Always = getFrom(enumReflected, "Always");
+ public static Required DisallowNull = getFrom(enumReflected, "DisallowNull");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/StringEscapeHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/StringEscapeHandling.java
new file mode 100644
index 000000000..17c89c203
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/StringEscapeHandling.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.StringEscapeHandling
+ */
+public class StringEscapeHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.StringEscapeHandling
+ */
+ public static final String className = "Newtonsoft.Json.StringEscapeHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public StringEscapeHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public StringEscapeHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static StringEscapeHandling getFrom(JCEnum object, String value) {
+ try {
+ return new StringEscapeHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new StringEscapeHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static StringEscapeHandling Default = getFrom(enumReflected, "Default");
+ public static StringEscapeHandling EscapeNonAscii = getFrom(enumReflected, "EscapeNonAscii");
+ public static StringEscapeHandling EscapeHtml = getFrom(enumReflected, "EscapeHtml");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/TypeNameHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/TypeNameHandling.java
new file mode 100644
index 000000000..cab916db4
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/TypeNameHandling.java
@@ -0,0 +1,192 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.TypeNameHandling
+ */
+public class TypeNameHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.TypeNameHandling
+ */
+ public static final String className = "Newtonsoft.Json.TypeNameHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public TypeNameHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public TypeNameHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static TypeNameHandling getFrom(JCEnum object, String value) {
+ try {
+ return new TypeNameHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new TypeNameHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static TypeNameHandling None = getFrom(enumReflected, "None");
+ public static TypeNameHandling Objects = getFrom(enumReflected, "Objects");
+ public static TypeNameHandling Arrays = getFrom(enumReflected, "Arrays");
+ public static TypeNameHandling All = getFrom(enumReflected, "All");
+ public static TypeNameHandling Auto = getFrom(enumReflected, "Auto");
+
+
+ // Flags management section
+
+ public final TypeNameHandling add(TypeNameHandling val) throws Throwable {
+ return new TypeNameHandling(NetEnum.add(classInstance, val.classInstance));
+ }
+
+ public final TypeNameHandling remove(TypeNameHandling val) throws Throwable {
+ return new TypeNameHandling(NetEnum.remove(classInstance, val.classInstance));
+ }
+
+ public final boolean is(TypeNameHandling val) throws Throwable {
+ return NetEnum.is(classInstance, val.classInstance);
+ }
+
+ public final boolean has(TypeNameHandling val) throws Throwable {
+ return NetEnum.has(classInstance, val.classInstance);
+ }
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/WriteState.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/WriteState.java
new file mode 100644
index 000000000..f974cdc5a
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/WriteState.java
@@ -0,0 +1,180 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.WriteState
+ */
+public class WriteState extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.WriteState
+ */
+ public static final String className = "Newtonsoft.Json.WriteState";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public WriteState(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public WriteState() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static WriteState getFrom(JCEnum object, String value) {
+ try {
+ return new WriteState(object.fromValue(value));
+ } catch (JCException e) {
+ return new WriteState(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static WriteState Error = getFrom(enumReflected, "Error");
+ public static WriteState Closed = getFrom(enumReflected, "Closed");
+ public static WriteState Object = getFrom(enumReflected, "Object");
+ public static WriteState Array = getFrom(enumReflected, "Array");
+ public static WriteState Constructor = getFrom(enumReflected, "Constructor");
+ public static WriteState Property = getFrom(enumReflected, "Property");
+ public static WriteState Start = getFrom(enumReflected, "Start");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/bson/BsonObjectId.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/bson/BsonObjectId.java
new file mode 100644
index 000000000..b18621711
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/bson/BsonObjectId.java
@@ -0,0 +1,198 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Bson.BsonObjectId
+ */
+public class BsonObjectId extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Bson.BsonObjectId
+ */
+ public static final String className = "Newtonsoft.Json.Bson.BsonObjectId";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public BsonObjectId(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link BsonObjectId}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link BsonObjectId} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static BsonObjectId cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new BsonObjectId(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public BsonObjectId() throws Throwable {
+ }
+
+ public BsonObjectId(byte[] value) throws Throwable, system.ArgumentNullException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject((java.lang.Object)value));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public byte[] getValue() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ ArrayList
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Bson.BsonReader
+ */
+public class BsonReader extends JsonReader {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Bson.BsonReader
+ */
+ public static final String className = "Newtonsoft.Json.Bson.BsonReader";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public BsonReader(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link BsonReader}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link BsonReader} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static BsonReader cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new BsonReader(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public BsonReader() throws Throwable {
+ }
+
+ public BsonReader(BinaryReader reader) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(reader == null ? null : reader.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public BsonReader(BinaryReader reader, boolean readRootValueAsArray, DateTimeKind dateTimeKindHandling) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(reader == null ? null : reader.getJCOInstance(), readRootValueAsArray, dateTimeKindHandling == null ? null : dateTimeKindHandling.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public BsonReader(Stream stream) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(stream == null ? null : stream.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public BsonReader(Stream stream, boolean readRootValueAsArray, DateTimeKind dateTimeKindHandling) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(stream == null ? null : stream.getJCOInstance(), readRootValueAsArray, dateTimeKindHandling == null ? null : dateTimeKindHandling.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public boolean Read() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.ArgumentException, newtonsoft.json.JsonReaderException, system.ObjectDisposedException, system.io.EndOfStreamException, system.OutOfMemoryException, system.OverflowException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Read");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Close() throws Throwable, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Close");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getJsonNet35BinaryCompatibility() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("JsonNet35BinaryCompatibility");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setJsonNet35BinaryCompatibility(boolean JsonNet35BinaryCompatibility) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("JsonNet35BinaryCompatibility", JsonNet35BinaryCompatibility);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getReadRootValueAsArray() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("ReadRootValueAsArray");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReadRootValueAsArray(boolean ReadRootValueAsArray) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ReadRootValueAsArray", ReadRootValueAsArray);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateTimeKind getDateTimeKindHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateTimeKindHandling");
+ return new DateTimeKind(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateTimeKindHandling(DateTimeKind DateTimeKindHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateTimeKindHandling", DateTimeKindHandling == null ? null : DateTimeKindHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/bson/BsonWriter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/bson/BsonWriter.java
new file mode 100644
index 000000000..5e1612b79
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/bson/BsonWriter.java
@@ -0,0 +1,575 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Bson.BsonWriter
+ */
+public class BsonWriter extends JsonWriter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Bson.BsonWriter
+ */
+ public static final String className = "Newtonsoft.Json.Bson.BsonWriter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public BsonWriter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link BsonWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link BsonWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static BsonWriter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new BsonWriter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public BsonWriter() throws Throwable {
+ }
+
+ public BsonWriter(BinaryWriter writer) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(writer == null ? null : writer.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public BsonWriter(Stream stream) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(stream == null ? null : stream.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public void Close() throws Throwable, newtonsoft.json.JsonWriterException, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Close");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Flush() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Flush");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteComment(java.lang.String text) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteComment", text);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteNull() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteNull");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteObjectId(byte[] value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteObjectId", (java.lang.Object)value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteObjectId(JCORefOut dupParam0) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteObjectId", (java.lang.Object)dupParam0.getJCRefOut());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WritePropertyName(java.lang.String name) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WritePropertyName", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteRaw(java.lang.String json) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteRaw", json);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteRawValue(java.lang.String json) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteRawValue", json);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteRegex(java.lang.String pattern, java.lang.String options) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteRegex", pattern, options);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartArray() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartArray");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartConstructor(java.lang.String name) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartConstructor", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartObject() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartObject");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteUndefined() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteUndefined");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(boolean value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte[] value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(JCORefOut dupParam0) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)dupParam0.getJCRefOut());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(char value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(double value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(short value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(int value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(long value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(SByte value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Single value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTime value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.OverflowException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTimeOffset value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Decimal value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Guid value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(java.lang.String value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(TimeSpan value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Uri value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt16 value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt32 value) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt64 value) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public DateTimeKind getDateTimeKindHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateTimeKindHandling");
+ return new DateTimeKind(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateTimeKindHandling(DateTimeKind DateTimeKindHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateTimeKindHandling", DateTimeKindHandling == null ? null : DateTimeKindHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/BinaryConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/BinaryConverter.java
new file mode 100644
index 000000000..c300fa859
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/BinaryConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.BinaryConverter
+ */
+public class BinaryConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.BinaryConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.BinaryConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public BinaryConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link BinaryConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link BinaryConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static BinaryConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new BinaryConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public BinaryConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, system.resources.MissingManifestResourceException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotSupportedException, system.NotImplementedException, system.data.sqltypes.SqlNullValueException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/BsonObjectIdConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/BsonObjectIdConverter.java
new file mode 100644
index 000000000..1537b988d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/BsonObjectIdConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.BsonObjectIdConverter
+ */
+public class BsonObjectIdConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.BsonObjectIdConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.BsonObjectIdConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public BsonObjectIdConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link BsonObjectIdConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link BsonObjectIdConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static BsonObjectIdConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new BsonObjectIdConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public BsonObjectIdConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, newtonsoft.json.JsonSerializationException, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DataSetConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DataSetConverter.java
new file mode 100644
index 000000000..1d09154f8
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DataSetConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.DataSetConverter
+ */
+public class DataSetConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.DataSetConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.DataSetConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DataSetConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DataSetConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DataSetConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DataSetConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DataSetConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DataSetConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType valueType) throws Throwable, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", valueType == null ? null : valueType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.security.SecurityException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.ArgumentOutOfRangeException, newtonsoft.json.JsonSerializationException, system.collections.generic.KeyNotFoundException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DataTableConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DataTableConverter.java
new file mode 100644
index 000000000..944a3dc16
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DataTableConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.DataTableConverter
+ */
+public class DataTableConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.DataTableConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.DataTableConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DataTableConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DataTableConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DataTableConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DataTableConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DataTableConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DataTableConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType valueType) throws Throwable, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", valueType == null ? null : valueType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.security.SecurityException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.ArgumentOutOfRangeException, system.collections.generic.KeyNotFoundException, newtonsoft.json.JsonSerializationException, system.NullReferenceException, system.configuration.ConfigurationErrorsException, system.data.DataException, system.OverflowException, system.FormatException, system.InvalidCastException, newtonsoft.json.JsonReaderException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, newtonsoft.json.JsonSerializationException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DateTimeConverterBase.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DateTimeConverterBase.java
new file mode 100644
index 000000000..2ceb49892
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DateTimeConverterBase.java
@@ -0,0 +1,168 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.DateTimeConverterBase
+ */
+public class DateTimeConverterBase extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.DateTimeConverterBase
+ */
+ public static final String className = "Newtonsoft.Json.Converters.DateTimeConverterBase";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DateTimeConverterBase(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DateTimeConverterBase}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DateTimeConverterBase} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DateTimeConverterBase cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DateTimeConverterBase(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DateTimeConverterBase() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DiscriminatedUnionConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DiscriminatedUnionConverter.java
new file mode 100644
index 000000000..4265200bf
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/DiscriminatedUnionConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.DiscriminatedUnionConverter
+ */
+public class DiscriminatedUnionConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.DiscriminatedUnionConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.DiscriminatedUnionConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DiscriminatedUnionConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DiscriminatedUnionConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DiscriminatedUnionConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DiscriminatedUnionConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DiscriminatedUnionConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DiscriminatedUnionConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.ArgumentNullException, system.FormatException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, system.NotSupportedException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, newtonsoft.json.JsonReaderException, system.FormatException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, system.FormatException, newtonsoft.json.JsonWriterException, newtonsoft.json.JsonSerializationException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/EntityKeyMemberConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/EntityKeyMemberConverter.java
new file mode 100644
index 000000000..d2d9d0b90
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/EntityKeyMemberConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.EntityKeyMemberConverter
+ */
+public class EntityKeyMemberConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.EntityKeyMemberConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.EntityKeyMemberConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public EntityKeyMemberConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link EntityKeyMemberConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link EntityKeyMemberConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static EntityKeyMemberConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new EntityKeyMemberConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public EntityKeyMemberConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.NotSupportedException, system.NotImplementedException, system.InvalidOperationException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, system.TypeLoadException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.FormatException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.NotSupportedException, system.NotImplementedException, system.InvalidOperationException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/ExpandoObjectConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/ExpandoObjectConverter.java
new file mode 100644
index 000000000..9863eceeb
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/ExpandoObjectConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.ExpandoObjectConverter
+ */
+public class ExpandoObjectConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.ExpandoObjectConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.ExpandoObjectConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ExpandoObjectConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ExpandoObjectConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ExpandoObjectConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ExpandoObjectConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ExpandoObjectConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public ExpandoObjectConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/IsoDateTimeConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/IsoDateTimeConverter.java
new file mode 100644
index 000000000..40e60a859
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/IsoDateTimeConverter.java
@@ -0,0 +1,254 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.IsoDateTimeConverter
+ */
+public class IsoDateTimeConverter extends DateTimeConverterBase {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.IsoDateTimeConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.IsoDateTimeConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public IsoDateTimeConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IsoDateTimeConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IsoDateTimeConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IsoDateTimeConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new IsoDateTimeConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public IsoDateTimeConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, system.InvalidTimeZoneException, system.security.SecurityException, system.io.IOException, system.OverflowException, system.TypeInitializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidTimeZoneException, system.security.SecurityException, system.io.IOException, system.InvalidOperationException, system.NotSupportedException, system.OverflowException, system.TypeInitializationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.IndexOutOfRangeException, system.FormatException, system.OutOfMemoryException, system.NullReferenceException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public CultureInfo getCulture() throws Throwable, system.ArgumentNullException, system.TypeLoadException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Culture");
+ return new CultureInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCulture(CultureInfo Culture) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Culture", Culture == null ? null : Culture.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DateTimeStyles getDateTimeStyles() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DateTimeStyles");
+ return new DateTimeStyles(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateTimeStyles(DateTimeStyles DateTimeStyles) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateTimeStyles", DateTimeStyles == null ? null : DateTimeStyles.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getDateTimeFormat() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("DateTimeFormat");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDateTimeFormat(java.lang.String DateTimeFormat) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DateTimeFormat", DateTimeFormat);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/JavaScriptDateTimeConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/JavaScriptDateTimeConverter.java
new file mode 100644
index 000000000..ac7277b92
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/JavaScriptDateTimeConverter.java
@@ -0,0 +1,190 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.JavaScriptDateTimeConverter
+ */
+public class JavaScriptDateTimeConverter extends DateTimeConverterBase {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.JavaScriptDateTimeConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.JavaScriptDateTimeConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JavaScriptDateTimeConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JavaScriptDateTimeConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JavaScriptDateTimeConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JavaScriptDateTimeConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JavaScriptDateTimeConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JavaScriptDateTimeConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, system.InvalidTimeZoneException, system.security.SecurityException, system.io.IOException, system.OverflowException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidTimeZoneException, system.security.SecurityException, system.io.IOException, system.InvalidOperationException, system.NotSupportedException, system.OverflowException, newtonsoft.json.JsonSerializationException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/KeyValuePairConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/KeyValuePairConverter.java
new file mode 100644
index 000000000..75aebec28
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/KeyValuePairConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.KeyValuePairConverter
+ */
+public class KeyValuePairConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.KeyValuePairConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.KeyValuePairConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public KeyValuePairConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link KeyValuePairConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link KeyValuePairConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static KeyValuePairConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new KeyValuePairConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public KeyValuePairConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable, system.ArgumentNullException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.FormatException, newtonsoft.json.JsonWriterException, system.NotImplementedException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, newtonsoft.json.JsonSerializationException, system.NotSupportedException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/RegexConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/RegexConverter.java
new file mode 100644
index 000000000..fdf00115d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/RegexConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.RegexConverter
+ */
+public class RegexConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.RegexConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.RegexConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public RegexConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link RegexConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link RegexConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static RegexConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new RegexConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public RegexConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonSerializationException, system.NotSupportedException, newtonsoft.json.JsonReaderException, system.OutOfMemoryException, system.resources.MissingManifestResourceException, system.NullReferenceException, system.RankException, system.security.SecurityException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.IndexOutOfRangeException, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonWriterException, newtonsoft.json.JsonSerializationException, system.NotSupportedException, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/StringEnumConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/StringEnumConverter.java
new file mode 100644
index 000000000..3caa521f9
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/StringEnumConverter.java
@@ -0,0 +1,250 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.StringEnumConverter
+ */
+public class StringEnumConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.StringEnumConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.StringEnumConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public StringEnumConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link StringEnumConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link StringEnumConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static StringEnumConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new StringEnumConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public StringEnumConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public StringEnumConverter(boolean camelCaseText) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(camelCaseText));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable, system.ArgumentNullException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, system.IndexOutOfRangeException, system.InvalidCastException, system.NullReferenceException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.UriFormatException, system.TypeLoadException, system.OverflowException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotSupportedException, system.OutOfMemoryException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getAllowIntegerValues() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("AllowIntegerValues");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setAllowIntegerValues(boolean AllowIntegerValues) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("AllowIntegerValues", AllowIntegerValues);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getCamelCaseText() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("CamelCaseText");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCamelCaseText(boolean CamelCaseText) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CamelCaseText", CamelCaseText);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/VersionConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/VersionConverter.java
new file mode 100644
index 000000000..55af88e07
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/VersionConverter.java
@@ -0,0 +1,200 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.VersionConverter
+ */
+public class VersionConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.VersionConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.VersionConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public VersionConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link VersionConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link VersionConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static VersionConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new VersionConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public VersionConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType objectType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", objectType == null ? null : objectType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.FormatException, system.OverflowException, system.ArgumentOutOfRangeException, system.ArgumentException, system.InvalidOperationException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/XmlNodeConverter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/XmlNodeConverter.java
new file mode 100644
index 000000000..3b2cb82d8
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/converters/XmlNodeConverter.java
@@ -0,0 +1,260 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Converters.XmlNodeConverter
+ */
+public class XmlNodeConverter extends JsonConverter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Converters.XmlNodeConverter
+ */
+ public static final String className = "Newtonsoft.Json.Converters.XmlNodeConverter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public XmlNodeConverter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link XmlNodeConverter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link XmlNodeConverter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static XmlNodeConverter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new XmlNodeConverter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public XmlNodeConverter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean CanConvert(NetType valueType) throws Throwable, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanConvert", valueType == null ? null : valueType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ReadJson(JsonReader reader, NetType objectType, NetObject existingValue, JsonSerializer serializer) throws Throwable, system.InvalidOperationException, newtonsoft.json.JsonSerializationException, system.NullReferenceException, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.security.SecurityException, system.IndexOutOfRangeException, system.OutOfMemoryException, system.FormatException, system.OverflowException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objReadJson = (JCObject)classInstance.Invoke("ReadJson", reader == null ? null : reader.getJCOInstance(), objectType == null ? null : objectType.getJCOInstance(), existingValue == null ? null : existingValue.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ return new NetObject(objReadJson);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteJson(JsonWriter writer, NetObject value, JsonSerializer serializer) throws Throwable, system.ArgumentException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.RankException, system.NullReferenceException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.NotSupportedException, newtonsoft.json.JsonSerializationException, system.FormatException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteJson", writer == null ? null : writer.getJCOInstance(), value == null ? null : value.getJCOInstance(), serializer == null ? null : serializer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getOmitRootObject() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("OmitRootObject");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOmitRootObject(boolean OmitRootObject) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OmitRootObject", OmitRootObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getWriteArrayAttribute() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("WriteArrayAttribute");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setWriteArrayAttribute(boolean WriteArrayAttribute) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("WriteArrayAttribute", WriteArrayAttribute);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getDeserializeRootElementName() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("DeserializeRootElementName");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDeserializeRootElementName(java.lang.String DeserializeRootElementName) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DeserializeRootElementName", DeserializeRootElementName);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/CommentHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/CommentHandling.java
new file mode 100644
index 000000000..bd8ac292b
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/CommentHandling.java
@@ -0,0 +1,175 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.CommentHandling
+ */
+public class CommentHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.CommentHandling
+ */
+ public static final String className = "Newtonsoft.Json.Linq.CommentHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public CommentHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public CommentHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static CommentHandling getFrom(JCEnum object, String value) {
+ try {
+ return new CommentHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new CommentHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static CommentHandling Ignore = getFrom(enumReflected, "Ignore");
+ public static CommentHandling Load = getFrom(enumReflected, "Load");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/Extensions.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/Extensions.java
new file mode 100644
index 000000000..810c998d5
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/Extensions.java
@@ -0,0 +1,157 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.Extensions
+ */
+public class Extensions extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.Extensions
+ */
+ public static final String className = "Newtonsoft.Json.Linq.Extensions";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public Extensions(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link Extensions}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link Extensions} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static Extensions cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new Extensions(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public Extensions() throws Throwable {
+ }
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JArray.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JArray.java
new file mode 100644
index 000000000..ef49a33f5
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JArray.java
@@ -0,0 +1,371 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JArray
+ */
+public class JArray extends JContainer {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JArray
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JArray";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JArray(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JArray}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JArray} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JArray cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JArray(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JArray() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JArray(JArray other) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(other == null ? null : other.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JArray(NetObject content) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(content == null ? null : content.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JArray(NetObject... content) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject((java.lang.Object)toObjectFromArray(content)));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean Contains(JToken item) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Contains", item == null ? null : item.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean Remove(JToken item) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Remove", item == null ? null : item.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int IndexOf(JToken item) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Invoke("IndexOf", item == null ? null : item.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JArray FromObjectNewJArray(NetObject o) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objFromObject = (JCObject)classType.Invoke("FromObject", o == null ? null : o.getJCOInstance());
+ return new JArray(objFromObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JArray FromObjectNewJArray(NetObject o, JsonSerializer jsonSerializer) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.NotSupportedException, system.NotImplementedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objFromObject = (JCObject)classType.Invoke("FromObject", o == null ? null : o.getJCOInstance(), jsonSerializer == null ? null : jsonSerializer.getJCOInstance());
+ return new JArray(objFromObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JArray LoadNewJArray(JsonReader reader) throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance());
+ return new JArray(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JArray LoadNewJArray(JsonReader reader, JsonLoadSettings settings) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ return new JArray(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JArray ParseNewJArray(java.lang.String json) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objParse = (JCObject)classType.Invoke("Parse", json);
+ return new JArray(objParse);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JArray ParseNewJArray(java.lang.String json, JsonLoadSettings settings) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objParse = (JCObject)classType.Invoke("Parse", json, settings == null ? null : settings.getJCOInstance());
+ return new JArray(objParse);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Add(JToken item) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Add", item == null ? null : item.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Clear() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Clear");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void CopyTo(JToken[] array, int arrayIndex) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("CopyTo", toObjectFromArray(array), arrayIndex);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Insert(int index, JToken item) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Insert", index, item == null ? null : item.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void RemoveAt(int index) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("RemoveAt", index);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteTo(JsonWriter writer, JsonConverter... converters) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteTo", writer == null ? null : writer.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getIsReadOnly() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("IsReadOnly");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JConstructor.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JConstructor.java
new file mode 100644
index 000000000..0842b1432
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JConstructor.java
@@ -0,0 +1,266 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JConstructor
+ */
+public class JConstructor extends JContainer {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JConstructor
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JConstructor";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JConstructor(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JConstructor}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JConstructor} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JConstructor cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JConstructor(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JConstructor() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JConstructor(JConstructor other) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(other == null ? null : other.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JConstructor(java.lang.String name) throws Throwable, system.ArgumentNullException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(name));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JConstructor(java.lang.String name, NetObject content) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(name, content == null ? null : content.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JConstructor(java.lang.String name, NetObject... content) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(name, toObjectFromArray(content)));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public static JConstructor LoadNewJConstructor(JsonReader reader) throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance());
+ return new JConstructor(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JConstructor LoadNewJConstructor(JsonReader reader, JsonLoadSettings settings) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ return new JConstructor(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteTo(JsonWriter writer, JsonConverter... converters) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteTo", writer == null ? null : writer.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public java.lang.String getName() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Name");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setName(java.lang.String Name) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Name", Name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JContainer.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JContainer.java
new file mode 100644
index 000000000..8a30a9889
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JContainer.java
@@ -0,0 +1,446 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JContainer
+ */
+public class JContainer extends JToken implements system.componentmodel.ITypedList {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JContainer
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JContainer";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JContainer(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JContainer}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JContainer} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JContainer cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JContainer(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JContainer() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public JsonWriter CreateWriter() throws Throwable, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objCreateWriter = (JCObject)classInstance.Invoke("CreateWriter");
+ return new JsonWriter(objCreateWriter);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Add(NetObject content) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Add", content == null ? null : content.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void AddFirst(NetObject content) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("AddFirst", content == null ? null : content.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Merge(NetObject content) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Merge", content == null ? null : content.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Merge(NetObject content, JsonMergeSettings settings) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Merge", content == null ? null : content.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void RemoveAll() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("RemoveAll");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void ReplaceAll(NetObject content) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("ReplaceAll", content == null ? null : content.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToITypedList method available in ITypedList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToITypedList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToITypedList method available in ITypedList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public java.lang.String GetListName(PropertyDescriptor[] listAccessors) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToITypedList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIBindingList method available in IBindingList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public int Find(PropertyDescriptor property, NetObject key) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIBindingList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIBindingList method available in IBindingList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public NetObject AddNew() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIBindingList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIBindingList method available in IBindingList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void AddIndex(PropertyDescriptor property) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIBindingList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIBindingList method available in IBindingList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void ApplySort(PropertyDescriptor property, ListSortDirection direction) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIBindingList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIBindingList method available in IBindingList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void RemoveIndex(PropertyDescriptor property) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIBindingList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIBindingList method available in IBindingList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void RemoveSort() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIBindingList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIList method available in IList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public boolean Contains(NetObject value) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIList method available in IList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public int IndexOf(NetObject value) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIList method available in IList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void Clear() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIList method available in IList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void Insert(int index, NetObject value) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIList method available in IList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void Remove(NetObject value) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIList method available in IList to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void RemoveAt(int index) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIList to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToICollection method available in ICollection to obtain an object with an invocable method
+ */
+ @Deprecated
+ public void CopyTo(Array array, int index) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToICollection to obtain the full interface.");
+ }
+
+
+
+ // Properties section
+
+ public int getCount() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("Count");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+ public void addCollectionChanged(NotifyCollectionChangedEventHandler handler) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.RegisterEventListener("CollectionChanged", handler);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void removeCollectionChanged(NotifyCollectionChangedEventHandler handler) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.UnregisterEventListener("CollectionChanged", handler);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void addAddingNew(AddingNewEventHandler handler) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.RegisterEventListener("AddingNew", handler);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void removeAddingNew(AddingNewEventHandler handler) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.UnregisterEventListener("AddingNew", handler);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void addListChanged(ListChangedEventHandler handler) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.RegisterEventListener("ListChanged", handler);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void removeListChanged(ListChangedEventHandler handler) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.UnregisterEventListener("ListChanged", handler);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JObject.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JObject.java
new file mode 100644
index 000000000..81dfd0ac3
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JObject.java
@@ -0,0 +1,515 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JObject
+ */
+public class JObject extends JContainer implements system.componentmodel.ICustomTypeDescriptor {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JObject
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JObject";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JObject(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JObject}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JObject} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JObject cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JObject(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JObject() throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JObject(JObject other) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(other == null ? null : other.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JObject(NetObject content) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(content == null ? null : content.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JObject(NetObject... content) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject((java.lang.Object)toObjectFromArray(content)));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean Remove(java.lang.String propertyName) throws Throwable, system.ArgumentNullException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.FormatException, system.ArgumentException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Remove", propertyName);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean TryGetValue(java.lang.String propertyName, JCORefOut
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JProperty
+ */
+public class JProperty extends JContainer {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JProperty
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JProperty";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JProperty(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JProperty}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JProperty} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JProperty cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JProperty(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JProperty() throws Throwable {
+ }
+
+ public JProperty(JProperty other) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(other == null ? null : other.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JProperty(java.lang.String name, NetObject content) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(name, content == null ? null : content.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JProperty(java.lang.String name, NetObject... content) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(name, toObjectFromArray(content)));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public static JProperty LoadNewJProperty(JsonReader reader) throws Throwable, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance());
+ return new JProperty(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JProperty LoadNewJProperty(JsonReader reader, JsonLoadSettings settings) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ return new JProperty(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteTo(JsonWriter writer, JsonConverter... converters) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteTo", writer == null ? null : writer.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public JToken getValue() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Value");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setValue(JToken Value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Value", Value == null ? null : Value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getName() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Name");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JPropertyDescriptor.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JPropertyDescriptor.java
new file mode 100644
index 000000000..0f4a98022
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JPropertyDescriptor.java
@@ -0,0 +1,221 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JPropertyDescriptor
+ */
+public class JPropertyDescriptor extends PropertyDescriptor {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JPropertyDescriptor
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JPropertyDescriptor";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JPropertyDescriptor(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JPropertyDescriptor}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JPropertyDescriptor} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JPropertyDescriptor cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JPropertyDescriptor(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JPropertyDescriptor() throws Throwable {
+ }
+
+ public JPropertyDescriptor(java.lang.String name) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(name));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public boolean CanResetValue(NetObject component) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("CanResetValue", component == null ? null : component.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean ShouldSerializeValue(NetObject component) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("ShouldSerializeValue", component == null ? null : component.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject GetValue(NetObject component) throws Throwable, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetValue = (JCObject)classInstance.Invoke("GetValue", component == null ? null : component.getJCOInstance());
+ return new NetObject(objGetValue);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void ResetValue(NetObject component) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("ResetValue", component == null ? null : component.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void SetValue(NetObject component, NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.ArgumentException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.IndexOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("SetValue", component == null ? null : component.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JRaw.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JRaw.java
new file mode 100644
index 000000000..f2eff1a66
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JRaw.java
@@ -0,0 +1,193 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JRaw
+ */
+public class JRaw extends JValue {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JRaw
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JRaw";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JRaw(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JRaw}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JRaw} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JRaw cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JRaw(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JRaw() throws Throwable {
+ }
+
+ public JRaw(JRaw other) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(other == null ? null : other.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JRaw(NetObject rawJson) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(rawJson == null ? null : rawJson.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public static JRaw Create(JsonReader reader) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, system.InvalidOperationException, system.NotSupportedException, newtonsoft.json.JsonWriterException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreate = (JCObject)classType.Invoke("Create", reader == null ? null : reader.getJCOInstance());
+ return new JRaw(objCreate);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JToken.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JToken.java
new file mode 100644
index 000000000..683f5b047
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JToken.java
@@ -0,0 +1,593 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JToken
+ */
+public class JToken extends NetObjectEnumerable implements system.ICloneable, system.dynamic.IDynamicMetaObjectProvider {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JToken
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JToken";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JToken(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JToken}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JToken} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JToken cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JToken(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JToken() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public static boolean DeepEquals(JToken t1, JToken t2) throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (boolean)classType.Invoke("DeepEquals", t1 == null ? null : t1.getJCOInstance(), t2 == null ? null : t2.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonReader CreateReader() throws Throwable, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objCreateReader = (JCObject)classInstance.Invoke("CreateReader");
+ return new JsonReader(objCreateReader);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken DeepClone() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objDeepClone = (JCObject)classInstance.Invoke("DeepClone");
+ return new JToken(objDeepClone);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken FromObject(NetObject o) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.NotImplementedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objFromObject = (JCObject)classType.Invoke("FromObject", o == null ? null : o.getJCOInstance());
+ return new JToken(objFromObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken FromObject(NetObject o, JsonSerializer jsonSerializer) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonSerializationException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.NotSupportedException, system.NotImplementedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objFromObject = (JCObject)classType.Invoke("FromObject", o == null ? null : o.getJCOInstance(), jsonSerializer == null ? null : jsonSerializer.getJCOInstance());
+ return new JToken(objFromObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken Load(JsonReader reader) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance());
+ return new JToken(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken Load(JsonReader reader, JsonLoadSettings settings) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objLoad = (JCObject)classType.Invoke("Load", reader == null ? null : reader.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ return new JToken(objLoad);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken Parse(java.lang.String json) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.InvalidOperationException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objParse = (JCObject)classType.Invoke("Parse", json);
+ return new JToken(objParse);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken Parse(java.lang.String json, JsonLoadSettings settings) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objParse = (JCObject)classType.Invoke("Parse", json, settings == null ? null : settings.getJCOInstance());
+ return new JToken(objParse);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken ReadFrom(JsonReader reader) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objReadFrom = (JCObject)classType.Invoke("ReadFrom", reader == null ? null : reader.getJCOInstance());
+ return new JToken(objReadFrom);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JToken ReadFrom(JsonReader reader, JsonLoadSettings settings) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonReaderException, system.resources.MissingManifestResourceException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objReadFrom = (JCObject)classType.Invoke("ReadFrom", reader == null ? null : reader.getJCOInstance(), settings == null ? null : settings.getJCOInstance());
+ return new JToken(objReadFrom);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken SelectToken(java.lang.String path) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, newtonsoft.json.JsonException, system.IndexOutOfRangeException, system.ArgumentException, system.OverflowException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objSelectToken = (JCObject)classInstance.Invoke("SelectToken", path);
+ return new JToken(objSelectToken);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken SelectToken(java.lang.String path, boolean errorWhenNoMatch) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, newtonsoft.json.JsonException, system.OutOfMemoryException, system.IndexOutOfRangeException, system.ArgumentException, system.FormatException, system.OverflowException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objSelectToken = (JCObject)classInstance.Invoke("SelectToken", path, errorWhenNoMatch);
+ return new JToken(objSelectToken);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject Annotation(NetType type) throws Throwable, system.ArgumentNullException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objAnnotation = (JCObject)classInstance.Invoke("Annotation", type == null ? null : type.getJCOInstance());
+ return new NetObject(objAnnotation);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ToObject(NetType objectType) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.security.SecurityException, system.MemberAccessException, system.UriFormatException, system.OutOfMemoryException, system.InvalidCastException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objToObject = (JCObject)classInstance.Invoke("ToObject", objectType == null ? null : objectType.getJCOInstance());
+ return new NetObject(objToObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ToObject(NetType objectType, JsonSerializer jsonSerializer) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.NullReferenceException, system.globalization.CultureNotFoundException, system.FormatException, newtonsoft.json.JsonSerializationException, system.InvalidOperationException, system.NotSupportedException, newtonsoft.json.JsonWriterException, system.OutOfMemoryException, system.NotImplementedException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objToObject = (JCObject)classInstance.Invoke("ToObject", objectType == null ? null : objectType.getJCOInstance(), jsonSerializer == null ? null : jsonSerializer.getJCOInstance());
+ return new NetObject(objToObject);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String ToString(Formatting formatting, JsonConverter... converters) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("ToString", formatting == null ? null : formatting.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void AddAfterSelf(NetObject content) throws Throwable, system.InvalidOperationException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("AddAfterSelf", content == null ? null : content.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void AddAnnotation(NetObject annotation) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("AddAnnotation", annotation == null ? null : annotation.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void AddBeforeSelf(NetObject content) throws Throwable, system.InvalidOperationException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.ArgumentOutOfRangeException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("AddBeforeSelf", content == null ? null : content.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Remove() throws Throwable, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Remove");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void RemoveAnnotations(NetType type) throws Throwable, system.ArgumentNullException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("RemoveAnnotations", type == null ? null : type.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Replace(JToken value) throws Throwable, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Replace", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteTo(JsonWriter writer, JsonConverter... converters) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteTo", writer == null ? null : writer.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIJsonLineInfo method available in IJsonLineInfo to obtain an object with an invocable method
+ */
+ @Deprecated
+ public boolean HasLineInfo() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIJsonLineInfo to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToICloneable method available in ICloneable to obtain an object with an invocable method
+ */
+ @Deprecated
+ public NetObject Clone() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToICloneable to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIDynamicMetaObjectProvider method available in IDynamicMetaObjectProvider to obtain an object with an invocable method
+ */
+ @Deprecated
+ public DynamicMetaObject GetMetaObject(Expression parameter) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIDynamicMetaObjectProvider to obtain the full interface.");
+ }
+
+
+
+ // Properties section
+
+ public boolean getHasValues() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("HasValues");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JContainer getParent() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Parent");
+ return new JContainer(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setParent(JContainer Parent) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Parent", Parent == null ? null : Parent.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken getFirst() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("First");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken getLast() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Last");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken getNext() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Next");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setNext(JToken Next) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Next", Next == null ? null : Next.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken getPrevious() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Previous");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPrevious(JToken Previous) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Previous", Previous == null ? null : Previous.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken getRoot() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Root");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JTokenEqualityComparer getEqualityComparer() throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject val = (JCObject)classType.Get("EqualityComparer");
+ return new JTokenEqualityComparer(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JTokenType getType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Type");
+ return new JTokenType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPath() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.RankException, system.FormatException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Path");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenEqualityComparer.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenEqualityComparer.java
new file mode 100644
index 000000000..2226d6a33
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenEqualityComparer.java
@@ -0,0 +1,186 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JTokenEqualityComparer
+ */
+public class JTokenEqualityComparer extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JTokenEqualityComparer
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JTokenEqualityComparer";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JTokenEqualityComparer(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JTokenEqualityComparer}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JTokenEqualityComparer} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JTokenEqualityComparer cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JTokenEqualityComparer(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JTokenEqualityComparer() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public boolean Equals(JToken x, JToken y) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Equals", x == null ? null : x.getJCOInstance(), y == null ? null : y.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int GetHashCode(JToken obj) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Invoke("GetHashCode", obj == null ? null : obj.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenReader.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenReader.java
new file mode 100644
index 000000000..a006f4670
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenReader.java
@@ -0,0 +1,201 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JTokenReader
+ */
+public class JTokenReader extends JsonReader {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JTokenReader
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JTokenReader";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JTokenReader(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JTokenReader}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JTokenReader} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JTokenReader cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JTokenReader(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JTokenReader() throws Throwable {
+ }
+
+ public JTokenReader(JToken token) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(token == null ? null : token.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public boolean Read() throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Read");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIJsonLineInfo method available in IJsonLineInfo to obtain an object with an invocable method
+ */
+ @Deprecated
+ public boolean HasLineInfo() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIJsonLineInfo to obtain the full interface.");
+ }
+
+
+
+ // Properties section
+
+ public JToken getCurrentToken() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("CurrentToken");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenType.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenType.java
new file mode 100644
index 000000000..39b2423e5
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenType.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JTokenType
+ */
+public class JTokenType extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JTokenType
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JTokenType";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JTokenType(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public JTokenType() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static JTokenType getFrom(JCEnum object, String value) {
+ try {
+ return new JTokenType(object.fromValue(value));
+ } catch (JCException e) {
+ return new JTokenType(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static JTokenType None = getFrom(enumReflected, "None");
+ public static JTokenType Object = getFrom(enumReflected, "Object");
+ public static JTokenType Array = getFrom(enumReflected, "Array");
+ public static JTokenType Constructor = getFrom(enumReflected, "Constructor");
+ public static JTokenType Property = getFrom(enumReflected, "Property");
+ public static JTokenType Comment = getFrom(enumReflected, "Comment");
+ public static JTokenType Integer = getFrom(enumReflected, "Integer");
+ public static JTokenType Float = getFrom(enumReflected, "Float");
+ public static JTokenType String = getFrom(enumReflected, "String");
+ public static JTokenType Boolean = getFrom(enumReflected, "Boolean");
+ public static JTokenType Null = getFrom(enumReflected, "Null");
+ public static JTokenType Undefined = getFrom(enumReflected, "Undefined");
+ public static JTokenType Date = getFrom(enumReflected, "Date");
+ public static JTokenType Raw = getFrom(enumReflected, "Raw");
+ public static JTokenType Bytes = getFrom(enumReflected, "Bytes");
+ public static JTokenType Guid = getFrom(enumReflected, "Guid");
+ public static JTokenType Uri = getFrom(enumReflected, "Uri");
+ public static JTokenType TimeSpan = getFrom(enumReflected, "TimeSpan");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenWriter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenWriter.java
new file mode 100644
index 000000000..0224f1334
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JTokenWriter.java
@@ -0,0 +1,531 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JTokenWriter
+ */
+public class JTokenWriter extends JsonWriter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JTokenWriter
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JTokenWriter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JTokenWriter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JTokenWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JTokenWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JTokenWriter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JTokenWriter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JTokenWriter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JTokenWriter(JContainer container) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(container == null ? null : container.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public void Close() throws Throwable, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Close");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void Flush() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Flush");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteComment(java.lang.String text) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteComment", text);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteNull() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteNull");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WritePropertyName(java.lang.String name) throws Throwable, system.ArgumentNullException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.ArgumentException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WritePropertyName", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteRaw(java.lang.String json) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteRaw", json);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartArray() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartArray");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartConstructor(java.lang.String name) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartConstructor", name);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteStartObject() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteStartObject");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteUndefined() throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteUndefined");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(boolean value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(byte[] value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(JCORefOut dupParam0) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", (java.lang.Object)dupParam0.getJCRefOut());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(char value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(double value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(short value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(int value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(long value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(SByte value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Single value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTime value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.OverflowException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(DateTimeOffset value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Decimal value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Guid value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(java.lang.String value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(TimeSpan value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(Uri value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.InvalidOperationException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt16 value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt32 value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteValue(UInt64 value) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteValue", value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public JToken getCurrentToken() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("CurrentToken");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken getToken() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Token");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JValue.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JValue.java
new file mode 100644
index 000000000..c03a7823d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JValue.java
@@ -0,0 +1,608 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JValue
+ */
+public class JValue extends JToken implements system.IComparable {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JValue
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JValue";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JValue(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JValue}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JValue} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JValue cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JValue(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JValue() throws Throwable {
+ }
+
+ public JValue(boolean value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(char value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(double value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(long value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(JValue other) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(other == null ? null : other.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(Single value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(DateTime value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(DateTimeOffset value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(Decimal value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(Guid value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(java.lang.String value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(TimeSpan value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(Uri value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JValue(UInt64 value) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(value == null ? null : value.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public boolean Equals(JValue other) throws Throwable, system.ArgumentNullException, system.resources.MissingManifestResourceException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.FormatException, system.OverflowException, system.InvalidCastException, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("Equals", other == null ? null : other.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int CompareTo(JValue obj) throws Throwable, system.ArgumentNullException, system.resources.MissingManifestResourceException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.FormatException, system.OverflowException, system.InvalidCastException, system.ArgumentException, system.InvalidTimeZoneException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Invoke("CompareTo", obj == null ? null : obj.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JValue CreateComment(java.lang.String value) throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreateComment = (JCObject)classType.Invoke("CreateComment", value);
+ return new JValue(objCreateComment);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JValue CreateNull() throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreateNull = (JCObject)classType.Invoke("CreateNull");
+ return new JValue(objCreateNull);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JValue CreateString(java.lang.String value) throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreateString = (JCObject)classType.Invoke("CreateString", value);
+ return new JValue(objCreateString);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JValue CreateUndefined() throws Throwable {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objCreateUndefined = (JCObject)classType.Invoke("CreateUndefined");
+ return new JValue(objCreateUndefined);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String ToString(IFormatProvider formatProvider) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("ToString", formatProvider == null ? null : formatProvider.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String ToString(java.lang.String format) throws Throwable, system.ArgumentNullException, system.TypeLoadException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("ToString", format);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String ToString(java.lang.String format, IFormatProvider formatProvider) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("ToString", format, formatProvider == null ? null : formatProvider.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteTo(JsonWriter writer, JsonConverter... converters) throws Throwable, system.NotSupportedException, system.ArgumentOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.InvalidOperationException, system.ArgumentException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteTo", writer == null ? null : writer.getJCOInstance(), toObjectFromArray(converters));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIComparable method available in IComparable to obtain an object with an invocable method
+ */
+ @Deprecated
+ public int CompareTo(NetObject obj) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIComparable to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public boolean ToBoolean(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public byte ToByte(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public char ToChar(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public double ToDouble(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public short ToInt16(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public int ToInt32(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public long ToInt64(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public SByte ToSByte(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public Single ToSingle(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public DateTime ToDateTime(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public Decimal ToDecimal(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public NetObject ToType(NetType conversionType, IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public TypeCode GetTypeCode() throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public UInt16 ToUInt16(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public UInt32 ToUInt32(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+ /**
+ * @deprecated Not for public use because the method is implemented in .NET with an explicit interface.
+ * Use the static ToIConvertible method available in IConvertible to obtain an object with an invocable method
+ */
+ @Deprecated
+ public UInt64 ToUInt64(IFormatProvider provider) throws Throwable {
+ throw new UnsupportedOperationException("Not for public use because the method is implemented with an explicit interface. Use ToIConvertible to obtain the full interface.");
+ }
+
+
+
+ // Properties section
+
+ public NetObject getValue() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Value");
+ return new NetObject(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setValue(NetObject Value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Value", Value == null ? null : Value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JsonLoadSettings.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JsonLoadSettings.java
new file mode 100644
index 000000000..092254857
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JsonLoadSettings.java
@@ -0,0 +1,209 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JsonLoadSettings
+ */
+public class JsonLoadSettings extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JsonLoadSettings
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JsonLoadSettings";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonLoadSettings(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonLoadSettings}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonLoadSettings} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonLoadSettings cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonLoadSettings(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonLoadSettings() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public CommentHandling getCommentHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("CommentHandling");
+ return new CommentHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCommentHandling(CommentHandling CommentHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CommentHandling", CommentHandling == null ? null : CommentHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public LineInfoHandling getLineInfoHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("LineInfoHandling");
+ return new LineInfoHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setLineInfoHandling(LineInfoHandling LineInfoHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("LineInfoHandling", LineInfoHandling == null ? null : LineInfoHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JsonMergeSettings.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JsonMergeSettings.java
new file mode 100644
index 000000000..931ba8fce
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/JsonMergeSettings.java
@@ -0,0 +1,209 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JsonMergeSettings
+ */
+public class JsonMergeSettings extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.JsonMergeSettings
+ */
+ public static final String className = "Newtonsoft.Json.Linq.JsonMergeSettings";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonMergeSettings(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonMergeSettings}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonMergeSettings} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonMergeSettings cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonMergeSettings(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonMergeSettings() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public MergeArrayHandling getMergeArrayHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MergeArrayHandling");
+ return new MergeArrayHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMergeArrayHandling(MergeArrayHandling MergeArrayHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MergeArrayHandling", MergeArrayHandling == null ? null : MergeArrayHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MergeNullValueHandling getMergeNullValueHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MergeNullValueHandling");
+ return new MergeNullValueHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMergeNullValueHandling(MergeNullValueHandling MergeNullValueHandling) throws Throwable, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MergeNullValueHandling", MergeNullValueHandling == null ? null : MergeNullValueHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/LineInfoHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/LineInfoHandling.java
new file mode 100644
index 000000000..c0915e487
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/LineInfoHandling.java
@@ -0,0 +1,175 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.LineInfoHandling
+ */
+public class LineInfoHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.LineInfoHandling
+ */
+ public static final String className = "Newtonsoft.Json.Linq.LineInfoHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public LineInfoHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public LineInfoHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static LineInfoHandling getFrom(JCEnum object, String value) {
+ try {
+ return new LineInfoHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new LineInfoHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static LineInfoHandling Ignore = getFrom(enumReflected, "Ignore");
+ public static LineInfoHandling Load = getFrom(enumReflected, "Load");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/MergeArrayHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/MergeArrayHandling.java
new file mode 100644
index 000000000..0d1950adc
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/MergeArrayHandling.java
@@ -0,0 +1,177 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.MergeArrayHandling
+ */
+public class MergeArrayHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.MergeArrayHandling
+ */
+ public static final String className = "Newtonsoft.Json.Linq.MergeArrayHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public MergeArrayHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public MergeArrayHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static MergeArrayHandling getFrom(JCEnum object, String value) {
+ try {
+ return new MergeArrayHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new MergeArrayHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static MergeArrayHandling Concat = getFrom(enumReflected, "Concat");
+ public static MergeArrayHandling Union = getFrom(enumReflected, "Union");
+ public static MergeArrayHandling Replace = getFrom(enumReflected, "Replace");
+ public static MergeArrayHandling Merge = getFrom(enumReflected, "Merge");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/MergeNullValueHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/MergeNullValueHandling.java
new file mode 100644
index 000000000..7fca796ca
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/linq/MergeNullValueHandling.java
@@ -0,0 +1,189 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.MergeNullValueHandling
+ */
+public class MergeNullValueHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Linq.MergeNullValueHandling
+ */
+ public static final String className = "Newtonsoft.Json.Linq.MergeNullValueHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public MergeNullValueHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public MergeNullValueHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static MergeNullValueHandling getFrom(JCEnum object, String value) {
+ try {
+ return new MergeNullValueHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new MergeNullValueHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static MergeNullValueHandling Ignore = getFrom(enumReflected, "Ignore");
+ public static MergeNullValueHandling Merge = getFrom(enumReflected, "Merge");
+
+
+ // Flags management section
+
+ public final MergeNullValueHandling add(MergeNullValueHandling val) throws Throwable {
+ return new MergeNullValueHandling(NetEnum.add(classInstance, val.classInstance));
+ }
+
+ public final MergeNullValueHandling remove(MergeNullValueHandling val) throws Throwable {
+ return new MergeNullValueHandling(NetEnum.remove(classInstance, val.classInstance));
+ }
+
+ public final boolean is(MergeNullValueHandling val) throws Throwable {
+ return NetEnum.is(classInstance, val.classInstance);
+ }
+
+ public final boolean has(MergeNullValueHandling val) throws Throwable {
+ return NetEnum.has(classInstance, val.classInstance);
+ }
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/Extensions.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/Extensions.java
new file mode 100644
index 000000000..50ceec208
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/Extensions.java
@@ -0,0 +1,190 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.Extensions
+ */
+public class Extensions extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.Extensions
+ */
+ public static final String className = "Newtonsoft.Json.Schema.Extensions";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public Extensions(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link Extensions}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link Extensions} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static Extensions cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new Extensions(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public Extensions() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public static boolean IsValid(JToken source, JsonSchema schema) throws Throwable, system.ArgumentNullException, system.InvalidOperationException, system.MulticastNotSupportedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ return (boolean)classType.Invoke("IsValid", source == null ? null : source.getJCOInstance(), schema == null ? null : schema.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static void Validate(JToken source, JsonSchema schema) throws Throwable, system.ArgumentNullException, system.InvalidOperationException, system.MulticastNotSupportedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ classType.Invoke("Validate", source == null ? null : source.getJCOInstance(), schema == null ? null : schema.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static void Validate(JToken source, JsonSchema schema, ValidationEventHandler validationEventHandler) throws Throwable, system.ArgumentNullException, system.InvalidOperationException, system.MulticastNotSupportedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ classType.Invoke("Validate", source == null ? null : source.getJCOInstance(), schema == null ? null : schema.getJCOInstance(), validationEventHandler);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/IValidationEventHandler.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/IValidationEventHandler.java
new file mode 100644
index 000000000..050f3194a
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/IValidationEventHandler.java
@@ -0,0 +1,50 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.ValidationEventHandler
+ */
+public interface IValidationEventHandler {
+ public void Invoke(NetObject sender, ValidationEventArgs e);
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchema.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchema.java
new file mode 100644
index 000000000..c4410870d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchema.java
@@ -0,0 +1,497 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.JsonSchema
+ */
+public class JsonSchema extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.JsonSchema
+ */
+ public static final String className = "Newtonsoft.Json.Schema.JsonSchema";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSchema(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonSchema}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonSchema} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonSchema cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonSchema(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonSchema() throws Throwable, system.FormatException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public static JsonSchema Parse(java.lang.String json) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonReaderException, system.InvalidOperationException, system.RankException, newtonsoft.json.JsonException, system.FormatException, system.OutOfMemoryException, system.resources.MissingManifestResourceException, system.OverflowException, system.globalization.CultureNotFoundException, system.UriFormatException, system.NotSupportedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objParse = (JCObject)classType.Invoke("Parse", json);
+ return new JsonSchema(objParse);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JsonSchema Parse(java.lang.String json, JsonSchemaResolver resolver) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonReaderException, system.InvalidOperationException, system.RankException, newtonsoft.json.JsonException, system.FormatException, system.OutOfMemoryException, system.resources.MissingManifestResourceException, system.OverflowException, system.UriFormatException, system.NotSupportedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objParse = (JCObject)classType.Invoke("Parse", json, resolver == null ? null : resolver.getJCOInstance());
+ return new JsonSchema(objParse);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JsonSchema Read(JsonReader reader) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonReaderException, system.InvalidOperationException, system.RankException, newtonsoft.json.JsonException, system.FormatException, system.OutOfMemoryException, system.resources.MissingManifestResourceException, system.OverflowException, system.UriFormatException, system.NotSupportedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objRead = (JCObject)classType.Invoke("Read", reader == null ? null : reader.getJCOInstance());
+ return new JsonSchema(objRead);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public static JsonSchema Read(JsonReader reader, JsonSchemaResolver resolver) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonReaderException, system.InvalidOperationException, system.RankException, newtonsoft.json.JsonException, system.FormatException, system.OutOfMemoryException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.OverflowException, system.UriFormatException, system.NotSupportedException {
+ if (classType == null)
+ throw new UnsupportedOperationException("classType is null.");
+ try {
+ JCObject objRead = (JCObject)classType.Invoke("Read", reader == null ? null : reader.getJCOInstance(), resolver == null ? null : resolver.getJCOInstance());
+ return new JsonSchema(objRead);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteTo(JsonWriter writer) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.ArgumentException, newtonsoft.json.JsonWriterException, system.NotSupportedException, system.InvalidOperationException, system.InvalidCastException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteTo", writer == null ? null : writer.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void WriteTo(JsonWriter writer, JsonSchemaResolver resolver) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.IndexOutOfRangeException, newtonsoft.json.JsonWriterException, system.NotSupportedException, system.InvalidOperationException, system.InvalidCastException, system.resources.MissingManifestResourceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("WriteTo", writer == null ? null : writer.getJCOInstance(), resolver == null ? null : resolver.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getAllowAdditionalItems() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("AllowAdditionalItems");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setAllowAdditionalItems(boolean AllowAdditionalItems) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("AllowAdditionalItems", AllowAdditionalItems);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getAllowAdditionalProperties() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("AllowAdditionalProperties");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setAllowAdditionalProperties(boolean AllowAdditionalProperties) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("AllowAdditionalProperties", AllowAdditionalProperties);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getPositionalItemsValidation() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("PositionalItemsValidation");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPositionalItemsValidation(boolean PositionalItemsValidation) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("PositionalItemsValidation", PositionalItemsValidation);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getUniqueItems() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("UniqueItems");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setUniqueItems(boolean UniqueItems) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("UniqueItems", UniqueItems);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JToken getDefault() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Default");
+ return new JToken(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDefault(JToken Default) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Default", Default == null ? null : Default.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSchema getAdditionalItems() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("AdditionalItems");
+ return new JsonSchema(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setAdditionalItems(JsonSchema AdditionalItems) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("AdditionalItems", AdditionalItems == null ? null : AdditionalItems.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSchema getAdditionalProperties() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("AdditionalProperties");
+ return new JsonSchema(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setAdditionalProperties(JsonSchema AdditionalProperties) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("AdditionalProperties", AdditionalProperties == null ? null : AdditionalProperties.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getDescription() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Description");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDescription(java.lang.String Description) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Description", Description);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getFormat() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Format");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setFormat(java.lang.String Format) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Format", Format);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getId() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Id");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setId(java.lang.String Id) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Id", Id);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPattern() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Pattern");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPattern(java.lang.String Pattern) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Pattern", Pattern);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getRequires() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Requires");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setRequires(java.lang.String Requires) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Requires", Requires);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getTitle() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Title");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setTitle(java.lang.String Title) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Title", Title);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaException.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaException.java
new file mode 100644
index 000000000..0eb02bb26
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaException.java
@@ -0,0 +1,242 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.JsonSchemaException
+ */
+public class JsonSchemaException extends JsonException {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.JsonSchemaException
+ */
+ public static final String className = "Newtonsoft.Json.Schema.JsonSchemaException";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+ JCNativeException jcNativeException = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException jce) {
+ JCOReflector.writeLog(jce);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSchemaException() {
+ super();
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSchemaException(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else if (instance instanceof JCNativeException) {
+ jcNativeException = (JCNativeException) instance;
+ classInstance = jcNativeException.getCLRException();
+ }
+ }
+
+ public JsonSchemaException(String message) {
+ super(message);
+ }
+
+ public JsonSchemaException(NetException cause) {
+ super(cause);
+ }
+
+ public JsonSchemaException(String message, NetException cause) {
+ super(message, cause);
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonSchemaException}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonSchemaException} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonSchemaException cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonSchemaException(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonSchemaException(SerializationInfo info, StreamingContext context) throws Throwable, system.ArgumentNullException, system.FormatException, system.runtime.serialization.SerializationException, system.InvalidOperationException, system.ArgumentException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(info == null ? null : info.getJCOInstance(), context == null ? null : context.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public int getLineNumber() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("LineNumber");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setLineNumber(int LineNumber) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("LineNumber", LineNumber);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public int getLinePosition() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (int)classInstance.Get("LinePosition");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setLinePosition(int LinePosition) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("LinePosition", LinePosition);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPath() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Path");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPath(java.lang.String Path) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Path", Path);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaGenerator.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaGenerator.java
new file mode 100644
index 000000000..2df6b0205
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaGenerator.java
@@ -0,0 +1,256 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.JsonSchemaGenerator
+ */
+public class JsonSchemaGenerator extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.JsonSchemaGenerator
+ */
+ public static final String className = "Newtonsoft.Json.Schema.JsonSchemaGenerator";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSchemaGenerator(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonSchemaGenerator}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonSchemaGenerator} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonSchemaGenerator cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonSchemaGenerator(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonSchemaGenerator() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public JsonSchema Generate(NetType type) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.NotSupportedException, system.resources.MissingManifestResourceException, system.InvalidOperationException, newtonsoft.json.JsonException, system.FormatException, system.NotImplementedException, system.InvalidCastException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGenerate = (JCObject)classInstance.Invoke("Generate", type == null ? null : type.getJCOInstance());
+ return new JsonSchema(objGenerate);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSchema Generate(NetType type, boolean rootSchemaNullable) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.NotSupportedException, system.resources.MissingManifestResourceException, system.InvalidOperationException, newtonsoft.json.JsonException, system.FormatException, system.NotImplementedException, system.InvalidCastException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGenerate = (JCObject)classInstance.Invoke("Generate", type == null ? null : type.getJCOInstance(), rootSchemaNullable);
+ return new JsonSchema(objGenerate);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSchema Generate(NetType type, JsonSchemaResolver resolver) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.NotSupportedException, system.resources.MissingManifestResourceException, system.InvalidOperationException, newtonsoft.json.JsonException, system.FormatException, system.NotImplementedException, system.InvalidCastException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGenerate = (JCObject)classInstance.Invoke("Generate", type == null ? null : type.getJCOInstance(), resolver == null ? null : resolver.getJCOInstance());
+ return new JsonSchema(objGenerate);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonSchema Generate(NetType type, JsonSchemaResolver resolver, boolean rootSchemaNullable) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.globalization.CultureNotFoundException, system.InvalidOperationException, system.NotSupportedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.FormatException, newtonsoft.json.JsonException, system.NotImplementedException, system.MulticastNotSupportedException, newtonsoft.json.JsonSerializationException, system.InvalidCastException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGenerate = (JCObject)classInstance.Invoke("Generate", type == null ? null : type.getJCOInstance(), resolver == null ? null : resolver.getJCOInstance(), rootSchemaNullable);
+ return new JsonSchema(objGenerate);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public UndefinedSchemaIdHandling getUndefinedSchemaIdHandling() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("UndefinedSchemaIdHandling");
+ return new UndefinedSchemaIdHandling(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setUndefinedSchemaIdHandling(UndefinedSchemaIdHandling UndefinedSchemaIdHandling) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("UndefinedSchemaIdHandling", UndefinedSchemaIdHandling == null ? null : UndefinedSchemaIdHandling.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IContractResolver getContractResolver() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ContractResolver");
+ return new IContractResolverImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setContractResolver(IContractResolver ContractResolver) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ContractResolver", ContractResolver == null ? null : ContractResolver.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaResolver.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaResolver.java
new file mode 100644
index 000000000..19985a711
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaResolver.java
@@ -0,0 +1,177 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.JsonSchemaResolver
+ */
+public class JsonSchemaResolver extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.JsonSchemaResolver
+ */
+ public static final String className = "Newtonsoft.Json.Schema.JsonSchemaResolver";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSchemaResolver(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonSchemaResolver}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonSchemaResolver} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonSchemaResolver cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonSchemaResolver(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonSchemaResolver() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public JsonSchema GetSchema(java.lang.String reference) throws Throwable, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.NotSupportedException, system.NotImplementedException, system.resources.MissingManifestResourceException, system.ObjectDisposedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetSchema = (JCObject)classInstance.Invoke("GetSchema", reference);
+ return new JsonSchema(objGetSchema);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaType.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaType.java
new file mode 100644
index 000000000..a260af6bf
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/JsonSchemaType.java
@@ -0,0 +1,196 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.JsonSchemaType
+ */
+public class JsonSchemaType extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.JsonSchemaType
+ */
+ public static final String className = "Newtonsoft.Json.Schema.JsonSchemaType";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonSchemaType(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public JsonSchemaType() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static JsonSchemaType getFrom(JCEnum object, String value) {
+ try {
+ return new JsonSchemaType(object.fromValue(value));
+ } catch (JCException e) {
+ return new JsonSchemaType(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static JsonSchemaType None = getFrom(enumReflected, "None");
+ public static JsonSchemaType String = getFrom(enumReflected, "String");
+ public static JsonSchemaType Float = getFrom(enumReflected, "Float");
+ public static JsonSchemaType Integer = getFrom(enumReflected, "Integer");
+ public static JsonSchemaType Boolean = getFrom(enumReflected, "Boolean");
+ public static JsonSchemaType Object = getFrom(enumReflected, "Object");
+ public static JsonSchemaType Array = getFrom(enumReflected, "Array");
+ public static JsonSchemaType Null = getFrom(enumReflected, "Null");
+ public static JsonSchemaType Any = getFrom(enumReflected, "Any");
+
+
+ // Flags management section
+
+ public final JsonSchemaType add(JsonSchemaType val) throws Throwable {
+ return new JsonSchemaType(NetEnum.add(classInstance, val.classInstance));
+ }
+
+ public final JsonSchemaType remove(JsonSchemaType val) throws Throwable {
+ return new JsonSchemaType(NetEnum.remove(classInstance, val.classInstance));
+ }
+
+ public final boolean is(JsonSchemaType val) throws Throwable {
+ return NetEnum.is(classInstance, val.classInstance);
+ }
+
+ public final boolean has(JsonSchemaType val) throws Throwable {
+ return NetEnum.has(classInstance, val.classInstance);
+ }
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/UndefinedSchemaIdHandling.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/UndefinedSchemaIdHandling.java
new file mode 100644
index 000000000..f5127b104
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/UndefinedSchemaIdHandling.java
@@ -0,0 +1,176 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.UndefinedSchemaIdHandling
+ */
+public class UndefinedSchemaIdHandling extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.UndefinedSchemaIdHandling
+ */
+ public static final String className = "Newtonsoft.Json.Schema.UndefinedSchemaIdHandling";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumReflected = createEnum();
+ JCEnum classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ static JCEnum createEnum() {
+ try {
+ String enumToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating Enum %s", enumToCreate);
+ JCEnum enumCreated = bridge.GetEnum(enumToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created Enum: %s",
+ (enumCreated != null) ? enumCreated.toString() : "Returned null value");
+ return enumCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public UndefinedSchemaIdHandling(java.lang.Object instance) {
+ super(instance);
+ if (instance instanceof JCObject) {
+ try {
+ String enumName = NetEnum.GetName(classType, (JCObject)instance);
+ classInstance = enumReflected.fromValue(enumName);
+ } catch (Throwable t) {
+ JCOReflector.writeLog(t);
+ classInstance = enumReflected;
+ }
+ } else if (instance instanceof JCEnum) {
+ classInstance = (JCEnum)instance;
+ }
+ }
+
+ public UndefinedSchemaIdHandling() {
+ super();
+ // add reference to assemblyName.dll file
+ try {
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ } catch (Throwable jcne) {
+ JCOReflector.writeLog(jcne);
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ final static UndefinedSchemaIdHandling getFrom(JCEnum object, String value) {
+ try {
+ return new UndefinedSchemaIdHandling(object.fromValue(value));
+ } catch (JCException e) {
+ return new UndefinedSchemaIdHandling(object);
+ }
+ }
+
+ // Enum fields section
+
+ public static UndefinedSchemaIdHandling None = getFrom(enumReflected, "None");
+ public static UndefinedSchemaIdHandling UseTypeName = getFrom(enumReflected, "UseTypeName");
+ public static UndefinedSchemaIdHandling UseAssemblyQualifiedName = getFrom(enumReflected, "UseAssemblyQualifiedName");
+
+
+ // Flags management section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/ValidationEventArgs.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/ValidationEventArgs.java
new file mode 100644
index 000000000..361895240
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/ValidationEventArgs.java
@@ -0,0 +1,192 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.ValidationEventArgs
+ */
+public class ValidationEventArgs extends EventArgs {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.ValidationEventArgs
+ */
+ public static final String className = "Newtonsoft.Json.Schema.ValidationEventArgs";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ValidationEventArgs(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ValidationEventArgs}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ValidationEventArgs} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ValidationEventArgs cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ValidationEventArgs(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public ValidationEventArgs() throws Throwable {
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public JsonSchemaException getException() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Exception");
+ return new JsonSchemaException(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getMessage() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Message");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPath() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Path");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/ValidationEventHandler.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/ValidationEventHandler.java
new file mode 100644
index 000000000..355058beb
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/schema/ValidationEventHandler.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Schema.ValidationEventHandler
+ */
+public class ValidationEventHandler extends JCVoidDelegate implements IJCVoidEventEmit, IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Schema.ValidationEventHandler
+ */
+ public static final String className = "Newtonsoft.Json.Schema.ValidationEventHandler";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ JCObject classInstance = null;
+ IValidationEventHandler callerInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return this;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ public final void EventRaised(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject sender = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ ValidationEventArgs e = argsFromJCOBridge[1] == null ? null : new ValidationEventArgs(argsFromJCOBridge[1]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(sender, e);
+ } else {
+ Invoke(sender, e);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public final void DelegateInvoked(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject sender = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ ValidationEventArgs e = argsFromJCOBridge[1] == null ? null : new ValidationEventArgs(argsFromJCOBridge[1]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(sender, e);
+ } else {
+ Invoke(sender, e);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public ValidationEventHandler() {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ }
+
+ public ValidationEventHandler(IValidationEventHandler instance) {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ callerInstance = instance;
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ValidationEventHandler(java.lang.Object instance) throws Throwable {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ if (instance == null) throw new IllegalArgumentException("Instance cannot be null");
+ if (instance instanceof IValidationEventHandler) {
+ callerInstance = (IValidationEventHandler) instance;
+ } else if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new UnsupportedOperationException(
+ String.format("Class %s is not supported.", instance.getClass().getTypeName()));
+ }
+
+ protected final static
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.CamelCaseNamingStrategy
+ */
+public class CamelCaseNamingStrategy extends NamingStrategy {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.CamelCaseNamingStrategy
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.CamelCaseNamingStrategy";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public CamelCaseNamingStrategy(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link CamelCaseNamingStrategy}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link CamelCaseNamingStrategy} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static CamelCaseNamingStrategy cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new CamelCaseNamingStrategy(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public CamelCaseNamingStrategy() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public CamelCaseNamingStrategy(boolean processDictionaryKeys, boolean overrideSpecifiedNames) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(processDictionaryKeys, overrideSpecifiedNames));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/CamelCasePropertyNamesContractResolver.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/CamelCasePropertyNamesContractResolver.java
new file mode 100644
index 000000000..38e5d9b7d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/CamelCasePropertyNamesContractResolver.java
@@ -0,0 +1,166 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver
+ */
+public class CamelCasePropertyNamesContractResolver extends DefaultContractResolver {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public CamelCasePropertyNamesContractResolver(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link CamelCasePropertyNamesContractResolver}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link CamelCasePropertyNamesContractResolver} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static CamelCasePropertyNamesContractResolver cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new CamelCasePropertyNamesContractResolver(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public CamelCasePropertyNamesContractResolver() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultContractResolver.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultContractResolver.java
new file mode 100644
index 000000000..34c5d67af
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultContractResolver.java
@@ -0,0 +1,311 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.DefaultContractResolver
+ */
+public class DefaultContractResolver extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.DefaultContractResolver
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.DefaultContractResolver";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DefaultContractResolver(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DefaultContractResolver}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DefaultContractResolver} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DefaultContractResolver cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DefaultContractResolver(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DefaultContractResolver() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public DefaultContractResolver(boolean shareCache) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(shareCache));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public JsonContract ResolveContract(NetType type) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.RankException, newtonsoft.json.JsonException, system.NotImplementedException, system.globalization.CultureNotFoundException, newtonsoft.json.JsonSerializationException, system.IndexOutOfRangeException, system.NullReferenceException, system.collections.generic.KeyNotFoundException, system.runtime.serialization.SerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objResolveContract = (JCObject)classInstance.Invoke("ResolveContract", type == null ? null : type.getJCOInstance());
+ return new JsonContract(objResolveContract);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String GetResolvedPropertyName(java.lang.String propertyName) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("GetResolvedPropertyName", propertyName);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getDynamicCodeGeneration() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException, system.FormatException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("DynamicCodeGeneration");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getIgnoreSerializableAttribute() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("IgnoreSerializableAttribute");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIgnoreSerializableAttribute(boolean IgnoreSerializableAttribute) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("IgnoreSerializableAttribute", IgnoreSerializableAttribute);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getIgnoreSerializableInterface() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("IgnoreSerializableInterface");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIgnoreSerializableInterface(boolean IgnoreSerializableInterface) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("IgnoreSerializableInterface", IgnoreSerializableInterface);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getSerializeCompilerGeneratedMembers() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("SerializeCompilerGeneratedMembers");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setSerializeCompilerGeneratedMembers(boolean SerializeCompilerGeneratedMembers) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("SerializeCompilerGeneratedMembers", SerializeCompilerGeneratedMembers);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NamingStrategy getNamingStrategy() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("NamingStrategy");
+ return new NamingStrategy(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setNamingStrategy(NamingStrategy NamingStrategy) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("NamingStrategy", NamingStrategy == null ? null : NamingStrategy.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public BindingFlags getDefaultMembersSearchFlags() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DefaultMembersSearchFlags");
+ return new BindingFlags(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDefaultMembersSearchFlags(BindingFlags DefaultMembersSearchFlags) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DefaultMembersSearchFlags", DefaultMembersSearchFlags == null ? null : DefaultMembersSearchFlags.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultNamingStrategy.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultNamingStrategy.java
new file mode 100644
index 000000000..775ce6324
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultNamingStrategy.java
@@ -0,0 +1,166 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.DefaultNamingStrategy
+ */
+public class DefaultNamingStrategy extends NamingStrategy {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.DefaultNamingStrategy
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.DefaultNamingStrategy";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DefaultNamingStrategy(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DefaultNamingStrategy}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DefaultNamingStrategy} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DefaultNamingStrategy cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DefaultNamingStrategy(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DefaultNamingStrategy() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultSerializationBinder.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultSerializationBinder.java
new file mode 100644
index 000000000..2e166bc1d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DefaultSerializationBinder.java
@@ -0,0 +1,187 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.DefaultSerializationBinder
+ */
+public class DefaultSerializationBinder extends SerializationBinder {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.DefaultSerializationBinder
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.DefaultSerializationBinder";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DefaultSerializationBinder(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DefaultSerializationBinder}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DefaultSerializationBinder} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DefaultSerializationBinder cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DefaultSerializationBinder(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DefaultSerializationBinder() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.NotSupportedException, system.NotImplementedException, system.security.SecurityException, system.ArgumentOutOfRangeException, system.IndexOutOfRangeException, system.FormatException, newtonsoft.json.JsonSerializationException, system.TypeLoadException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public NetType BindToType(java.lang.String assemblyName, java.lang.String typeName) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.ArgumentOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objBindToType = (JCObject)classInstance.Invoke("BindToType", assemblyName, typeName);
+ return new NetType(objBindToType);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void BindToName(NetType serializedType, JCORefOut assemblyName, JCORefOut typeName) throws Throwable, system.NotImplementedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("BindToName", serializedType == null ? null : serializedType.getJCOInstance(), assemblyName.getJCRefOut(), typeName.getJCRefOut());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DiagnosticsTraceWriter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DiagnosticsTraceWriter.java
new file mode 100644
index 000000000..299f6b8bf
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DiagnosticsTraceWriter.java
@@ -0,0 +1,197 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.DiagnosticsTraceWriter
+ */
+public class DiagnosticsTraceWriter extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.DiagnosticsTraceWriter
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.DiagnosticsTraceWriter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DiagnosticsTraceWriter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DiagnosticsTraceWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DiagnosticsTraceWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DiagnosticsTraceWriter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DiagnosticsTraceWriter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DiagnosticsTraceWriter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public void Trace(TraceLevel level, java.lang.String message, NetException ex) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException, system.ArgumentException, system.FormatException, system.InvalidOperationException, system.NotSupportedException, system.resources.MissingManifestResourceException, system.configuration.ConfigurationException, system.configuration.ConfigurationErrorsException, system.PlatformNotSupportedException, system.componentmodel.Win32Exception, system.OverflowException, system.IndexOutOfRangeException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Trace", level == null ? null : level.getJCOInstance(), message, ex == null ? null : ex.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public TraceLevel getLevelFilter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("LevelFilter");
+ return new TraceLevel(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setLevelFilter(TraceLevel LevelFilter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("LevelFilter", LevelFilter == null ? null : LevelFilter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DynamicValueProvider.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DynamicValueProvider.java
new file mode 100644
index 000000000..6331025d1
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/DynamicValueProvider.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.DynamicValueProvider
+ */
+public class DynamicValueProvider extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.DynamicValueProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.DynamicValueProvider";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public DynamicValueProvider(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link DynamicValueProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link DynamicValueProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static DynamicValueProvider cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new DynamicValueProvider(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public DynamicValueProvider() throws Throwable {
+ }
+
+ public DynamicValueProvider(MemberInfo memberInfo) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(memberInfo == null ? null : memberInfo.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public NetObject GetValue(NetObject target) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetValue = (JCObject)classInstance.Invoke("GetValue", target == null ? null : target.getJCOInstance());
+ return new NetObject(objGetValue);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void SetValue(NetObject target, NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("SetValue", target == null ? null : target.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ErrorContext.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ErrorContext.java
new file mode 100644
index 000000000..3ffd61f8a
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ErrorContext.java
@@ -0,0 +1,262 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ErrorContext
+ */
+public class ErrorContext extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ErrorContext
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ErrorContext";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ErrorContext(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ErrorContext}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ErrorContext} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ErrorContext cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ErrorContext(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public ErrorContext() throws Throwable {
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getHandled() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("Handled");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setHandled(boolean Handled) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Handled", Handled);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetException getError() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Error");
+ return new NetException(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setError(NetException Error) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Error", Error == null ? null : Error.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject getMember() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Member");
+ return new NetObject(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMember(NetObject Member) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Member", Member == null ? null : Member.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject getOriginalObject() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("OriginalObject");
+ return new NetObject(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOriginalObject(NetObject OriginalObject) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OriginalObject", OriginalObject == null ? null : OriginalObject.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPath() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("Path");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPath(java.lang.String Path) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Path", Path);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ErrorEventArgs.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ErrorEventArgs.java
new file mode 100644
index 000000000..5e91c6c7d
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ErrorEventArgs.java
@@ -0,0 +1,213 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ErrorEventArgs
+ */
+public class ErrorEventArgs extends EventArgs {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ErrorEventArgs
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ErrorEventArgs";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ErrorEventArgs(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ErrorEventArgs}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ErrorEventArgs} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ErrorEventArgs cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ErrorEventArgs(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public ErrorEventArgs() throws Throwable {
+ }
+
+ public ErrorEventArgs(NetObject currentObject, ErrorContext errorContext) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(currentObject == null ? null : currentObject.getJCOInstance(), errorContext == null ? null : errorContext.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public ErrorContext getErrorContext() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ErrorContext");
+ return new ErrorContext(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setErrorContext(ErrorContext ErrorContext) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ErrorContext", ErrorContext == null ? null : ErrorContext.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject getCurrentObject() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("CurrentObject");
+ return new NetObject(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCurrentObject(NetObject CurrentObject) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CurrentObject", CurrentObject == null ? null : CurrentObject.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ExpressionValueProvider.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ExpressionValueProvider.java
new file mode 100644
index 000000000..3f79f1859
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ExpressionValueProvider.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ExpressionValueProvider
+ */
+public class ExpressionValueProvider extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ExpressionValueProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ExpressionValueProvider";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ExpressionValueProvider(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ExpressionValueProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ExpressionValueProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ExpressionValueProvider cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ExpressionValueProvider(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public ExpressionValueProvider() throws Throwable {
+ }
+
+ public ExpressionValueProvider(MemberInfo memberInfo) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(memberInfo == null ? null : memberInfo.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public NetObject GetValue(NetObject target) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetValue = (JCObject)classInstance.Invoke("GetValue", target == null ? null : target.getJCOInstance());
+ return new NetObject(objGetValue);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void SetValue(NetObject target, NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("SetValue", target == null ? null : target.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ExtensionDataSetter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ExtensionDataSetter.java
new file mode 100644
index 000000000..9424ab49e
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ExtensionDataSetter.java
@@ -0,0 +1,192 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ExtensionDataSetter
+ */
+public class ExtensionDataSetter extends JCVoidDelegate implements IJCVoidEventEmit, IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ExtensionDataSetter
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ExtensionDataSetter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ JCObject classInstance = null;
+ IExtensionDataSetter callerInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return this;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ public final void EventRaised(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject o = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ java.lang.String key = argsFromJCOBridge[1] == null ? null : (java.lang.String)argsFromJCOBridge[1];
+ NetObject value = argsFromJCOBridge[2] == null ? null : new NetObject(argsFromJCOBridge[2]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(o, key, value);
+ } else {
+ Invoke(o, key, value);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public final void DelegateInvoked(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject o = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ java.lang.String key = argsFromJCOBridge[1] == null ? null : (java.lang.String)argsFromJCOBridge[1];
+ NetObject value = argsFromJCOBridge[2] == null ? null : new NetObject(argsFromJCOBridge[2]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(o, key, value);
+ } else {
+ Invoke(o, key, value);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public ExtensionDataSetter() {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ }
+
+ public ExtensionDataSetter(IExtensionDataSetter instance) {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ callerInstance = instance;
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ExtensionDataSetter(java.lang.Object instance) throws Throwable {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ if (instance == null) throw new IllegalArgumentException("Instance cannot be null");
+ if (instance instanceof IExtensionDataSetter) {
+ callerInstance = (IExtensionDataSetter) instance;
+ } else if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new UnsupportedOperationException(
+ String.format("Class %s is not supported.", instance.getClass().getTypeName()));
+ }
+
+ protected final static
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IAttributeProvider
+ */
+public interface IAttributeProvider extends IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IAttributeProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IAttributeProvider";
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IAttributeProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IAttributeProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IAttributeProvider ToIAttributeProvider(IJCOBridgeReflected from) throws Throwable {
+ JCOBridge bridge = JCOBridgeInstance.getInstance("Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed");
+ JCType classType = bridge.GetType(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ NetType.AssertCast(classType, from);
+ return new IAttributeProviderImplementation(from.getJCOInstance());
+ }
+
+ /**
+ * Returns the reflected Assembly name
+ *
+ * @return A {@link String} representing the Fullname of reflected Assembly
+ */
+ public String getJCOAssemblyName();
+
+ /**
+ * Returns the reflected Class name
+ *
+ * @return A {@link String} representing the Fullname of reflected Class
+ */
+ public String getJCOClassName();
+
+ /**
+ * Returns the reflected Class name used to build the object
+ *
+ * @return A {@link String} representing the name used to allocated the object
+ * in CLR context
+ */
+ public String getJCOObjectName();
+
+ /**
+ * Returns the instantiated class
+ *
+ * @return An {@link java.lang.Object} representing the instance of the instantiated Class
+ */
+ public java.lang.Object getJCOInstance();
+
+ /**
+ * Returns the instantiated class Type
+ *
+ * @return A {@link JCType} representing the Type of the instantiated Class
+ */
+ public JCType getJCOType();
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IAttributeProviderImplementation.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IAttributeProviderImplementation.java
new file mode 100644
index 000000000..d2185cadc
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IAttributeProviderImplementation.java
@@ -0,0 +1,146 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IAttributeProvider
+ */
+public class IAttributeProviderImplementation extends NetObject implements IAttributeProvider {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IAttributeProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IAttributeProvider";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public IAttributeProviderImplementation(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IAttributeProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IAttributeProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IAttributeProvider ToIAttributeProvider(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new IAttributeProviderImplementation(from.getJCOInstance());
+ }
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IContractResolver.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IContractResolver.java
new file mode 100644
index 000000000..e9f7981f9
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IContractResolver.java
@@ -0,0 +1,124 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IContractResolver
+ */
+public interface IContractResolver extends IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IContractResolver
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IContractResolver";
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IContractResolver}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IContractResolver} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IContractResolver ToIContractResolver(IJCOBridgeReflected from) throws Throwable {
+ JCOBridge bridge = JCOBridgeInstance.getInstance("Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed");
+ JCType classType = bridge.GetType(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ NetType.AssertCast(classType, from);
+ return new IContractResolverImplementation(from.getJCOInstance());
+ }
+
+ /**
+ * Returns the reflected Assembly name
+ *
+ * @return A {@link String} representing the Fullname of reflected Assembly
+ */
+ public String getJCOAssemblyName();
+
+ /**
+ * Returns the reflected Class name
+ *
+ * @return A {@link String} representing the Fullname of reflected Class
+ */
+ public String getJCOClassName();
+
+ /**
+ * Returns the reflected Class name used to build the object
+ *
+ * @return A {@link String} representing the name used to allocated the object
+ * in CLR context
+ */
+ public String getJCOObjectName();
+
+ /**
+ * Returns the instantiated class
+ *
+ * @return An {@link java.lang.Object} representing the instance of the instantiated Class
+ */
+ public java.lang.Object getJCOInstance();
+
+ /**
+ * Returns the instantiated class Type
+ *
+ * @return A {@link JCType} representing the Type of the instantiated Class
+ */
+ public JCType getJCOType();
+
+ // Methods section
+
+ public JsonContract ResolveContract(NetType type) throws Throwable;
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IContractResolverImplementation.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IContractResolverImplementation.java
new file mode 100644
index 000000000..1d6ea8009
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IContractResolverImplementation.java
@@ -0,0 +1,158 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IContractResolver
+ */
+public class IContractResolverImplementation extends NetObject implements IContractResolver {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IContractResolver
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IContractResolver";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public IContractResolverImplementation(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IContractResolver}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IContractResolver} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IContractResolver ToIContractResolver(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new IContractResolverImplementation(from.getJCOInstance());
+ }
+
+ // Methods section
+
+ public JsonContract ResolveContract(NetType type) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objResolveContract = (JCObject)classInstance.Invoke("ResolveContract", type == null ? null : type.getJCOInstance());
+ return new JsonContract(objResolveContract);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IExtensionDataSetter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IExtensionDataSetter.java
new file mode 100644
index 000000000..c9bf13a67
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IExtensionDataSetter.java
@@ -0,0 +1,49 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ExtensionDataSetter
+ */
+public interface IExtensionDataSetter {
+ public void Invoke(NetObject o, java.lang.String key, NetObject value);
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IReferenceResolver.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IReferenceResolver.java
new file mode 100644
index 000000000..1641b6937
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IReferenceResolver.java
@@ -0,0 +1,129 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IReferenceResolver
+ */
+public interface IReferenceResolver extends IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IReferenceResolver
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IReferenceResolver";
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IReferenceResolver}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IReferenceResolver} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IReferenceResolver ToIReferenceResolver(IJCOBridgeReflected from) throws Throwable {
+ JCOBridge bridge = JCOBridgeInstance.getInstance("Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed");
+ JCType classType = bridge.GetType(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ NetType.AssertCast(classType, from);
+ return new IReferenceResolverImplementation(from.getJCOInstance());
+ }
+
+ /**
+ * Returns the reflected Assembly name
+ *
+ * @return A {@link String} representing the Fullname of reflected Assembly
+ */
+ public String getJCOAssemblyName();
+
+ /**
+ * Returns the reflected Class name
+ *
+ * @return A {@link String} representing the Fullname of reflected Class
+ */
+ public String getJCOClassName();
+
+ /**
+ * Returns the reflected Class name used to build the object
+ *
+ * @return A {@link String} representing the name used to allocated the object
+ * in CLR context
+ */
+ public String getJCOObjectName();
+
+ /**
+ * Returns the instantiated class
+ *
+ * @return An {@link java.lang.Object} representing the instance of the instantiated Class
+ */
+ public java.lang.Object getJCOInstance();
+
+ /**
+ * Returns the instantiated class Type
+ *
+ * @return A {@link JCType} representing the Type of the instantiated Class
+ */
+ public JCType getJCOType();
+
+ // Methods section
+
+ public boolean IsReferenced(NetObject context, NetObject value) throws Throwable;
+
+ public NetObject ResolveReference(NetObject context, java.lang.String reference) throws Throwable;
+
+ public java.lang.String GetReference(NetObject context, NetObject value) throws Throwable;
+
+ public void AddReference(NetObject context, java.lang.String reference, NetObject value) throws Throwable;
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IReferenceResolverImplementation.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IReferenceResolverImplementation.java
new file mode 100644
index 000000000..7c5825e10
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IReferenceResolverImplementation.java
@@ -0,0 +1,187 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IReferenceResolver
+ */
+public class IReferenceResolverImplementation extends NetObject implements IReferenceResolver {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IReferenceResolver
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IReferenceResolver";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public IReferenceResolverImplementation(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IReferenceResolver}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IReferenceResolver} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IReferenceResolver ToIReferenceResolver(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new IReferenceResolverImplementation(from.getJCOInstance());
+ }
+
+ // Methods section
+
+ public boolean IsReferenced(NetObject context, NetObject value) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Invoke("IsReferenced", context == null ? null : context.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject ResolveReference(NetObject context, java.lang.String reference) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objResolveReference = (JCObject)classInstance.Invoke("ResolveReference", context == null ? null : context.getJCOInstance(), reference);
+ return new NetObject(objResolveReference);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String GetReference(NetObject context, NetObject value) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("GetReference", context == null ? null : context.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void AddReference(NetObject context, java.lang.String reference, NetObject value) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("AddReference", context == null ? null : context.getJCOInstance(), reference, value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ISerializationCallback.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ISerializationCallback.java
new file mode 100644
index 000000000..47eb400fd
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ISerializationCallback.java
@@ -0,0 +1,50 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.SerializationCallback
+ */
+public interface ISerializationCallback {
+ public void Invoke(NetObject o, StreamingContext context);
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ISerializationErrorCallback.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ISerializationErrorCallback.java
new file mode 100644
index 000000000..3b1565653
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ISerializationErrorCallback.java
@@ -0,0 +1,51 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.SerializationErrorCallback
+ */
+public interface ISerializationErrorCallback {
+ public void Invoke(NetObject o, StreamingContext context, ErrorContext errorContext);
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ITraceWriter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ITraceWriter.java
new file mode 100644
index 000000000..01be4d968
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ITraceWriter.java
@@ -0,0 +1,126 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ITraceWriter
+ */
+public interface ITraceWriter extends IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ITraceWriter
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ITraceWriter";
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ITraceWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ITraceWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ITraceWriter ToITraceWriter(IJCOBridgeReflected from) throws Throwable {
+ JCOBridge bridge = JCOBridgeInstance.getInstance("Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed");
+ JCType classType = bridge.GetType(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ NetType.AssertCast(classType, from);
+ return new ITraceWriterImplementation(from.getJCOInstance());
+ }
+
+ /**
+ * Returns the reflected Assembly name
+ *
+ * @return A {@link String} representing the Fullname of reflected Assembly
+ */
+ public String getJCOAssemblyName();
+
+ /**
+ * Returns the reflected Class name
+ *
+ * @return A {@link String} representing the Fullname of reflected Class
+ */
+ public String getJCOClassName();
+
+ /**
+ * Returns the reflected Class name used to build the object
+ *
+ * @return A {@link String} representing the name used to allocated the object
+ * in CLR context
+ */
+ public String getJCOObjectName();
+
+ /**
+ * Returns the instantiated class
+ *
+ * @return An {@link java.lang.Object} representing the instance of the instantiated Class
+ */
+ public java.lang.Object getJCOInstance();
+
+ /**
+ * Returns the instantiated class Type
+ *
+ * @return A {@link JCType} representing the Type of the instantiated Class
+ */
+ public JCType getJCOType();
+
+ // Methods section
+
+ public void Trace(TraceLevel level, java.lang.String message, NetException ex) throws Throwable;
+
+
+
+ // Properties section
+
+ public TraceLevel getLevelFilter() throws Throwable;
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ITraceWriterImplementation.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ITraceWriterImplementation.java
new file mode 100644
index 000000000..003d8ac98
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ITraceWriterImplementation.java
@@ -0,0 +1,168 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ITraceWriter
+ */
+public class ITraceWriterImplementation extends NetObject implements ITraceWriter {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ITraceWriter
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ITraceWriter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ITraceWriterImplementation(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ITraceWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ITraceWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ITraceWriter ToITraceWriter(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ITraceWriterImplementation(from.getJCOInstance());
+ }
+
+ // Methods section
+
+ public void Trace(TraceLevel level, java.lang.String message, NetException ex) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Trace", level == null ? null : level.getJCOInstance(), message, ex == null ? null : ex.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public TraceLevel getLevelFilter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("LevelFilter");
+ return new TraceLevel(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IValueProvider.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IValueProvider.java
new file mode 100644
index 000000000..730c0b72f
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IValueProvider.java
@@ -0,0 +1,125 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IValueProvider
+ */
+public interface IValueProvider extends IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IValueProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IValueProvider";
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IValueProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IValueProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IValueProvider ToIValueProvider(IJCOBridgeReflected from) throws Throwable {
+ JCOBridge bridge = JCOBridgeInstance.getInstance("Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed");
+ JCType classType = bridge.GetType(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ NetType.AssertCast(classType, from);
+ return new IValueProviderImplementation(from.getJCOInstance());
+ }
+
+ /**
+ * Returns the reflected Assembly name
+ *
+ * @return A {@link String} representing the Fullname of reflected Assembly
+ */
+ public String getJCOAssemblyName();
+
+ /**
+ * Returns the reflected Class name
+ *
+ * @return A {@link String} representing the Fullname of reflected Class
+ */
+ public String getJCOClassName();
+
+ /**
+ * Returns the reflected Class name used to build the object
+ *
+ * @return A {@link String} representing the name used to allocated the object
+ * in CLR context
+ */
+ public String getJCOObjectName();
+
+ /**
+ * Returns the instantiated class
+ *
+ * @return An {@link java.lang.Object} representing the instance of the instantiated Class
+ */
+ public java.lang.Object getJCOInstance();
+
+ /**
+ * Returns the instantiated class Type
+ *
+ * @return A {@link JCType} representing the Type of the instantiated Class
+ */
+ public JCType getJCOType();
+
+ // Methods section
+
+ public NetObject GetValue(NetObject target) throws Throwable;
+
+ public void SetValue(NetObject target, NetObject value) throws Throwable;
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IValueProviderImplementation.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IValueProviderImplementation.java
new file mode 100644
index 000000000..9213c1fbb
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/IValueProviderImplementation.java
@@ -0,0 +1,167 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.IValueProvider
+ */
+public class IValueProviderImplementation extends NetObject implements IValueProvider {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.IValueProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.IValueProvider";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public IValueProviderImplementation(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link IValueProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link IValueProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static IValueProvider ToIValueProvider(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new IValueProviderImplementation(from.getJCOInstance());
+ }
+
+ // Methods section
+
+ public NetObject GetValue(NetObject target) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetValue = (JCObject)classInstance.Invoke("GetValue", target == null ? null : target.getJCOInstance());
+ return new NetObject(objGetValue);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void SetValue(NetObject target, NetObject value) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("SetValue", target == null ? null : target.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonArrayContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonArrayContract.java
new file mode 100644
index 000000000..8ada8eafc
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonArrayContract.java
@@ -0,0 +1,231 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonArrayContract
+ */
+public class JsonArrayContract extends JsonContainerContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonArrayContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonArrayContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonArrayContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonArrayContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonArrayContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonArrayContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonArrayContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonArrayContract() throws Throwable {
+ }
+
+ public JsonArrayContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentException, system.ArgumentOutOfRangeException, system.FormatException, system.NotImplementedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getHasParameterizedCreator() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("HasParameterizedCreator");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setHasParameterizedCreator(boolean HasParameterizedCreator) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("HasParameterizedCreator", HasParameterizedCreator);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getIsMultidimensionalArray() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("IsMultidimensionalArray");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIsMultidimensionalArray(boolean IsMultidimensionalArray) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("IsMultidimensionalArray", IsMultidimensionalArray);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getCollectionItemType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("CollectionItemType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCollectionItemType(NetType CollectionItemType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CollectionItemType", CollectionItemType == null ? null : CollectionItemType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonContainerContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonContainerContract.java
new file mode 100644
index 000000000..9bae227fc
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonContainerContract.java
@@ -0,0 +1,182 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonContainerContract
+ */
+public class JsonContainerContract extends JsonContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonContainerContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonContainerContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonContainerContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonContainerContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonContainerContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonContainerContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonContainerContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonContainerContract() throws Throwable {
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public JsonConverter getItemConverter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ItemConverter");
+ return new JsonConverter(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemConverter(JsonConverter ItemConverter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemConverter", ItemConverter == null ? null : ItemConverter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonContract.java
new file mode 100644
index 000000000..6eb9ee138
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonContract.java
@@ -0,0 +1,347 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonContract
+ */
+public class JsonContract extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonContract() throws Throwable {
+ }
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getDefaultCreatorNonPublic() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("DefaultCreatorNonPublic");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDefaultCreatorNonPublic(boolean DefaultCreatorNonPublic) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DefaultCreatorNonPublic", DefaultCreatorNonPublic);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonConverter getConverter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Converter");
+ return new JsonConverter(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setConverter(JsonConverter Converter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Converter", Converter == null ? null : Converter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MethodInfo getOnDeserialized() throws Throwable, system.NotSupportedException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("OnDeserialized");
+ return new MethodInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOnDeserialized(MethodInfo OnDeserialized) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OnDeserialized", OnDeserialized == null ? null : OnDeserialized.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MethodInfo getOnDeserializing() throws Throwable, system.NotSupportedException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("OnDeserializing");
+ return new MethodInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOnDeserializing(MethodInfo OnDeserializing) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OnDeserializing", OnDeserializing == null ? null : OnDeserializing.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MethodInfo getOnError() throws Throwable, system.NotSupportedException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("OnError");
+ return new MethodInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOnError(MethodInfo OnError) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OnError", OnError == null ? null : OnError.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MethodInfo getOnSerialized() throws Throwable, system.NotSupportedException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("OnSerialized");
+ return new MethodInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOnSerialized(MethodInfo OnSerialized) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OnSerialized", OnSerialized == null ? null : OnSerialized.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public MethodInfo getOnSerializing() throws Throwable, system.NotSupportedException, system.ArgumentNullException, system.FormatException, system.ArgumentException, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("OnSerializing");
+ return new MethodInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOnSerializing(MethodInfo OnSerializing) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OnSerializing", OnSerializing == null ? null : OnSerializing.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getCreatedType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("CreatedType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setCreatedType(NetType CreatedType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("CreatedType", CreatedType == null ? null : CreatedType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getUnderlyingType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("UnderlyingType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setUnderlyingType(NetType UnderlyingType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("UnderlyingType", UnderlyingType == null ? null : UnderlyingType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonDictionaryContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonDictionaryContract.java
new file mode 100644
index 000000000..f205de8a1
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonDictionaryContract.java
@@ -0,0 +1,232 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonDictionaryContract
+ */
+public class JsonDictionaryContract extends JsonContainerContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonDictionaryContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonDictionaryContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonDictionaryContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonDictionaryContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonDictionaryContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonDictionaryContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonDictionaryContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonDictionaryContract() throws Throwable {
+ }
+
+ public JsonDictionaryContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentException, system.ArgumentOutOfRangeException, system.FormatException, system.NotImplementedException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getHasParameterizedCreator() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("HasParameterizedCreator");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setHasParameterizedCreator(boolean HasParameterizedCreator) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("HasParameterizedCreator", HasParameterizedCreator);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getDictionaryKeyType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DictionaryKeyType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDictionaryKeyType(NetType DictionaryKeyType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DictionaryKeyType", DictionaryKeyType == null ? null : DictionaryKeyType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getDictionaryValueType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DictionaryValueType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDictionaryValueType(NetType DictionaryValueType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DictionaryValueType", DictionaryValueType == null ? null : DictionaryValueType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonDynamicContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonDynamicContract.java
new file mode 100644
index 000000000..b4e8fbf68
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonDynamicContract.java
@@ -0,0 +1,192 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonDynamicContract
+ */
+public class JsonDynamicContract extends JsonContainerContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonDynamicContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonDynamicContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonDynamicContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonDynamicContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonDynamicContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonDynamicContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonDynamicContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonDynamicContract() throws Throwable {
+ }
+
+ public JsonDynamicContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.TypeLoadException, system.InvalidOperationException, system.FormatException, system.ArgumentOutOfRangeException, system.ArgumentException, system.NotSupportedException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.IndexOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public JsonPropertyCollection getProperties() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Properties");
+ return new JsonPropertyCollection(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setProperties(JsonPropertyCollection Properties) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Properties", Properties == null ? null : Properties.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonISerializableContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonISerializableContract.java
new file mode 100644
index 000000000..01bcbd483
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonISerializableContract.java
@@ -0,0 +1,170 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonISerializableContract
+ */
+public class JsonISerializableContract extends JsonContainerContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonISerializableContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonISerializableContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonISerializableContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonISerializableContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonISerializableContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonISerializableContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonISerializableContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonISerializableContract() throws Throwable {
+ }
+
+ public JsonISerializableContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentException, system.ArgumentOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonLinqContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonLinqContract.java
new file mode 100644
index 000000000..7488d8e32
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonLinqContract.java
@@ -0,0 +1,170 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonLinqContract
+ */
+public class JsonLinqContract extends JsonContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonLinqContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonLinqContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonLinqContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonLinqContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonLinqContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonLinqContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonLinqContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonLinqContract() throws Throwable {
+ }
+
+ public JsonLinqContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.InvalidOperationException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonObjectContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonObjectContract.java
new file mode 100644
index 000000000..0a822dfb3
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonObjectContract.java
@@ -0,0 +1,321 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonObjectContract
+ */
+public class JsonObjectContract extends JsonContainerContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonObjectContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonObjectContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonObjectContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonObjectContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonObjectContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonObjectContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonObjectContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonObjectContract() throws Throwable {
+ }
+
+ public JsonObjectContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentException, system.ArgumentOutOfRangeException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public MemberSerialization getMemberSerialization() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MemberSerialization");
+ return new MemberSerialization(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMemberSerialization(MemberSerialization MemberSerialization) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MemberSerialization", MemberSerialization == null ? null : MemberSerialization.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ExtensionDataSetter getExtensionDataSetter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (ExtensionDataSetter)classInstance.Get("ExtensionDataSetter");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setExtensionDataSetter(ExtensionDataSetter ExtensionDataSetter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ExtensionDataSetter", ExtensionDataSetter);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonPropertyCollection getConstructorParameters() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ConstructorParameters");
+ return new JsonPropertyCollection(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonPropertyCollection getCreatorParameters() throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("CreatorParameters");
+ return new JsonPropertyCollection(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonPropertyCollection getProperties() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Properties");
+ return new JsonPropertyCollection(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setProperties(JsonPropertyCollection Properties) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Properties", Properties == null ? null : Properties.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ConstructorInfo getOverrideConstructor() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("OverrideConstructor");
+ return new ConstructorInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOverrideConstructor(ConstructorInfo OverrideConstructor) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OverrideConstructor", OverrideConstructor == null ? null : OverrideConstructor.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public ConstructorInfo getParametrizedConstructor() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ParametrizedConstructor");
+ return new ConstructorInfo(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setParametrizedConstructor(ConstructorInfo ParametrizedConstructor) throws Throwable, system.ArgumentNullException, system.FormatException, system.ArgumentException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ParametrizedConstructor", ParametrizedConstructor == null ? null : ParametrizedConstructor.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getExtensionDataValueType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ExtensionDataValueType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setExtensionDataValueType(NetType ExtensionDataValueType) throws Throwable, system.InvalidOperationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ExtensionDataValueType", ExtensionDataValueType == null ? null : ExtensionDataValueType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonPrimitiveContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonPrimitiveContract.java
new file mode 100644
index 000000000..27ba61365
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonPrimitiveContract.java
@@ -0,0 +1,170 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonPrimitiveContract
+ */
+public class JsonPrimitiveContract extends JsonContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonPrimitiveContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonPrimitiveContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonPrimitiveContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonPrimitiveContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonPrimitiveContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonPrimitiveContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonPrimitiveContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonPrimitiveContract() throws Throwable {
+ }
+
+ public JsonPrimitiveContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonProperty.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonProperty.java
new file mode 100644
index 000000000..f099431d7
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonProperty.java
@@ -0,0 +1,480 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonProperty
+ */
+public class JsonProperty extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonProperty
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonProperty";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonProperty(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonProperty}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonProperty} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonProperty cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonProperty(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonProperty() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+ public boolean getHasMemberAttribute() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("HasMemberAttribute");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setHasMemberAttribute(boolean HasMemberAttribute) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("HasMemberAttribute", HasMemberAttribute);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getIgnored() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("Ignored");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setIgnored(boolean Ignored) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Ignored", Ignored);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getReadable() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("Readable");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setReadable(boolean Readable) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Readable", Readable);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getWritable() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("Writable");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setWritable(boolean Writable) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Writable", Writable);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonConverter getConverter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Converter");
+ return new JsonConverter(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setConverter(JsonConverter Converter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Converter", Converter == null ? null : Converter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonConverter getItemConverter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ItemConverter");
+ return new JsonConverter(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setItemConverter(JsonConverter ItemConverter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ItemConverter", ItemConverter == null ? null : ItemConverter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonConverter getMemberConverter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("MemberConverter");
+ return new JsonConverter(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setMemberConverter(JsonConverter MemberConverter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("MemberConverter", MemberConverter == null ? null : MemberConverter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public Required getRequired() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("Required");
+ return new Required(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setRequired(Required Required) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("Required", Required == null ? null : Required.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IAttributeProvider getAttributeProvider() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("AttributeProvider");
+ return new IAttributeProviderImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setAttributeProvider(IAttributeProvider AttributeProvider) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("AttributeProvider", AttributeProvider == null ? null : AttributeProvider.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public IValueProvider getValueProvider() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("ValueProvider");
+ return new IValueProviderImplementation(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setValueProvider(IValueProvider ValueProvider) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ValueProvider", ValueProvider == null ? null : ValueProvider.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetObject getDefaultValue() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DefaultValue");
+ return new NetObject(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDefaultValue(NetObject DefaultValue) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DefaultValue", DefaultValue == null ? null : DefaultValue.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getPropertyName() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("PropertyName");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPropertyName(java.lang.String PropertyName) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("PropertyName", PropertyName);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String getUnderlyingName() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Get("UnderlyingName");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setUnderlyingName(java.lang.String UnderlyingName) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("UnderlyingName", UnderlyingName);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getDeclaringType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("DeclaringType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setDeclaringType(NetType DeclaringType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("DeclaringType", DeclaringType == null ? null : DeclaringType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public NetType getPropertyType() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("PropertyType");
+ return new NetType(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setPropertyType(NetType PropertyType) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("PropertyType", PropertyType == null ? null : PropertyType.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonPropertyCollection.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonPropertyCollection.java
new file mode 100644
index 000000000..c01b97c78
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonPropertyCollection.java
@@ -0,0 +1,203 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonPropertyCollection
+ */
+public class JsonPropertyCollection extends NetObjectEnumerable {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonPropertyCollection
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonPropertyCollection";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonPropertyCollection(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonPropertyCollection}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonPropertyCollection} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonPropertyCollection cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonPropertyCollection(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonPropertyCollection() throws Throwable {
+ }
+
+ public JsonPropertyCollection(NetType type) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(type == null ? null : type.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public JsonProperty GetClosestMatchProperty(java.lang.String propertyName) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.globalization.CultureNotFoundException, system.NotSupportedException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetClosestMatchProperty = (JCObject)classInstance.Invoke("GetClosestMatchProperty", propertyName);
+ return new JsonProperty(objGetClosestMatchProperty);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public JsonProperty GetProperty(java.lang.String propertyName, StringComparison comparisonType) throws Throwable, system.ArgumentOutOfRangeException, system.ArgumentException, system.ArgumentNullException, system.TypeLoadException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotSupportedException, system.globalization.CultureNotFoundException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetProperty = (JCObject)classInstance.Invoke("GetProperty", propertyName, comparisonType == null ? null : comparisonType.getJCOInstance());
+ return new JsonProperty(objGetProperty);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void AddProperty(JsonProperty property) throws Throwable, system.ArgumentNullException, system.collections.generic.KeyNotFoundException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.FormatException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("AddProperty", property == null ? null : property.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonStringContract.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonStringContract.java
new file mode 100644
index 000000000..49d059cd5
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/JsonStringContract.java
@@ -0,0 +1,170 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.JsonStringContract
+ */
+public class JsonStringContract extends JsonPrimitiveContract {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.JsonStringContract
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.JsonStringContract";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public JsonStringContract(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link JsonStringContract}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link JsonStringContract} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static JsonStringContract cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new JsonStringContract(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public JsonStringContract() throws Throwable {
+ }
+
+ public JsonStringContract(NetType underlyingType) throws Throwable, system.ArgumentNullException, system.NotSupportedException, system.InvalidOperationException, system.ArgumentException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(underlyingType == null ? null : underlyingType.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/MemoryTraceWriter.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/MemoryTraceWriter.java
new file mode 100644
index 000000000..79f408245
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/MemoryTraceWriter.java
@@ -0,0 +1,197 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.MemoryTraceWriter
+ */
+public class MemoryTraceWriter extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.MemoryTraceWriter
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.MemoryTraceWriter";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public MemoryTraceWriter(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link MemoryTraceWriter}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link MemoryTraceWriter} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static MemoryTraceWriter cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new MemoryTraceWriter(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public MemoryTraceWriter() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+ public void Trace(TraceLevel level, java.lang.String message, NetException ex) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, system.InvalidTimeZoneException, system.OverflowException, system.NotSupportedException, system.TypeInitializationException, system.FormatException, system.OutOfMemoryException, system.NullReferenceException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("Trace", level == null ? null : level.getJCOInstance(), message, ex == null ? null : ex.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public TraceLevel getLevelFilter() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject val = (JCObject)classInstance.Get("LevelFilter");
+ return new TraceLevel(val);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setLevelFilter(TraceLevel LevelFilter) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("LevelFilter", LevelFilter == null ? null : LevelFilter.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/NamingStrategy.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/NamingStrategy.java
new file mode 100644
index 000000000..8db570538
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/NamingStrategy.java
@@ -0,0 +1,217 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.NamingStrategy
+ */
+public class NamingStrategy extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.NamingStrategy
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.NamingStrategy";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public NamingStrategy(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link NamingStrategy}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link NamingStrategy} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static NamingStrategy cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new NamingStrategy(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public NamingStrategy() throws Throwable {
+ }
+
+
+ // Methods section
+
+ public java.lang.String GetDictionaryKey(java.lang.String key) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("GetDictionaryKey", key);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public java.lang.String GetPropertyName(java.lang.String name, boolean hasSpecifiedName) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (java.lang.String)classInstance.Invoke("GetPropertyName", name, hasSpecifiedName);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+ public boolean getOverrideSpecifiedNames() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("OverrideSpecifiedNames");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setOverrideSpecifiedNames(boolean OverrideSpecifiedNames) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("OverrideSpecifiedNames", OverrideSpecifiedNames);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public boolean getProcessDictionaryKeys() throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ return (boolean)classInstance.Get("ProcessDictionaryKeys");
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void setProcessDictionaryKeys(boolean ProcessDictionaryKeys) throws Throwable {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Set("ProcessDictionaryKeys", ProcessDictionaryKeys);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/OnErrorAttribute.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/OnErrorAttribute.java
new file mode 100644
index 000000000..dde463ac7
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/OnErrorAttribute.java
@@ -0,0 +1,166 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.OnErrorAttribute
+ */
+public class OnErrorAttribute extends Attribute {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.OnErrorAttribute
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.OnErrorAttribute";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public OnErrorAttribute(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link OnErrorAttribute}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link OnErrorAttribute} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static OnErrorAttribute cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new OnErrorAttribute(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public OnErrorAttribute() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ReflectionAttributeProvider.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ReflectionAttributeProvider.java
new file mode 100644
index 000000000..84d9e4961
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ReflectionAttributeProvider.java
@@ -0,0 +1,169 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ReflectionAttributeProvider
+ */
+public class ReflectionAttributeProvider extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ReflectionAttributeProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ReflectionAttributeProvider";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ReflectionAttributeProvider(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ReflectionAttributeProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ReflectionAttributeProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ReflectionAttributeProvider cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ReflectionAttributeProvider(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public ReflectionAttributeProvider() throws Throwable {
+ }
+
+ public ReflectionAttributeProvider(NetObject attributeProvider) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(attributeProvider == null ? null : attributeProvider.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ReflectionValueProvider.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ReflectionValueProvider.java
new file mode 100644
index 000000000..87ed3205a
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/ReflectionValueProvider.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.ReflectionValueProvider
+ */
+public class ReflectionValueProvider extends NetObject {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.ReflectionValueProvider
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.ReflectionValueProvider";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public ReflectionValueProvider(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link ReflectionValueProvider}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link ReflectionValueProvider} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static ReflectionValueProvider cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new ReflectionValueProvider(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public ReflectionValueProvider() throws Throwable {
+ }
+
+ public ReflectionValueProvider(MemberInfo memberInfo) throws Throwable, system.ArgumentNullException {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(memberInfo == null ? null : memberInfo.getJCOInstance()));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+
+ // Methods section
+
+ public NetObject GetValue(NetObject target) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.ArgumentException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ JCObject objGetValue = (JCObject)classInstance.Invoke("GetValue", target == null ? null : target.getJCOInstance());
+ return new NetObject(objGetValue);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public void SetValue(NetObject target, NetObject value) throws Throwable, system.ArgumentNullException, system.ArgumentOutOfRangeException, system.FormatException, system.ArgumentException, newtonsoft.json.JsonSerializationException {
+ if (classInstance == null)
+ throw new UnsupportedOperationException("classInstance is null.");
+ try {
+ classInstance.Invoke("SetValue", target == null ? null : target.getJCOInstance(), value == null ? null : value.getJCOInstance());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file
diff --git a/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/SerializationCallback.java b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/SerializationCallback.java
new file mode 100644
index 000000000..699e0820c
--- /dev/null
+++ b/netreflected/newtonsoft_json_9_0_1_0/src/net461/newtonsoft.json_version_9.0.0.0_culture_neutral_publickeytoken_30ad4fe6b2a6aeed/newtonsoft/json/serialization/SerializationCallback.java
@@ -0,0 +1,191 @@
+/*
+ * MIT License
+ *
+ * Copyright (c) 2022 MASES s.r.l.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/**************************************************************************************
+ *
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.SerializationCallback
+ */
+public class SerializationCallback extends JCVoidDelegate implements IJCVoidEventEmit, IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.SerializationCallback
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.SerializationCallback";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ JCObject classInstance = null;
+ ISerializationCallback callerInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return this;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ public final void EventRaised(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject o = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ StreamingContext context = argsFromJCOBridge[1] == null ? null : new StreamingContext(argsFromJCOBridge[1]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(o, context);
+ } else {
+ Invoke(o, context);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public final void DelegateInvoked(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject o = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ StreamingContext context = argsFromJCOBridge[1] == null ? null : new StreamingContext(argsFromJCOBridge[1]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(o, context);
+ } else {
+ Invoke(o, context);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public SerializationCallback() {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ }
+
+ public SerializationCallback(ISerializationCallback instance) {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ callerInstance = instance;
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public SerializationCallback(java.lang.Object instance) throws Throwable {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ if (instance == null) throw new IllegalArgumentException("Instance cannot be null");
+ if (instance instanceof ISerializationCallback) {
+ callerInstance = (ISerializationCallback) instance;
+ } else if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new UnsupportedOperationException(
+ String.format("Class %s is not supported.", instance.getClass().getTypeName()));
+ }
+
+ protected final static
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.SerializationErrorCallback
+ */
+public class SerializationErrorCallback extends JCVoidDelegate implements IJCVoidEventEmit, IJCOBridgeReflected {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.SerializationErrorCallback
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.SerializationErrorCallback";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ JCObject classInstance = null;
+ ISerializationErrorCallback callerInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return this;
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+
+ public final void EventRaised(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject o = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ StreamingContext context = argsFromJCOBridge[1] == null ? null : new StreamingContext(argsFromJCOBridge[1]);
+ ErrorContext errorContext = argsFromJCOBridge[2] == null ? null : new ErrorContext(argsFromJCOBridge[2]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(o, context, errorContext);
+ } else {
+ Invoke(o, context, errorContext);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public final void DelegateInvoked(java.lang.Object... argsFromJCOBridge) {
+ try
+ {
+ NetObject o = argsFromJCOBridge[0] == null ? null : new NetObject(argsFromJCOBridge[0]);
+ StreamingContext context = argsFromJCOBridge[1] == null ? null : new StreamingContext(argsFromJCOBridge[1]);
+ ErrorContext errorContext = argsFromJCOBridge[2] == null ? null : new ErrorContext(argsFromJCOBridge[2]);
+
+
+ if (callerInstance != null) {
+ callerInstance.Invoke(o, context, errorContext);
+ } else {
+ Invoke(o, context, errorContext);
+ }
+ }
+ catch (Throwable throwableFromJCEvent)
+ {
+ JCOReflector.writeLog(throwableFromJCEvent);
+ }
+ }
+
+ public SerializationErrorCallback() {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ }
+
+ public SerializationErrorCallback(ISerializationErrorCallback instance) {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ callerInstance = instance;
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public SerializationErrorCallback(java.lang.Object instance) throws Throwable {
+ super(className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName));
+ if (instance == null) throw new IllegalArgumentException("Instance cannot be null");
+ if (instance instanceof ISerializationErrorCallback) {
+ callerInstance = (ISerializationErrorCallback) instance;
+ } else if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new UnsupportedOperationException(
+ String.format("Class %s is not supported.", instance.getClass().getTypeName()));
+ }
+
+ protected final static
+ *
+ * See: https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy
+ */
+public class SnakeCaseNamingStrategy extends NamingStrategy {
+ /**
+ * Fully assembly qualified name: Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
+ */
+ public static final String assemblyFullName = "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed";
+ /**
+ * Assembly name: Newtonsoft.Json
+ */
+ public static final String assemblyShortName = "Newtonsoft.Json";
+ /**
+ * Qualified class name: Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy
+ */
+ public static final String className = "Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy";
+ static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName);
+ /**
+ * The type managed from JCOBridge. See {@link JCType}
+ */
+ public static JCType classType = createType();
+ static JCEnum enumInstance = null;
+ JCObject classInstance = null;
+
+ static JCType createType() {
+ try {
+ String classToCreate = className + ", "
+ + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Creating %s", classToCreate);
+ JCType typeCreated = bridge.GetType(classToCreate);
+ if (JCOReflector.getDebug())
+ JCOReflector.writeLog("Created: %s",
+ (typeCreated != null) ? typeCreated.toString() : "Returned null value");
+ return typeCreated;
+ } catch (JCException e) {
+ JCOReflector.writeLog(e);
+ return null;
+ }
+ }
+
+ void addReference(String ref) throws Throwable {
+ try {
+ bridge.AddReference(ref);
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+ /**
+ * Internal constructor. Use with caution
+ */
+ public SnakeCaseNamingStrategy(java.lang.Object instance) throws Throwable {
+ super(instance);
+ if (instance instanceof JCObject) {
+ classInstance = (JCObject) instance;
+ } else
+ throw new Exception("Cannot manage object, it is not a JCObject");
+ }
+
+ public String getJCOAssemblyName() {
+ return assemblyFullName;
+ }
+
+ public String getJCOClassName() {
+ return className;
+ }
+
+ public String getJCOObjectName() {
+ return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ }
+
+ public java.lang.Object getJCOInstance() {
+ return classInstance;
+ }
+
+ public void setJCOInstance(JCObject instance) {
+ classInstance = instance;
+ super.setJCOInstance(classInstance);
+ }
+
+ public JCType getJCOType() {
+ return classType;
+ }
+ /**
+ * Try to cast the {@link IJCOBridgeReflected} instance into {@link SnakeCaseNamingStrategy}, a cast assert is made to check if types are compatible.
+ * @param from {@link IJCOBridgeReflected} instance to be casted
+ * @return {@link SnakeCaseNamingStrategy} instance
+ * @throws java.lang.Throwable in case of error during cast operation
+ */
+ public static SnakeCaseNamingStrategy cast(IJCOBridgeReflected from) throws Throwable {
+ NetType.AssertCast(classType, from);
+ return new SnakeCaseNamingStrategy(from.getJCOInstance());
+ }
+
+ // Constructors section
+
+ public SnakeCaseNamingStrategy() throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject());
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+ public SnakeCaseNamingStrategy(boolean processDictionaryKeys, boolean overrideSpecifiedNames) throws Throwable {
+ try {
+ // add reference to assemblyName.dll file
+ addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName);
+ setJCOInstance((JCObject)classType.NewObject(processDictionaryKeys, overrideSpecifiedNames));
+ } catch (JCNativeException jcne) {
+ throw translateException(jcne);
+ }
+ }
+
+
+
+ // Methods section
+
+
+
+ // Properties section
+
+
+
+ // Instance Events section
+
+
+}
\ No newline at end of file