internal static void RemoveShim(ApplicationShimBase shim) { if (s_ActiveApplicationShim == shim) { s_ActiveApplicationShim = null; ActiveShimChanged?.Invoke(); } }
internal static void RemoveShim(ApplicationShimBase shim) { if (s_ActiveApplicationShim.Contains(shim)) { s_ActiveApplicationShim.Remove(shim); ActiveShimChanged?.Invoke(); } }
internal static void UseShim(ApplicationShimBase shim) { ShimManager.s_ActiveApplicationShim = shim; Action expr_0C = ShimManager.ActiveShimChanged; if (expr_0C != null) { expr_0C(); } }
internal static void UseShim(ApplicationShimBase shim) { if (s_ActiveApplicationShim.Last() == shim) { return; } RemoveShim(shim); s_ActiveApplicationShim.Add(shim); ActiveShimChanged?.Invoke(); }
internal static void RemoveShim(ApplicationShimBase shim) { bool flag = ShimManager.s_ActiveApplicationShim == shim; if (flag) { ShimManager.s_ActiveApplicationShim = null; Action expr_19 = ShimManager.ActiveShimChanged; if (expr_19 != null) { expr_19(); } } }
internal static bool IsShimActive(ApplicationShimBase shim) { return(s_ActiveApplicationShim == shim); }
internal static void UseShim(ApplicationShimBase shim) { s_ActiveApplicationShim = shim; ActiveShimChanged?.Invoke(); }