static HotKeyManager() { for (var i = ServiceName.None; i < ServiceName.ServiceCount; ++i) { AllServices.Add(new Service(i)); } }
private void InitAllServices() { if (Sets != null && Sets.Count > 0) { foreach (var key in Sets.Keys) { foreach (var api in Sets[key]) { if (!AllServices.Any(a => a.ID == api.ID)) { AllServices.Add(api); } } } } }
protected void RegisterNewService(BleService service) { AllServices.Add(service); }
public void CloneTheActualIntoAll() { AllServices.Add(ActualService.Clone() as InternetService); }