void IConfigurableSubscribing.MessageMatch(Func <MessageInfo, bool> match, Action <IConfigureSubscription> configure) { var sp = new ShapeProvider(match, _services); configure(sp); _shapeProviders.Add(sp); }
void IConfigurableSubscribing.DefaultShapeOutwards(params ISubscriptionShaper[] shapers) { var sp = new ShapeProvider(msg => true, _services); ((IConfigureSubscription)sp).ShapeOutwards(shapers); _shapeProviders.Insert(0, sp); }
void IConfigurableSubscribing.MessageMatch(Func<MessageInfo, bool> match, Action<IConfigureSubscription> configure) { var sp = new ShapeProvider(match, _services); configure(sp); _shapeProviders.Add(sp); }