JuggerNET Runtime Library v3.6.54.0
3.6.54.0
|
A marshaller that uses reflection to get/set properties. More...
Public Member Functions | |
ReflectionPeerValueMarshaller (string defaultPeerType) | |
override JavaProxy | Marshal (object dotNetInstance, JavaProxy javaInstance, PeerMarshalContext ctx) |
Marshals a .NET instance into a Java object. The Java object may be passed as an optional argument (default is null) More... | |
override object | Unmarshal (JavaProxy javaInstance, object dotNetInstance) |
Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null). More... | |
Public Member Functions inherited from Codemesh.JuggerNET.BasePeerMarshaller | |
JavaProxy | Marshal (object dotNetInstance) |
Marshals a .NET instance into a Java object. More... | |
JavaProxy | Marshal (object dotNetInstance, JavaProxy javaObject) |
Marshals a .NET instance into a Java object. The Java object may be passed as an optional argument (default is null) More... | |
object | Unmarshal (JavaProxy javaInstance) |
Unmarshals a Java instance into a .NET object. More... | |
Protected Member Functions | |
void | MarshalData (object dotNetInstance, Hashtable fields, Hashtable props, JavaProxy javaInstance) |
void | UnmarshalData (object dotNetInstance, Hashtable fields, Hashtable props, JavaProxy javaInstance) |
Protected Member Functions inherited from Codemesh.JuggerNET.BasePeerMarshaller | |
Hashtable | GatherFields (Type type, BindingFlags flags) |
Hashtable | GatherProperties (Type type, BindingFlags flags) |
Protected Attributes | |
string | mDefaultPeerType |
Additional Inherited Members | |
Static Protected Attributes inherited from Codemesh.JuggerNET.BasePeerMarshaller | |
static JavaClass | PEER = new JavaClass( "com/codemesh/peer/PeerType", null ) |
A marshaller that uses reflection to get/set properties.
<exclude>
|
inlinevirtual |
Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null)
dotNetInstance | the .NET instance to marshal |
javaInstance | an optional Java instance to marshal into. |
ctx | the marshalling context. |
Implements Codemesh.JuggerNET.BasePeerMarshaller.
|
inlinevirtual |
Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null).
javaInstance | the Java instance to unmarshal. |
dotNetInstance | an optional .NET instance to unmarshal into. |
Implements Codemesh.JuggerNET.BasePeerMarshaller.
References Codemesh.JuggerNET.JavaProxy.IsInstanceOf().