public static IContainerFacilityExpression For(FubuTransportRegistry extension) { var registry = new FubuRegistry(); extension.As <IFubuRegistryExtension>().Configure(registry); return(FubuApplication.For(registry)); }
public static FubuTransportRegistry For(Action <FubuTransportRegistry> configure) { var registry = new FubuTransportRegistry(); configure(registry); return(registry); }
public SubscriptionExpression(FubuTransportRegistry <T> parent, Expression <Func <T, Uri> > receiving) { _parent = parent; _receiving = receiving; parent.Services(r => { r.FillType(typeof(ISubscriptionRequirement), typeof(SubscriptionRequirements <T>)); }); }
public static BehaviorGraph BehaviorGraphFor(Action <FubuTransportRegistry> configure) { var registry = new FubuRegistry(); var transportRegistry = new FubuTransportRegistry(); configure(transportRegistry); transportRegistry.As <IFubuRegistryExtension>() .Configure(registry); new FubuTransportationExtensions().Configure(registry); return(BehaviorGraph.BuildFrom(registry)); }
public static IContainerFacilityExpression For(Action <FubuTransportRegistry> configuration) { var extension = FubuTransportRegistry.For(configuration); return(For(extension)); }
public ChannelExpression(FubuTransportRegistry <T> parent, Expression <Func <T, Uri> > expression) { _parent = parent; _accessor = ReflectionHelper.GetAccessor(expression); }
public HandlersExpression(FubuTransportRegistry parent) { _parent = parent; }
public HealthMonitoringExpression(FubuTransportRegistry parent) { _parent = parent; }
public void AddGlobal(IConfigurationAction action, FubuTransportRegistry registry) { _globalPolicies.Fill(action); }