// This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { services.AddSingleton <IRouteProcessor>(new RouteProcessor(RouteInitializer.Init())); services.AddMvc(); }
internal Route(IChannelOwner parent, string guid, RouteInitializer initializer) : base(parent, guid) { _channel = new(guid, parent.Connection, this); _initializer = initializer; }
public Route(ConnectionScope scope, string guid, RouteInitializer initializer) { _scope = scope; _channel = new RouteChannel(guid, scope, this); }