make() public static method

public static make ( ) : UnknownServiceErr
return UnknownServiceErr
Example #1
0
 public static Service find(string qname, bool check)
 {
     lock (m_lock)
     {
         Node node = (Node)byType[qname];
         if (node != null)
         {
             return(node.service);
         }
         if (check)
         {
             throw UnknownServiceErr.make(qname).val;
         }
         return(null);
     }
 }