Example #1
0
        static void Main()
        {
            var tests = new InterceptionTests();

            tests.CanDoVirtualInterception();
            tests.CanDoDynamicInterception();
            tests.CanDoInterfaceInterception();
            tests.CanDoDynamicInterceptionWithAttributes();
            tests.CanDoDynamicInterceptionWithRegistry();
        }
Example #2
0
        static void Main()
        {
            var tests = new InterceptionTests();

            //handlers
            tests.CanValidate();
            tests.CanCreateTransactions();
            tests.CanCache();
            tests.CanLog();
            tests.CanRetry();
            tests.CanMakeAsync();
            //standatd
            tests.CanDoVirtualInterception();
            tests.CanDoDynamicInterception();
            tests.CanDoInterfaceInterception();
            tests.CanDoDynamicInterceptionWithAttributes();
            tests.CanDoDynamicInterceptionWithRegistry();
            tests.CanCallBaseImplementation();
            tests.CanCacheInterfaceGeneration();
            tests.CanDoDispatchProxyInterception();
        }