Package system.runtime.serialization
Interface IDataContractSurrogate
-
- All Superinterfaces:
IJCOBridgeReflected
- All Known Implementing Classes:
IDataContractSurrogateImplementation
public interface IDataContractSurrogate extends IJCOBridgeReflected
The base .NET class managing System.Runtime.Serialization.IDataContractSurrogate, System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.IDataContractSurrogate
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Runtime.Serializationstatic java.lang.StringclassNameQualified class name: System.Runtime.Serialization.IDataContractSurrogate
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description NetObjectGetCustomDataToExport(NetType clrType, NetType dataContractType)NetObjectGetCustomDataToExport(MemberInfo memberInfo, NetType dataContractType)NetTypeGetDataContractType(NetType type)NetObjectGetDeserializedObject(NetObject obj, NetType targetType)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeNetObjectGetObjectToSerialize(NetObject obj, NetType targetType)NetTypeGetReferencedTypeOnImport(java.lang.String typeName, java.lang.String typeNamespace, NetObject customData)CodeTypeDeclarationProcessImportedType(CodeTypeDeclaration typeDeclaration, CodeCompileUnit compileUnit)static IDataContractSurrogateToIDataContractSurrogate(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIDataContractSurrogate, a cast assert is made to check if types are compatible.
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: System.Runtime.Serialization- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.Runtime.Serialization.IDataContractSurrogate- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIDataContractSurrogate
static IDataContractSurrogate ToIDataContractSurrogate(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIDataContractSurrogate, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IDataContractSurrogateinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Returns:
- An
Objectrepresenting the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Returns:
- A
JCTyperepresenting the Type of the instantiated Class
-
ProcessImportedType
CodeTypeDeclaration ProcessImportedType(CodeTypeDeclaration typeDeclaration, CodeCompileUnit compileUnit) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCustomDataToExport
NetObject GetCustomDataToExport(MemberInfo memberInfo, NetType dataContractType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCustomDataToExport
NetObject GetCustomDataToExport(NetType clrType, NetType dataContractType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDeserializedObject
NetObject GetDeserializedObject(NetObject obj, NetType targetType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetObjectToSerialize
NetObject GetObjectToSerialize(NetObject obj, NetType targetType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDataContractType
NetType GetDataContractType(NetType type) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-