Delegate JsonSerialize.ResolveTypeDelegate
- Namespace
- CADability
- Assembly
- CADability.dll
Signature of the handlers of ResolveType: asked for the Type to instantiate when a type name read from a file cannot be resolved.
public delegate Type JsonSerialize.ResolveTypeDelegate(string typeName, string assemblyName)
Parameters
typeNamestringThe full name of the type as stored in the file
assemblyNamestringThe name of the assembly as stored in the file
Returns
- Type
The type to use, or null if this handler does not know the type
Constructors
ResolveTypeDelegate(object, nint)
public ResolveTypeDelegate(object @object, nint method)
Parameters
Methods
BeginInvoke(string, string, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string typeName, string assemblyName, AsyncCallback callback, object @object)
Parameters
typeNamestringassemblyNamestringcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual Type EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(string, string)
public virtual Type Invoke(string typeName, string assemblyName)