TType
The type to get the registration for.
Intersoft ClientUI Documentation
GetSpecificRegistration<TType> Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IDependencyRegistrar Interface : GetSpecificRegistration<TType> Method






name
The contract name can be the name of an abstract class or an interface.
Returns a specific registration based on the specified type and contract name.

Syntax

Visual Basic (Declaration) 
Function GetSpecificRegistration(Of TType)( _
   ByVal name As String _
) As IRegistration
Visual Basic (Usage)Copy Code
Dim instance As IDependencyRegistrar
Dim name As String
Dim value As IRegistration
 
value = instance.GetSpecificRegistration(Of TType)(name)
C# 
IRegistration GetSpecificRegistration<TType>( 
   string name
)
Delphi 
function GetSpecificRegistration( 
    name: String
): IRegistration; 
JScript 
function GetSpecificRegistration( 
   name : String
) : IRegistration;
Managed Extensions for C++ 
IRegistration* GetSpecificRegistration<TType>( 
   string* name
) 
C++/CLI 
IRegistration^ GetSpecificRegistrationgeneric<typename TType>
( 
   String^ name
) 

Parameters

name
The contract name can be the name of an abstract class or an interface.

Type Parameters

TType
The type to get the registration for.

Return Value

A registration instance for the specified type. Throws a KeyNoFoundException if the registration cannot be found.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.