Skip to content
This repository
Browse code

Added xml comments for redis dependency resolver extensions.

  • Loading branch information...
commit b877760b25c5e897e13fa3c49572c7918a173ed0 1 parent e9a9989
David Fowler davidfowl authored
19 src/Microsoft.AspNet.SignalR.Redis/DependencyResolverExtensions.cs
@@ -8,11 +8,30 @@ namespace Microsoft.AspNet.SignalR
8 8 {
9 9 public static class DependencyResolverExtensions
10 10 {
  11 + /// <summary>
  12 + /// Use the Redis backplane for SignalR.
  13 + /// </summary>
  14 + /// <param name="resolver">The dependency resolver.</param>
  15 + /// <param name="server">The redis server.</param>
  16 + /// <param name="port">The redis port.</param>
  17 + /// <param name="password">The redis server password.</param>
  18 + /// <param name="eventKeys">The event keys.</param>
  19 + /// <returns>The dependency resolver</returns>
11 20 public static IDependencyResolver UseRedis(this IDependencyResolver resolver, string server, int port, string password, IEnumerable<string> eventKeys)
12 21 {
13 22 return UseRedis(resolver, server, port, password, db: 0, eventKeys: eventKeys);
14 23 }
15 24
  25 + /// <summary>
  26 + /// Use the Redis backplane for SignalR.
  27 + /// </summary>
  28 + /// <param name="resolver">The dependency resolver.</param>
  29 + /// <param name="server">The redis server.</param>
  30 + /// <param name="port">The redis port.</param>
  31 + /// <param name="password">The redis server password.</param>
  32 + /// <param name="db">The database to use</param>
  33 + /// <param name="eventKeys">The event keys.</param>
  34 + /// <returns></returns>
16 35 public static IDependencyResolver UseRedis(this IDependencyResolver resolver, string server, int port, string password, int db, IEnumerable<string> eventKeys)
17 36 {
18 37 var bus = new Lazy<RedisMessageBus>(() => new RedisMessageBus(server, port, password, db, eventKeys, resolver));
2  src/Microsoft.AspNet.SignalR.Redis/Microsoft.AspNet.SignalR.Redis.csproj
@@ -23,6 +23,7 @@
23 23 <DefineConstants>DEBUG;TRACE</DefineConstants>
24 24 <ErrorReport>prompt</ErrorReport>
25 25 <WarningLevel>4</WarningLevel>
  26 + <DocumentationFile>bin\Debug\Microsoft.AspNet.SignalR.Redis.XML</DocumentationFile>
26 27 </PropertyGroup>
27 28 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28 29 <DebugType>pdbonly</DebugType>
@@ -31,6 +32,7 @@
31 32 <DefineConstants>TRACE</DefineConstants>
32 33 <ErrorReport>prompt</ErrorReport>
33 34 <WarningLevel>4</WarningLevel>
  35 + <DocumentationFile>bin\Release\Microsoft.AspNet.SignalR.Redis.XML</DocumentationFile>
34 36 </PropertyGroup>
35 37 <ItemGroup>
36 38 <Reference Include="BookSleeve, Version=1.2.0.2, Culture=neutral, PublicKeyToken=9056fda458ff61cf, processorArchitecture=MSIL">

0 comments on commit b877760

Please sign in to comment.
Something went wrong with that request. Please try again.