DependencyResolverExtensions.UseRedis Method (IDependencyResolver, String, Int32, String, IEnumerable<String>)

.NET Framework 4.5

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Redis (in Microsoft.AspNet.SignalR.Redis.dll)


<ExtensionAttribute> _
Public Shared Function UseRedis ( _
    resolver As IDependencyResolver, _
    server As String, _
    port As Integer, _
    password As String, _
    eventKeys As IEnumerable(Of String) _
) As IDependencyResolver
Dim resolver As IDependencyResolver 
Dim server As String 
Dim port As Integer 
Dim password As String 
Dim eventKeys As IEnumerable(Of String)
Dim returnValue As IDependencyResolver 

returnValue = resolver.UseRedis(server, _
    port, password, eventKeys)
public static IDependencyResolver UseRedis(
    this IDependencyResolver resolver,
    string server,
    int port,
    string password,
    IEnumerable<string> eventKeys
static IDependencyResolver^ UseRedis(
    IDependencyResolver^ resolver, 
    String^ server, 
    int port, 
    String^ password, 
    IEnumerable<String^>^ eventKeys
static member UseRedis : 
        resolver:IDependencyResolver * 
        server:string * 
        port:int * 
        password:string * 
        eventKeys:IEnumerable<string> -> IDependencyResolver
public static function UseRedis(
    resolver : IDependencyResolver, 
    server : String, 
    port : int, 
    password : String, 
    eventKeys : IEnumerable<String>
) : IDependencyResolver


Return Value

Type: Microsoft.AspNet.SignalR.IDependencyResolver

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDependencyResolver. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


DependencyResolverExtensions Class

UseRedis Overload

Microsoft.AspNet.SignalR Namespace