public static void ExecuteInMediumTrust(Action action) { #if !MEDIUM_TRUST Assert.Inconclusive("Medium trust is obsolete"); #endif SandBoxer.ExecuteInMediumTrust(action.Method, null); }
public static void ExecuteInMediumTrust <T>(Action <T> action, T parameter) { SandBoxer.ExecuteInMediumTrust(action.Method, parameter); }
public static void ExecuteInMediumTrust(Action action) { SandBoxer.ExecuteInMediumTrust(action.Method, null); }