TypeActivator

Overview

The TypeActivator class is an abstract class used in conjunction with the TypeManager class to provide an abstract factory for the Serializer. While generating the _Intf file CodeGen, this class defines descendants of the TypeActivator class which implement a CreateInstance method for each complex type in your RODL. These generated classes are marked with an ActivatorAttribute attribute and are linked with corresponding complex types via the RemotableAttribute attribute ActivatorClass property.

Location

Implements

Instance Methods


constructor  protected

Creates a new instance of the TypeActivator class.

 

constructor

 

TypeActivator()

 

Sub New

CreateInstance

Abstract method. In descendants generated by the CodeGen, this method creates a new instance of the corresponding complex type.

 

method CreateInstance: Object

 

Object CreateInstance()

 

Function CreateInstance As Object

See Also