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
87b26ae9
Commit
87b26ae9
authored
May 21, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor
parent
2ca99909
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
TopicRouteContext.cs
src/Cap.Consistency/Routing/TopicRouteContext.cs
+1
-24
No files found.
src/Cap.Consistency/Routing/TopicRouteContext.cs
View file @
87b26ae9
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
System.Threading.Tasks
;
using
Cap.Consistency.Abstractions
;
using
Cap.Consistency.Consumer
;
using
Cap.Consistency.Infrastructure
;
using
System.Collections.Generic
;
namespace
Cap.Consistency.Routing
{
public
delegate
Task
HandlerConsumer
(
ConsumerExecutorDescriptor
context
);
public
class
TopicRouteContext
{
public
TopicRouteContext
()
{
}
public
TopicRouteContext
(
DeliverMessage
message
)
{
Message
=
message
;
}
public
DeliverMessage
Message
{
get
;
}
// public event EventHandler<ConsumerExecutorDescriptor> OnMessage;
public
HandlerConsumer
Handler
{
get
;
set
;
}
public
IList
<
IConsumerHandler
>
Consumers
{
get
;
set
;
}
public
IServiceProvider
ServiceProvider
{
get
;
set
;
}
public
IList
<
ITopicRoute
>
Routes
{
get
;
set
;
}
...
...
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