Beispiel #1
0
 static HotKeyManager()
 {
     for (var i = ServiceName.None; i < ServiceName.ServiceCount; ++i)
     {
         AllServices.Add(new Service(i));
     }
 }
Beispiel #2
0
 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);
                 }
             }
         }
     }
 }
Beispiel #3
0
 protected void RegisterNewService(BleService service)
 {
     AllServices.Add(service);
 }
Beispiel #4
0
 public void CloneTheActualIntoAll()
 {
     AllServices.Add(ActualService.Clone() as InternetService);
 }