Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
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
CAP
Commits
dab9d644
Commit
dab9d644
authored
May 07, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor.
parent
715f634a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
32 deletions
+0
-32
BrokerOptions.cs
src/Cap.Consistency/Builder/BrokerOptions.cs
+0
-8
ConsistencyMiddleware.cs
src/Cap.Consistency/Builder/ConsistencyMiddleware.cs
+0
-24
No files found.
src/Cap.Consistency/Builder/BrokerOptions.cs
deleted
100644 → 0
View file @
715f634a
namespace
Cap.Consistency
{
public
class
BrokerOptions
{
public
string
HostName
{
get
;
set
;
}
}
}
\ No newline at end of file
src/Cap.Consistency/Builder/ConsistencyMiddleware.cs
deleted
100644 → 0
View file @
715f634a
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
System.Threading.Tasks
;
using
Cap.Consistency.Routing
;
namespace
Cap.Consistency.Builder
{
public
class
ConsistencyMiddleware
{
private
readonly
ITopicRoute
_router
;
public
ConsistencyMiddleware
(
ITopicRoute
router
)
{
_router
=
router
;
}
public
async
Task
Invoke
()
{
var
context
=
new
TopicRouteContext
();
context
.
Routes
.
Add
(
_router
);
await
_router
.
RouteAsync
(
context
);
}
}
}
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