Commit 8c09fcf5 authored by yangxiaodong's avatar yangxiaodong

refactor

parent eda2ef13
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Cap.Consistency.Routing
{
public interface ITopicRoute
{
Task RouteAsync(TopicRouteContext context);
}
}
using System;
using System.Collections.Generic;
namespace Cap.Consistency.Routing
{
public class TopicRouteContext
{
public IServiceProvider ServiceProvider { get; set; }
public IList<ITopicRoute> Routes { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment