2 types derived from MessageQuery
System.ServiceModel (1)
System\ServiceModel\XPathMessageQuery.cs (1)
19
public class XPathMessageQuery :
MessageQuery
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\OptionalMessageQuery.cs (1)
9
class OptionalMessageQuery :
MessageQuery
78 references to MessageQuery
System.ServiceModel (67)
System\ServiceModel\Dispatcher\MatchSingleFxEngineOpcode.cs (2)
154
context.Processor.ResultSet.Add(new KeyValuePair<
MessageQuery
, XPathResult>((
MessageQuery
)this.item, result));
System\ServiceModel\Dispatcher\MessageQueryCollection.cs (3)
11
public abstract class MessageQueryCollection : Collection<
MessageQuery
>
13
public abstract IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(Message message);
14
public abstract IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(MessageBuffer buffer);
System\ServiceModel\Dispatcher\MessageQueryTable.cs (39)
15
public class MessageQueryTable<TItem> : IDictionary<
MessageQuery
, TItem>
18
Dictionary<
MessageQuery
, TItem> dictionary;
22
this.dictionary = new Dictionary<
MessageQuery
, TItem>();
36
public ICollection<
MessageQuery
> Keys
46
public TItem this[
MessageQuery
key]
59
public void Add(
MessageQuery
key, TItem value)
85
public void Add(KeyValuePair<
MessageQuery
, TItem> item)
96
public bool Contains(KeyValuePair<
MessageQuery
, TItem> item)
98
return ((ICollection<KeyValuePair<
MessageQuery
, TItem>>) this.dictionary).Contains(item);
101
public bool ContainsKey(
MessageQuery
key)
106
public void CopyTo(KeyValuePair<
MessageQuery
, TItem>[] array, int arrayIndex)
108
((ICollection<KeyValuePair<
MessageQuery
, TItem>>) this.dictionary).CopyTo(array, arrayIndex);
111
public IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(Message message)
121
public IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(MessageBuffer buffer)
131
public IEnumerator<KeyValuePair<
MessageQuery
, TItem>> GetEnumerator()
133
return ((ICollection<KeyValuePair<
MessageQuery
, TItem>>) this.dictionary).GetEnumerator();
142
public bool Remove(
MessageQuery
key)
165
public bool Remove(KeyValuePair<
MessageQuery
, TItem> item)
170
public bool TryGetValue(
MessageQuery
key, out TItem value)
177
public override IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(Message message)
182
public override IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(MessageBuffer buffer)
187
abstract class SequentialResultEnumerable<TSource, TResult> : IEnumerable<KeyValuePair<
MessageQuery
, TResult>>
214
public IEnumerator<KeyValuePair<
MessageQuery
, TResult>> GetEnumerator()
224
protected abstract TResult Evaluate(
MessageQuery
query);
226
class SequentialResultEnumerator : IEnumerator<KeyValuePair<
MessageQuery
, TResult>>
229
IEnumerator<
MessageQuery
> queries;
237
public KeyValuePair<
MessageQuery
, TResult> Current
241
MessageQuery
query = queries.Current;
244
return new KeyValuePair<
MessageQuery
, TResult>(query, result);
280
protected override TResult Evaluate(
MessageQuery
query)
294
protected override TResult Evaluate(
MessageQuery
query)
301
abstract class Enumerable<TSource, TResult> : IEnumerable<KeyValuePair<
MessageQuery
, TResult>>
320
public IEnumerator<KeyValuePair<
MessageQuery
, TResult>> GetEnumerator()
325
protected abstract IEnumerator<KeyValuePair<
MessageQuery
, TResult>> GetInnerEnumerator(MessageQueryCollection collection);
332
class Enumerator : IEnumerator<KeyValuePair<
MessageQuery
, TResult>>
335
IEnumerator<KeyValuePair<
MessageQuery
, TResult>> innerEnumerator;
344
public KeyValuePair<
MessageQuery
, TResult> Current
397
protected override IEnumerator<KeyValuePair<
MessageQuery
, TResult>> GetInnerEnumerator(
411
protected override IEnumerator<KeyValuePair<
MessageQuery
, TResult>> GetInnerEnumerator(
System\ServiceModel\Dispatcher\QueryMatcher.cs (11)
90
internal class QueryResult<TResult> : IEnumerable<KeyValuePair<
MessageQuery
, TResult>>
149
public IEnumerator<KeyValuePair<
MessageQuery
, TResult>> GetEnumerator()
152
Collection<KeyValuePair<
MessageQuery
, XPathResult>> results =
153
new Collection<KeyValuePair<
MessageQuery
, XPathResult>>();
162
return (IEnumerator<KeyValuePair<
MessageQuery
, TResult>>)(object)results.GetEnumerator();
168
Collection<KeyValuePair<
MessageQuery
, TResult>> typedResults =
169
new Collection<KeyValuePair<
MessageQuery
, TResult>>();
176
new KeyValuePair<
MessageQuery
, TResult>(
182
new KeyValuePair<
MessageQuery
, TResult>(
187
typedResults.Add(new KeyValuePair<
MessageQuery
, TResult>(
192
return (IEnumerator<KeyValuePair<
MessageQuery
, TResult>>)typedResults.GetEnumerator();
System\ServiceModel\Dispatcher\QueryProcessor.cs (2)
442
ICollection<KeyValuePair<
MessageQuery
, XPathResult>> resultSet; // for inverse queries that produce multiple query results
611
internal ICollection<KeyValuePair<
MessageQuery
, XPathResult>> ResultSet
System\ServiceModel\Dispatcher\QueryResultOp.cs (4)
221
context.Processor.ResultSet.Add(new KeyValuePair<
MessageQuery
, XPathResult>((
MessageQuery
)this.results[0], result));
225
context.Processor.ResultSet.Add(new KeyValuePair<
MessageQuery
, XPathResult>((
MessageQuery
)this.results[i], result.Copy()));
System\ServiceModel\Dispatcher\XPathMessageQueryCollection.cs (6)
21
public override IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(Message message)
33
return (IEnumerable<KeyValuePair<
MessageQuery
, TResult>>)(object)
43
public override IEnumerable<KeyValuePair<
MessageQuery
, TResult>> Evaluate<TResult>(MessageBuffer buffer)
55
return (IEnumerable<KeyValuePair<
MessageQuery
, TResult>>)(object)
65
protected override void InsertItem(int index,
MessageQuery
item)
90
protected override void SetItem(int index,
MessageQuery
item)
System.ServiceModel.Activities (11)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
81
foreach (KeyValuePair<string,
MessageQuery
> item in messageQueryset)
314
MessageQuery
messageQuery = new XPathMessageQuery
System\ServiceModel\Activities\Dispatcher\CorrelationKeyCalculator.cs (5)
100
foreach (KeyValuePair<
MessageQuery
, string> result in this.ExecuteSelect(target, messageToReadHeaders, select.Select, select.IsContextQuery))
143
foreach (KeyValuePair<
MessageQuery
, string> result in this.ExecuteSelect(target, messageToReadHeaders, item.Value, select.IsContextQuery))
198
protected abstract IEnumerable<KeyValuePair<
MessageQuery
, string>> ExecuteSelect(T target, Message messageToReadHeaders,
225
protected override IEnumerable<KeyValuePair<
MessageQuery
, string>> ExecuteSelect(MessageBuffer target, Message messageToReadHeaders,
257
protected override IEnumerable<KeyValuePair<
MessageQuery
, string>> ExecuteSelect(Message target, Message messageToReadHeaders,
System\ServiceModel\Activities\Dispatcher\OptionalMessageQuery.cs (1)
16
public
MessageQuery
Query
System\ServiceModel\MessageQuerySet.cs (3)
20
public class MessageQuerySet : Dictionary<string,
MessageQuery
>
33
InvertDictionary<
MessageQuery
, string>(queryTable, this);
46
InvertDictionary<string,
MessageQuery
>(this, result);