Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupedMonitored{TKey, TElement}" /> class.
 /// </summary>
 /// <param name="group">The group.</param>
 /// <param name="name">The name.</param>
 /// <param name="order">The order.</param>
 /// <param name="surrogate">The surrogate.</param>
 public GroupedMonitored(
     IGroupedObservable <TKey, TElement> group,
     string name,
     double order,
     Func <TElement, object> surrogate)
 {
     _key         = group.Key;
     _groupStream = group.Monitor(name, order, surrogate);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupedMonitored{TKey, TElement}" /> class.
 /// </summary>
 /// <param name="group">The group.</param>
 /// <param name="name">The name.</param>
 /// <param name="order">The order.</param>
 /// <param name="surrogate">The surrogate.</param>
 /// <param name="keywords">The keywords.</param>
 public GroupedMonitored(
     IGroupedObservable <TKey, TElement> group,
     string name,
     double order,
     IMonitorSurrogate <TElement> surrogate,
     params string[] keywords)
 {
     _key         = group.Key;
     _groupStream = group.Monitor(name, order, surrogate, keywords);
 }