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