public class IFormatterConverterImplementation extends NetObject implements IFormatterConverter
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Runtime.Serialization.IFormatterConverter
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Runtime.Serialization.IFormatterConverter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IFormatterConverterImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NetObject |
Convert(NetObject value,
NetType type)
Invokes the .NET member Convert.
|
NetObject |
Convert(NetObject value,
TypeCode typeCode)
Invokes the .NET member Convert.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
ToBoolean(NetObject value)
Invokes the .NET member ToBoolean.
|
byte |
ToByte(NetObject value)
Invokes the .NET member ToByte.
|
char |
ToChar(NetObject value)
Invokes the .NET member ToChar.
|
DateTime |
ToDateTime(NetObject value)
Invokes the .NET member ToDateTime.
|
Decimal |
ToDecimal(NetObject value)
Invokes the .NET member ToDecimal.
|
double |
ToDouble(NetObject value)
Invokes the .NET member ToDouble.
|
static IFormatterConverter |
ToIFormatterConverter(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IFormatterConverter, a cast assert is made to check if types are compatible. |
short |
ToInt16(NetObject value)
Invokes the .NET member ToInt16.
|
int |
ToInt32(NetObject value)
Invokes the .NET member ToInt32.
|
long |
ToInt64(NetObject value)
Invokes the .NET member ToInt64.
|
SByte |
ToSByte(NetObject value)
Invokes the .NET member ToSByte.
|
Single |
ToSingle(NetObject value)
Invokes the .NET member ToSingle.
|
java.lang.String |
ToString(NetObject value)
Invokes the .NET member ToString.
|
UInt16 |
ToUInt16(NetObject value)
Invokes the .NET member ToUInt16.
|
UInt32 |
ToUInt32(NetObject value)
Invokes the .NET member ToUInt32.
|
UInt64 |
ToUInt64(NetObject value)
Invokes the .NET member ToUInt64.
|
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IFormatterConverterImplementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic NetObject Convert(NetObject value, NetType type) throws java.lang.Throwable
Convert in interface IFormatterConvertervalue - the argument of type NetObjecttype - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject Convert(NetObject value, TypeCode typeCode) throws java.lang.Throwable
Convert in interface IFormatterConvertervalue - the argument of type NetObjecttypeCode - the argument of type TypeCodejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IFormatterConvertergetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IFormatterConvertergetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IFormatterConvertergetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IFormatterConvertergetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IFormatterConvertergetJCOType in class NetObjectpublic boolean ToBoolean(NetObject value) throws java.lang.Throwable
ToBoolean in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte ToByte(NetObject value) throws java.lang.Throwable
ToByte in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic char ToChar(NetObject value) throws java.lang.Throwable
ToChar in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime ToDateTime(NetObject value) throws java.lang.Throwable
ToDateTime in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Decimal ToDecimal(NetObject value) throws java.lang.Throwable
ToDecimal in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double ToDouble(NetObject value) throws java.lang.Throwable
ToDouble in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static IFormatterConverter ToIFormatterConverter(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IFormatterConverter, a cast assert is made to check if types are compatible.ToIFormatterConverter in interface IFormatterConverterfrom - IJCOBridgeReflected instance to be castedIFormatterConverter instancejava.lang.Throwable - in case of error during cast operationpublic short ToInt16(NetObject value) throws java.lang.Throwable
ToInt16 in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int ToInt32(NetObject value) throws java.lang.Throwable
ToInt32 in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic long ToInt64(NetObject value) throws java.lang.Throwable
ToInt64 in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic SByte ToSByte(NetObject value) throws java.lang.Throwable
ToSByte in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single ToSingle(NetObject value) throws java.lang.Throwable
ToSingle in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToString(NetObject value) throws java.lang.Throwable
ToString in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 ToUInt16(NetObject value) throws java.lang.Throwable
ToUInt16 in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt32 ToUInt32(NetObject value) throws java.lang.Throwable
ToUInt32 in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt64 ToUInt64(NetObject value) throws java.lang.Throwable
ToUInt64 in interface IFormatterConvertervalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLR