Share via


AuthenticationClientManager.Add Method (String, Func<IAuthenticationClient>, IDictionary<String, String>)

.NET Framework 4

Namespace:  Microsoft.AspNet.Membership.OpenAuth
Assembly:  Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)

Syntax

'Declaration
Public Overridable Sub Add ( _
    displayName As String, _
    factoryMethod As Func(Of IAuthenticationClient), _
    extraData As IDictionary(Of String, String) _
)
'Usage
Dim instance As AuthenticationClientManager 
Dim displayName As String 
Dim factoryMethod As Func(Of IAuthenticationClient)
Dim extraData As IDictionary(Of String, String)

instance.Add(displayName, factoryMethod, _
    extraData)
public virtual void Add(
    string displayName,
    Func<IAuthenticationClient> factoryMethod,
    IDictionary<string, string> extraData
)
public:
virtual void Add(
    String^ displayName, 
    Func<IAuthenticationClient^>^ factoryMethod, 
    IDictionary<String^, String^>^ extraData
)
abstract Add : 
        displayName:string * 
        factoryMethod:Func<IAuthenticationClient> * 
        extraData:IDictionary<string, string> -> unit  
override Add : 
        displayName:string * 
        factoryMethod:Func<IAuthenticationClient> * 
        extraData:IDictionary<string, string> -> unit
public function Add(
    displayName : String, 
    factoryMethod : Func<IAuthenticationClient>, 
    extraData : IDictionary<String, String>
)

Parameters

  • factoryMethod
    Type: System.Func<IAuthenticationClient>

See Also

Reference

AuthenticationClientManager Class

Add Overload

Microsoft.AspNet.Membership.OpenAuth Namespace