private static ISpecification CreateDeadLetterFilter(string subscriptionFullName)
        {
            ISpecification deadLetterSpecification =
                new OrSpecification(
                        new EqualSpecification("Core.DeadLetterResubmitSubscription", string.Empty),
                        new EqualSpecification("Core.DeadLetterResubmitSubscription", subscriptionFullName)
                    );

            return deadLetterSpecification;
        }
Example #2
0
        private static ISpecification CreateDeadLetterFilter(string subscriptionFullName)
        {
            ISpecification deadLetterSpecification =
                new OrSpecification(
                    new EqualSpecification("Core.DeadLetterResubmitSubscription", string.Empty),
                    new EqualSpecification("Core.DeadLetterResubmitSubscription", subscriptionFullName)
                    );

            return(deadLetterSpecification);
        }