Responder Developer Guide
Register<RegisterType>(Func<TinyIoCContainer,NamedParameterOverloads,RegisterType>,String) Method


Type to register
Factory/lambda that returns an instance of RegisterType
Name of registation
Creates/replaces a named container class registration with a user specified factory
Syntax
'Declaration
 
Public Overloads Function Register(Of RegisterType As Class)( _
   ByVal factory As Func(Of TinyIoCContainer,NamedParameterOverloads,RegisterType), _
   ByVal name As String _
) As TinyIoCContainer.RegisterOptions
'Usage
 
Dim instance As TinyIoCContainer
Dim factory As Func(Of TinyIoCContainer,NamedParameterOverloads,RegisterType)
Dim name As String
Dim value As TinyIoCContainer.RegisterOptions
 
value = instance.Register(Of RegisterType)(factory, name)

Parameters

factory
Factory/lambda that returns an instance of RegisterType
name
Name of registation

Type Parameters

RegisterType
Type to register

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