// Token: 0x06007681 RID: 30337 RVA: 0x00186217 File Offset: 0x00184417 internal static void UpdateActiveFromRegistry() { if (!ResourceHealthMonitorManager.Initialized) { throw new InvalidOperationException("ResourceHealthMonitorManager must first be initialized."); } ResourceHealthMonitorManager.CheckRegistryActive(); }
// Token: 0x06007676 RID: 30326 RVA: 0x00186058 File Offset: 0x00184258 public static void Initialize(ResourceHealthComponent resourceHealthComponent) { if (resourceHealthComponent == ResourceHealthComponent.None) { throw new ArgumentException("You should not use ResourceHealthComponent.None when initializing the ResourceHealthMonitorManager."); } if (!ResourceHealthMonitorManager.Initialized) { ResourceHealthMonitorManager.resourceHealthComponent = resourceHealthComponent; ResourceHealthMonitorManager.CheckRegistryActive(); return; } if (resourceHealthComponent != ResourceHealthMonitorManager.resourceHealthComponent) { throw new InvalidOperationException("ResourceHealthMonitorManager was already initialized with budget type: " + resourceHealthComponent); } }