Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
RegisterType<(Of <(TFrom, TTo>)>) Method
Namespaces ► Genesyslab.Desktop.Infrastructure.DependencyInjection ► ObjectContainer ► RegisterType<(Of <(TFrom, TTo>)>)()()()
Register a type mapping with the container.
Declaration Syntax

C# | Visual Basic | Visual C++

    public IObjectContainer RegisterType<TFrom, TTo>()
    where TTo :

    Public Function RegisterType(Of TFrom, TTo As ) As IObjectContainer

    public:
    generic<typename TFrom, typename TTo>
    where TTo :
    virtual IObjectContainer^ RegisterType() sealed

Generic Template Parameters

TFrom
  Type that will be requested.
TTo
  Type that will actually be returned.

Return Value
The ObjectContainer object that this method was called on.

Assembly: Genesyslab.Desktop.Infrastructure (Module: Genesyslab.Desktop.Infrastructure) Version: 8.0.2.15 (8.0.002.15)