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
2fd4b123
Commit
2fd4b123
authored
Sep 01, 2016
by
Marc Gravell
Committed by
GitHub
Sep 01, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #443 from nightgoat/RedisResultCreation
Updating to allow the creation of RedisResults for mocking
parents
00a0d5ff
75b513a3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
604 additions
and
596 deletions
+604
-596
RedisResult.cs
StackExchange.Redis/StackExchange/Redis/RedisResult.cs
+8
-0
RedisValue.cs
StackExchange.Redis/StackExchange/Redis/RedisValue.cs
+596
-596
No files found.
StackExchange.Redis/StackExchange/Redis/RedisResult.cs
View file @
2fd4b123
...
@@ -7,6 +7,14 @@ namespace StackExchange.Redis
...
@@ -7,6 +7,14 @@ namespace StackExchange.Redis
/// </summary>
/// </summary>
public
abstract
class
RedisResult
public
abstract
class
RedisResult
{
{
/// <summary>
/// Create a new RedisResult.
/// </summary>
/// <returns></returns>
public
static
RedisResult
Create
(
RedisValue
value
)
{
return
new
SingleRedisResult
(
value
);
}
// internally, this is very similar to RawResult, except it is designed to be usable
// internally, this is very similar to RawResult, except it is designed to be usable
// outside of the IO-processing pipeline: the buffers are standalone, etc
// outside of the IO-processing pipeline: the buffers are standalone, etc
...
...
StackExchange.Redis/StackExchange/Redis/RedisValue.cs
View file @
2fd4b123
using
System
;
using
System
;
#if CORE_CLR
#if CORE_CLR
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Reflection
;
using
System.Reflection
;
...
...
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