Responder Developer Guide
Register(Type,Type,Object,String) Method


Type to register
Type of instance to register that implements RegisterType
Instance of RegisterImplementation to register
Name of registration
Creates/replaces a named container class registration with a specific, strong referenced, instance.
Syntax
'Declaration
 
Public Overloads Function Register( _
   ByVal registerType As Type, _
   ByVal registerImplementation As Type, _
   ByVal instance As Object, _
   ByVal name As String _
) As TinyIoCContainer.RegisterOptions
'Usage
 
Dim instance As TinyIoCContainer
Dim registerType As Type
Dim registerImplementation As Type
Dim instance As Object
Dim name As String
Dim value As TinyIoCContainer.RegisterOptions
 
value = instance.Register(registerType, registerImplementation, instance, name)

Parameters

registerType
Type to register
registerImplementation
Type of instance to register that implements RegisterType
instance
Instance of RegisterImplementation to register
name
Name of registration

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