AddPortableFactory Method
AddPortableFactory(Int32, IPortableFactory)
Adds an IPortableFactory.
Declaration
public SerializationOptions AddPortableFactory(int factoryId, IPortableFactory factory)
Parameters
Int32 | factoryId | The identifier of the factory. |
IPortableFactory | factory | The factory. |
Returns
SerializationOptions | The SerializationOptions. |
AddPortableFactory(Int32, Type)
Adds an IPortableFactory.
Declaration
public SerializationOptions AddPortableFactory(int factoryId, Type factoryType)
Parameters
Int32 | factoryId | The identifier of the factory. |
Type | factoryType | The type of the factory |
Returns
SerializationOptions | The SerializationOptions. |
AddPortableFactory(Int32, String)
Adds an IPortableFactory.
Declaration
public SerializationOptions AddPortableFactory(int factoryId, string factoryTypeName)
Parameters
Int32 | factoryId | The identifier of the factory. |
String | factoryTypeName | The type name of the factory |
Returns
SerializationOptions | The SerializationOptions. |