コード例 #1
0
        public void Should_cache_the_properties_for_better_performance()
        {
            var message = new NonSecureMessage();

            mutator.MutateIncoming(message);

            MessageConventionExtensions.IsEncryptedPropertyAction = property => { throw new Exception("Should be cached"); };

            mutator.MutateIncoming(message);
        }
コード例 #2
0
        public void Should_cache_the_properties_for_better_performance()
        {
            var message = new NonSecureMessage();

            mutator.MutateIncoming(message);

            MessageConventionExtensions.IsEncryptedPropertyAction = property => { throw new Exception("Should be cached"); };

            mutator.MutateIncoming(message);
        }