Responder Developer Guide
Register<RegisterType,RegisterImplementation>() Method


Type to register
Type to instantiate that implements RegisterType
Creates/replaces a container class registration with a given implementation and default options.
Syntax
'Declaration
 
Public Overloads Function Register
    (Of RegisterType As Class,
     RegisterImplementation As {Class, RegisterType})() As TinyIoCContainer.RegisterOptions
'Usage
 
Dim instance As TinyIoCContainer
Dim value As TinyIoCContainer.RegisterOptions
 
value = instance.Register(Of RegisterType, RegisterImplementation)()
public TinyIoCContainer.RegisterOptions Register<RegisterType,RegisterImplementation>()
where RegisterType: class
where RegisterImplementation: class, RegisterType

Type Parameters

RegisterType
Type to register
RegisterImplementation
Type to instantiate that implements RegisterType

Return Value

RegisterOptions for fluent API
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

TinyIoCContainer Class
TinyIoCContainer Members
Overload List

 

 


Send Comment