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
2f7eeb21
Commit
2f7eeb21
authored
Jul 07, 2016
by
Rob Sigrest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modifying Create() method to simply take a RedisValue and reverting access modifier on ResultType
parent
3e0be265
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
596 additions
and
596 deletions
+596
-596
RedisResult.cs
StackExchange.Redis/StackExchange/Redis/RedisResult.cs
+2
-2
RedisValue.cs
StackExchange.Redis/StackExchange/Redis/RedisValue.cs
+593
-593
ResultType.cs
StackExchange.Redis/StackExchange/Redis/ResultType.cs
+1
-1
No files found.
StackExchange.Redis/StackExchange/Redis/RedisResult.cs
View file @
2f7eeb21
...
...
@@ -11,9 +11,9 @@ public abstract class RedisResult
/// Create a new RedisResult.
/// </summary>
/// <returns></returns>
public
static
RedisResult
Create
(
Re
sultType
type
,
byte
[]
value
)
public
static
RedisResult
Create
(
Re
disValue
value
)
{
return
TryCreate
(
null
,
new
RawResult
(
type
,
value
,
0
,
value
.
Length
)
);
return
new
SingleRedisResult
(
value
);
}
// internally, this is very similar to RawResult, except it is designed to be usable
...
...
StackExchange.Redis/StackExchange/Redis/RedisValue.cs
View file @
2f7eeb21
StackExchange.Redis/StackExchange/Redis/ResultType.cs
View file @
2f7eeb21
namespace
StackExchange.Redis
{
public
enum
ResultType
:
byte
internal
enum
ResultType
:
byte
{
None
=
0
,
SimpleString
=
1
,
...
...
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