示例#1
0
 protected SourcesUpdateMessage Receive(RequestSourcesMessage message)
 {
     if (message.RequestResponce == false)
     {
         return(null);
     }
     else
     {
         return(new SourcesUpdateMessage(_sources.SearchSources(message.SourceType, message.PartialMatch), true));
     }
 }
 protected SourcesUpdateMessage Receive(RequestSourcesMessage message)
 {
     if (message.RequestResponse == false)
     {
         return null;
     }
     else
     {
         return new SourcesUpdateMessage(_sources.SearchSources(message.SourceType, message.PartialMatch), true);
     }
 }