Beispiel #1
0
        public static void ExecuteInMediumTrust(Action action)
        {
#if !MEDIUM_TRUST
            Assert.Inconclusive("Medium trust is obsolete");
#endif

            SandBoxer.ExecuteInMediumTrust(action.Method, null);
        }
Beispiel #2
0
 public static void ExecuteInMediumTrust <T>(Action <T> action, T parameter)
 {
     SandBoxer.ExecuteInMediumTrust(action.Method, parameter);
 }
Beispiel #3
0
 public static void ExecuteInMediumTrust(Action action)
 {
     SandBoxer.ExecuteInMediumTrust(action.Method, null);
 }