Register<I>(I,string) Method

Summary

Registers an instance with the container.

Syntax
C#
VB
C++
public static void Register<I>( 
   I instance, 
   string name 
) 
  
Public Overloads Shared Sub Register(Of I)( _ 
   ByVal instance As I, _ 
   ByVal name As String _ 
)  
public: 
static void Registergeneric<typename I> 
(  
   _I^_ instance, 
   String^ name 
)  

Parameters

instance
Object to be returned.

name
The name of the instance.

Type Parameters

I
Type of instance to register (may be an implemented interface instead of the full type).

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly