Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
adff3d74
Commit
adff3d74
authored
Nov 21, 2018
by
zBrianW
Committed by
Marc Gravell
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor spelling fixes. (#1005)
* Minor spelling fixes. * Small typo in Literals.cs .
parent
a1a6a879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Literals.cs
src/NRediSearch/Literals.cs
+1
-1
LuaScript.cs
src/StackExchange.Redis/LuaScript.cs
+5
-5
No files found.
src/NRediSearch/Literals.cs
View file @
adff3d74
...
...
@@ -17,7 +17,7 @@ internal static class Literals
/// Obtain a lazily-cached pre-encoded and boxed representation of a string
/// </summary>
/// <param name="value">The value to get a literal representation for.</param>
/// <remarks>This shoul
d
only be used for fixed values, not user data (the cache is never reclaimed, so it will be a memory leak)</remarks>
/// <remarks>This shoul
d
only be used for fixed values, not user data (the cache is never reclaimed, so it will be a memory leak)</remarks>
public
static
object
Literal
(
this
string
value
)
{
if
(
value
==
null
)
return
_null
;
...
...
src/StackExchange.Redis/LuaScript.cs
View file @
adff3d74
...
...
@@ -20,7 +20,7 @@ namespace StackExchange.Redis
public
sealed
class
LuaScript
{
// Since the mapping of "script text" -> LuaScript doesn't depend on any particular details of
//
the redis connection itself, this cache is global.
// the redis connection itself, this cache is global.
private
static
readonly
ConcurrentDictionary
<
string
,
WeakReference
>
Cache
=
new
ConcurrentDictionary
<
string
,
WeakReference
>();
/// <summary>
...
...
@@ -139,7 +139,7 @@ internal void ExtractParameters(object ps, RedisKey? keyPrefix, out RedisKey[] k
/// <summary>
/// Evaluates this LuaScript against the given database, extracting parameters from the passed in object if any.
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis datab
a
se to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
...
...
@@ -152,7 +152,7 @@ public RedisResult Evaluate(IDatabase db, object ps = null, RedisKey? withKeyPre
/// <summary>
/// Evaluates this LuaScript against the given database, extracting parameters from the passed in object if any.
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis datab
a
se to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
...
...
@@ -257,7 +257,7 @@ internal LoadedLuaScript(LuaScript original, byte[] hash)
/// been loaded into the passed Redis instance it will fail.
/// </para>
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis datab
a
se to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
...
...
@@ -274,7 +274,7 @@ public RedisResult Evaluate(IDatabase db, object ps = null, RedisKey? withKeyPre
/// been loaded into the passed Redis instance it will fail.
/// </para>
/// </summary>
/// <param name="db">The redis databse to evaluate against.</param>
/// <param name="db">The redis datab
a
se to evaluate against.</param>
/// <param name="ps">The parameter object to use.</param>
/// <param name="withKeyPrefix">The key prefix to use, if any.</param>
/// <param name="flags">The command flags to use.</param>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment