Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EncodeableFactory Dim assembly As Assembly instance.AddEncodeableTypes(assembly) |
Parameters
- assembly
- The assembly containing the types to add to the factory
Adds all encodable types exported from an assembly to the factory.
This method uses reflection on the specified assembly to export all of the types the assembly exposes, and automatically adds all types that implement the IEncodeable interface, to the factory.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x