Пример #1
0
 public bool TryGetSubservice(string subserviceName, out SubserviceDescription description)
 {
     for (int i = 0; i < subservices.Length; i++)
     {
         if (subservices[i].Name == subserviceName)
         {
             description = subservices[i];
             return(true);
         }
     }
     description = null;
     return(false);
 }
Пример #2
0
 public bool TryGetSubservice(string subserviceName, out SubserviceDescription description)
 {
     for (int i = 0; i < subservices.Length; i++)
     {
         if (subservices[i].Name == subserviceName)
         {
             description = subservices[i];
             return true;
         }
     }
     description = null;
     return false;
 }