/// <summary> /// Use scope for Send /// </summary> /// <param name="configurator">The publish pipe configurator</param> /// <param name="scopeProvider">PublishScopeProvider</param> public static void UsePublishScope(this IPublishPipelineConfigurator configurator, IPublishScopeProvider scopeProvider) { configurator.ConfigurePublish(cfg => cfg.ConnectPublishPipeSpecificationObserver(new ScopePublishPipeSpecificationObserver(scopeProvider))); }
public ScopePublishPipeSpecificationObserver(IPublishScopeProvider publishScopeProvider) { _publishScopeProvider = publishScopeProvider; }
public ScopePublishFilter(IPublishScopeProvider scopeProvider) { _scopeProvider = scopeProvider; }