|
| 1 | +/* |
| 2 | + File: genexus.common.type_SdtDynamicCall |
| 3 | + Description: DynamicCall |
| 4 | + Author: GeneXus .NET Generator version 18_0_11-185337 |
| 5 | + Generated on: 11/28/2024 9:54:49.46 |
| 6 | + Program type: Callable routine |
| 7 | + Main DBMS: SQL Server |
| 8 | +*/ |
| 9 | +using System; |
| 10 | +using System.Collections; |
| 11 | +using System.Xml.Serialization; |
| 12 | +using GeneXus.Application; |
| 13 | +using GeneXus.Utils; |
| 14 | +namespace GeneXus.Core.genexus.common |
| 15 | +{ |
| 16 | + [Serializable] |
| 17 | + public class SdtDynamicCall : GxUserType, IGxExternalObject |
| 18 | + { |
| 19 | + public SdtDynamicCall( ) |
| 20 | + { |
| 21 | + /* Constructor for serialization */ |
| 22 | + } |
| 23 | + |
| 24 | + public SdtDynamicCall( IGxContext context ) |
| 25 | + { |
| 26 | + this.context = context; |
| 27 | + initialize(); |
| 28 | + } |
| 29 | + |
| 30 | + private static Hashtable mapper; |
| 31 | + public override string JsonMap( string value ) |
| 32 | + { |
| 33 | + if ( mapper == null ) |
| 34 | + { |
| 35 | + mapper = new Hashtable(); |
| 36 | + } |
| 37 | + return (string)mapper[value]; ; |
| 38 | + } |
| 39 | + |
| 40 | + public void execute( ref GxSimpleCollection<object> gxTp_Parameters , |
| 41 | + out GXBaseCollection<GeneXus.Utils.SdtMessages_Message> gxTp_Errors ) |
| 42 | + { |
| 43 | + gxTp_Errors = new GXBaseCollection<GeneXus.Utils.SdtMessages_Message>( context, "Message", "GeneXus"); |
| 44 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 45 | + { |
| 46 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 47 | + } |
| 48 | + System.Collections.Generic.IList<object> externalParm0; |
| 49 | + System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message> externalParm1; |
| 50 | + externalParm0 = (System.Collections.Generic.IList<object>)CollectionUtils.ConvertToExternal( typeof(System.Collections.Generic.IList<object>), gxTp_Parameters.ExternalInstance); |
| 51 | + GeneXus_Common_DynamicCall_externalReference.Execute(ref externalParm0, out externalParm1); |
| 52 | + gxTp_Parameters.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<object>), externalParm0); |
| 53 | + gxTp_Errors.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message>), externalParm1); |
| 54 | + return ; |
| 55 | + } |
| 56 | + |
| 57 | + public object execute( ref GxSimpleCollection<object> gxTp_Parameters , |
| 58 | + GeneXus.Core.genexus.common.SdtDynamicCallMethodProperties gxTp_MethodInfo , |
| 59 | + out GXBaseCollection<GeneXus.Utils.SdtMessages_Message> gxTp_Errors ) |
| 60 | + { |
| 61 | + object returnexecute; |
| 62 | + gxTp_Errors = new GXBaseCollection<GeneXus.Utils.SdtMessages_Message>( context, "Message", "GeneXus"); |
| 63 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 64 | + { |
| 65 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 66 | + } |
| 67 | + object externalParm0; |
| 68 | + System.Collections.Generic.IList<object> externalParm1; |
| 69 | + GeneXus.DynamicCall.GxDynCallMethodConf externalParm2; |
| 70 | + System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message> externalParm3; |
| 71 | + externalParm1 = (System.Collections.Generic.IList<object>)CollectionUtils.ConvertToExternal( typeof(System.Collections.Generic.IList<object>), gxTp_Parameters.ExternalInstance); |
| 72 | + externalParm2 = (GeneXus.DynamicCall.GxDynCallMethodConf)(gxTp_MethodInfo.ExternalInstance); |
| 73 | + externalParm0 = GeneXus_Common_DynamicCall_externalReference.Execute(ref externalParm1, externalParm2, out externalParm3); |
| 74 | + returnexecute = (object)(externalParm0); |
| 75 | + gxTp_Parameters.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<object>), externalParm1); |
| 76 | + gxTp_Errors.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message>), externalParm3); |
| 77 | + return returnexecute ; |
| 78 | + } |
| 79 | + |
| 80 | + public void create( GxSimpleCollection<object> gxTp_Parameters , |
| 81 | + out GXBaseCollection<GeneXus.Utils.SdtMessages_Message> gxTp_Errors ) |
| 82 | + { |
| 83 | + gxTp_Errors = new GXBaseCollection<GeneXus.Utils.SdtMessages_Message>( context, "Message", "GeneXus"); |
| 84 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 85 | + { |
| 86 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 87 | + } |
| 88 | + System.Collections.Generic.IList<object> externalParm0; |
| 89 | + System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message> externalParm1; |
| 90 | + externalParm0 = (System.Collections.Generic.IList<object>)CollectionUtils.ConvertToExternal( typeof(System.Collections.Generic.IList<object>), gxTp_Parameters.ExternalInstance); |
| 91 | + GeneXus_Common_DynamicCall_externalReference.Create(externalParm0, out externalParm1); |
| 92 | + gxTp_Errors.ExternalInstance = (IList)CollectionUtils.ConvertToInternal( typeof(System.Collections.Generic.IList<GeneXus.Utils.SdtMessages_Message>), externalParm1); |
| 93 | + return ; |
| 94 | + } |
| 95 | + |
| 96 | + public void setoption( ref string gxTp_ObjectName , |
| 97 | + ref string gxTp_CallOption , |
| 98 | + ref string gxTp_Value ) |
| 99 | + { |
| 100 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 101 | + { |
| 102 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 103 | + } |
| 104 | + return ; |
| 105 | + } |
| 106 | + |
| 107 | + public string gxTpr_Objectname |
| 108 | + { |
| 109 | + get { |
| 110 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 111 | + { |
| 112 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 113 | + } |
| 114 | + return GeneXus_Common_DynamicCall_externalReference.ObjectName ; |
| 115 | + } |
| 116 | + |
| 117 | + set { |
| 118 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 119 | + { |
| 120 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 121 | + } |
| 122 | + GeneXus_Common_DynamicCall_externalReference.ObjectName = value; |
| 123 | + SetDirty("Objectname"); |
| 124 | + } |
| 125 | + |
| 126 | + } |
| 127 | + |
| 128 | + public GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet gxTpr_Net |
| 129 | + { |
| 130 | + get { |
| 131 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 132 | + { |
| 133 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 134 | + } |
| 135 | + GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet intValue; |
| 136 | + intValue = new GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet(context); |
| 137 | + GeneXus.DynamicCall.GxDynCallProperties externalParm0; |
| 138 | + externalParm0 = GeneXus_Common_DynamicCall_externalReference.Properties; |
| 139 | + intValue.ExternalInstance = externalParm0; |
| 140 | + return intValue ; |
| 141 | + } |
| 142 | + |
| 143 | + set { |
| 144 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 145 | + { |
| 146 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 147 | + } |
| 148 | + GeneXus.Core.genexus.common.SdtDynamicCallPropertiesNet intValue; |
| 149 | + GeneXus.DynamicCall.GxDynCallProperties externalParm1; |
| 150 | + intValue = value; |
| 151 | + externalParm1 = (GeneXus.DynamicCall.GxDynCallProperties)(intValue.ExternalInstance); |
| 152 | + GeneXus_Common_DynamicCall_externalReference.Properties = externalParm1; |
| 153 | + SetDirty("Net"); |
| 154 | + } |
| 155 | + |
| 156 | + } |
| 157 | + |
| 158 | + public Object ExternalInstance |
| 159 | + { |
| 160 | + get { |
| 161 | + if ( GeneXus_Common_DynamicCall_externalReference == null ) |
| 162 | + { |
| 163 | + GeneXus_Common_DynamicCall_externalReference = new GeneXus.DynamicCall.GxDynamicCall(); |
| 164 | + } |
| 165 | + return GeneXus_Common_DynamicCall_externalReference ; |
| 166 | + } |
| 167 | + |
| 168 | + set { |
| 169 | + GeneXus_Common_DynamicCall_externalReference = (GeneXus.DynamicCall.GxDynamicCall)(value); |
| 170 | + } |
| 171 | + |
| 172 | + } |
| 173 | + |
| 174 | + [XmlIgnore] |
| 175 | + private static GXTypeInfo _typeProps; |
| 176 | + protected override GXTypeInfo TypeInfo |
| 177 | + { |
| 178 | + get { |
| 179 | + return _typeProps ; |
| 180 | + } |
| 181 | + |
| 182 | + set { |
| 183 | + _typeProps = value ; |
| 184 | + } |
| 185 | + |
| 186 | + } |
| 187 | + |
| 188 | + public void initialize( ) |
| 189 | + { |
| 190 | + return ; |
| 191 | + } |
| 192 | + |
| 193 | + protected GeneXus.DynamicCall.GxDynamicCall GeneXus_Common_DynamicCall_externalReference=null ; |
| 194 | + } |
| 195 | + |
| 196 | +} |
0 commit comments