public IPartialMatchResult BeginFindPartialMatch(IId partitionId, IPattern pattern) { var matcher = FindMatcher(partitionId); MatcherServiceClient client = new MatcherServiceClient(matcher.Url); var res = new PartialMatchResult(); results.TryAdd(res.Id, res); client.FindPartialMatch(res.Id, pattern); return(res); }