public static SubscriptionWorker IgnoreSubscriptions(this SubscriptionWorker subscriptionWorker, String ignoreSubscriptions)
        {
            subscriptionWorker.IgnoreSubscriptions = ignoreSubscriptions;

            return(subscriptionWorker);
        }
        public static SubscriptionWorker FilterByStreamName(this SubscriptionWorker subscriptionWorker, String streamName)
        {
            subscriptionWorker.StreamNameFilter = streamName;

            return(subscriptionWorker);
        }
 public static List <PersistentSubscription> GetPersistentSubscription(this SubscriptionWorker subscriptionWorker)
 {
     return(subscriptionWorker.CurrentSubscriptions);
 }
        public static SubscriptionWorker FilterSubscriptions(this SubscriptionWorker subscriptionWorker, String filterSubscriptions)
        {
            subscriptionWorker.FilterSubscriptions = filterSubscriptions;

            return(subscriptionWorker);
        }