/// <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;
 }
Exemple #3
0
 public ScopePublishFilter(IPublishScopeProvider scopeProvider)
 {
     _scopeProvider = scopeProvider;
 }