System::Reflection::AssemblyTypeRegistration< T > Class Template Reference

Singleton to register type in executing assembly. More...

#include "assembly_type_registration.h"

Inherits System::Reflection::AssemblyTypeRegistrationBase.

Public Member Functions

 AssemblyTypeRegistration ()
 Creates singleton, thus registering type in executing assembly. More...
 
 AssemblyTypeRegistration (const SharedPtr< Assembly > &assembly)
 Creates singleton, thus registering type in the specified assembly. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from System::Reflection::AssemblyTypeRegistrationBase
static ASPOSECPP_SHARED_API void RegisterType (const System::TypeInfo &type)
 Registers type in executing assembly. More...
 
static ASPOSECPP_SHARED_API void RegisterType (const SharedPtr< Assembly > &assembly, const System::TypeInfo &type)
 Registers type in specified assembly. More...
 

Detailed Description

template<typename T>
class System::Reflection::AssemblyTypeRegistration< T >

Singleton to register type in executing assembly.

Template Parameters
TType to register.

Constructor & Destructor Documentation

◆ AssemblyTypeRegistration() [1/2]

Creates singleton, thus registering type in executing assembly.

◆ AssemblyTypeRegistration() [2/2]

template<typename T >
System::Reflection::AssemblyTypeRegistration< T >::AssemblyTypeRegistration ( const SharedPtr< Assembly > &  assembly)
inline

Creates singleton, thus registering type in the specified assembly.