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

            return deadLetterSpecification;
        }
示例#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);
        }