public static async Task AddListener(IHasInternetListener l) { var m = Get(l); m.listeners.Add(l); await l.OnHasInternet(m.hasInet); }
public static bool RemoveListener(IHasInternetListener l) { return(Instance(l).listeners.Remove(l)); }
public static void AddListener(IHasInternetListener l) { Instance(l).listeners.Add(l); }