You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DotNetToolkit.Repository.Caching.Redis/RedisCacheProvider.cs
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,14 @@ public RedisCacheProvider([CanBeNull] TimeSpan? expiry)
30
30
Expiry=expiry;
31
31
}
32
32
33
+
/// <summary>
34
+
/// Initializes a new instance of the <see cref="RedisCacheProvider" /> class.
35
+
/// </summary>
36
+
/// <param name="allowAdmin">Indicates whether admin operations should be allowed.</param>
37
+
/// <param name="defaultDatabase">Specifies the default database to be used when calling ConnectionMultiplexer.GetDatabase() without any parameters.</param>
38
+
/// <remarks>This will connect to a single server on the local machine using the default redis port (6379).</remarks>
/// Initializes a new instance of the <see cref="RedisCacheProvider" /> class.
59
79
/// </summary>
@@ -65,6 +85,15 @@ public RedisCacheProvider([NotNull] ConfigurationOptions options, [CanBeNull] Ti
65
85
Expiry=expiry;
66
86
}
67
87
88
+
/// <summary>
89
+
/// Initializes a new instance of the <see cref="RedisCacheProvider" /> class.
90
+
/// </summary>
91
+
/// <param name="host">The host name.</param>
92
+
/// <param name="ssl">Specifies that SSL encryption should be used.</param>
93
+
/// <param name="allowAdmin">Indicates whether admin operations should be allowed.</param>
94
+
/// <param name="defaultDatabase">Specifies the default database to be used when calling ConnectionMultiplexer.GetDatabase() without any parameters.</param>
/// Initializes a new instance of the <see cref="RedisCacheProvider" /> class.
115
+
/// </summary>
116
+
/// <param name="host">The host name.</param>
117
+
/// <param name="port">The port.</param>
118
+
/// <param name="password">The password to use to authenticate with the server.</param>
119
+
/// <param name="ssl">Specifies that SSL encryption should be used.</param>
120
+
/// <param name="allowAdmin">Indicates whether admin operations should be allowed.</param>
121
+
/// <param name="defaultDatabase">Specifies the default database to be used when calling ConnectionMultiplexer.GetDatabase() without any parameters.</param>
0 commit comments