Esempio n. 1
0
 private RouteRegistrar(
     RouteTableBuilder routeTableBuilder,
     RouteDispatchBuilder routeDispatchBuilder,
     Func <RouteDispatchBuilder, RouteDispatchBuilder> routeDispatchContext)
 {
     this.routeTableBuilder    = routeTableBuilder;
     this.routeDispatchBuilder = routeDispatchBuilder;
     this.routeDispatchContext = routeDispatchContext;
 }
		private RouteRegistrar(
			RouteTableBuilder routeTableBuilder,
			RouteDispatchBuilder routeDispatchBuilder,
			Func<RouteDispatchBuilder, RouteDispatchBuilder> routeDispatchContext)
		{
			this.routeTableBuilder = routeTableBuilder;
			this.routeDispatchBuilder = routeDispatchBuilder;
			this.routeDispatchContext = routeDispatchContext;
		}
Esempio n. 3
0
 public RouteRegistrar(
     RouteTableBuilder routeTableBuilder,
     RouteDispatchBuilder routeDispatchBuilder,
     Func <Type, object> serviceFactory,
     IServiceRequestBinder requestMessageBinder,
     IServiceMethodInvocation serviceMethodInvocation) :
     this(
         routeTableBuilder,
         routeDispatchBuilder,
         builder => builder
         .WithServiceFactory(serviceFactory)
         .WithServiceMethodInvocation(serviceMethodInvocation)
         .WithRequestMessageBinder(requestMessageBinder))
 {
 }
		public RouteRegistrar(
			RouteTableBuilder routeTableBuilder,
			RouteDispatchBuilder routeDispatchBuilder,
			Func<Type, object> serviceFactory,
			IServiceRequestBinder requestMessageBinder,
			IServiceMethodInvocation serviceMethodInvocation):
			this(
				routeTableBuilder,
				routeDispatchBuilder,
				builder => builder
					.WithServiceFactory(serviceFactory)
					.WithServiceMethodInvocation(serviceMethodInvocation)
					.WithRequestMessageBinder(requestMessageBinder))
		{
		}