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