ClassFactoryAttribute

Overview

This is the base class for all Class Factory Attributes. When implementing a new class factory, you will also implement a matching attribute that will be used to associate your class factory with services.

Location


Instance Methods


constructor  protected

 

constructor

 

ClassFactoryAttribute()

 

Sub New()

CreateClassFactory (Type): IClassFactory

 

method CreateClassFactory(serviceClass: Type): IClassFactory

 

IClassFactory CreateClassFactory(Type serviceClass)

 

Function CreateClassFactory(serviceClass As Type) As IClassFactory

Parameters:

  • serviceClass:

CreateClassFactory (Type, IServiceActivator, Boolean, array of String): IClassFactory

 

method CreateClassFactory(serviceClass: Type; activator: IServiceActivator; enforceSessionCheck: Boolean; roles: array of String): IClassFactory

 

IClassFactory CreateClassFactory(Type serviceClass, IServiceActivator activator, Boolean enforceSessionCheck, String[] roles)

 

Function CreateClassFactory(serviceClass As Type, activator As IServiceActivator, enforceSessionCheck As Boolean, roles As String()) As IClassFactory

Parameters:

  • serviceClass:
  • activator:
  • enforceSessionCheck:
  • roles: