C#
VB
C++
Registers a single instance of a type mapping with the container.
Public Overloads Shared Sub RegisterSingle( _
ByVal from As Type, _
ByVal to As Type, _
ByVal name As String _
)
from
Type that will be requested.
to
Type that will actually be returned.
name
TName to use for registration.
When types are registered using this function only one instance is returned. Each Retrieve request will return the same object.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET