@@ -12,30 +12,44 @@ public class GxDynamicCall
1212 private const string defaultMethod = "execute" ;
1313 private Assembly _assembly ;
1414 private readonly IGxContext _context ;
15- private GXProperties _properties ;
15+ private GXProperties _extendedProperties ;
16+ private GxDynCallProperties _properties ;
1617 private object _object ;
1718
1819 [ Obsolete ( "ObjectName is deprecated. Use ExternalName instead" , false ) ]
1920 public string ObjectName { get ; set ; }
2021 public string ExternalName { get ; set ; }
21- public GXProperties Properties
22+
23+ [ Obsolete ( "Properties is deprecated. Use ExtendedProperties instead" , false ) ]
24+ public GxDynCallProperties Properties
2225 {
2326 get => _properties ;
2427 set
2528 {
2629 _properties = Properties ;
2730 }
2831 }
32+
33+ public GXProperties ExtendedProperties
34+ {
35+ get => _extendedProperties ;
36+ set
37+ {
38+ _extendedProperties = ExtendedProperties ;
39+ }
40+ }
2941 public GxDynamicCall ( )
3042 {
31- _properties = new GXProperties ( ) ;
43+ _extendedProperties = new GXProperties ( ) ;
44+ _properties = new GxDynCallProperties ( ) ;
3245 }
3346
3447 public GxDynamicCall ( IGxContext context )
3548 {
3649 _context = context ;
3750 _assembly = null ;
38- _properties = new GXProperties ( ) ;
51+ _extendedProperties = new GXProperties ( ) ;
52+ _properties = new GxDynCallProperties ( ) ;
3953 _object = null ;
4054 }
4155
@@ -44,15 +58,15 @@ private void VerifyDefaultProperties()
4458
4559 if ( _assembly is null )
4660 {
47- if ( string . IsNullOrEmpty ( _properties . Get ( "AssemblyName" ) ) )
61+ if ( string . IsNullOrEmpty ( _extendedProperties . Get ( "AssemblyName" ) ) )
4862 {
4963 _assembly = Assembly . GetCallingAssembly ( ) ;
5064 }
5165 else
5266 {
5367 try
5468 {
55- _assembly = Assembly . LoadFrom ( _properties . Get ( "AssemblyName" ) ) ;
69+ _assembly = Assembly . LoadFrom ( _extendedProperties . Get ( "AssemblyName" ) ) ;
5670 }
5771 catch
5872 {
0 commit comments