public MetricReliableDictionary(
     IReliableDictionary <BinaryValue, BinaryValue> store, BinaryValueConverter converter, MetricConfiguration config)
 {
     this.store     = store;
     this.converter = converter;
     this.config    = config;
 }
 internal static IReliableState CreateFromReliableDictionaryType(
     Type type, IReliableDictionary <BinaryValue, BinaryValue> innerStore, BinaryValueConverter converter, MetricConfiguration config)
 {
     return((IReliableState)Activator.CreateInstance(
                typeof(MetricReliableDictionary <,>).MakeGenericType(
                    type.GetGenericArguments()),
                innerStore,
                converter,
                config));
 }
Exemplo n.º 3
0
 public MetricReliableDictionaryAsyncEnumerator(IAsyncEnumerator <KeyValuePair <BinaryValue, BinaryValue> > enumerator, BinaryValueConverter converter)
 {
     this.enumerator = enumerator;
     this.converter  = converter;
 }