Find and instantiate a challenge handler by the class of ChallengeHandler using the provided ClassLoader.
the desired class of challenge handlerthe class loader to load the challenge handler
Namespace:
Kaazing.SecurityReturn Value
the appropriate ChallengeHandler, or NULL if no such handler can be found.Assembly: Kaazing.Gateway (in Kaazing.Gateway.dll)
Syntax
Visual Basic |
---|
Public Shared Function Load(Of T As ChallengeHandler) ( _ clazz As Type, _ assemblyName As String _ ) As T |
C# |
---|
public static T Load<T>( Type clazz, string assemblyName ) where T : ChallengeHandler |
Visual C++ |
---|
public: generic<typename T> where T : ChallengeHandler static T Load( Type^ clazz, String^ assemblyName ) |
Type Parameters
- T