/// <summary> /// Makes the Provider known to the Manager, so it can display the Manialink Pages of it. /// </summary> /// <param name="provider">The Manialink Provider.</param> public void RegisterProvider(IManialinkProvider provider) { if (providers.Contains(provider)) { return; } providers.Add(provider); }
/// <summary> /// Tells the Manager to stop displaying the Manialink Pages of the Provider. /// </summary> /// <param name="provider">The Manialink Provider.</param> public void UnregisterProvider(IManialinkProvider provider) { providers.Remove(provider); }