Example #1
0
 public ReactiveSet([NotNull] Func <IEnumerable <T> > functionToGenerateItems,
                    IEqualityComparer <T> comparer, string nameToGive = null) :
     this(FunctionalProcess.CreateFrom(functionToGenerateItems), comparer, nameToGive)
 {
 }
 protected ReactiveCollection([NotNull] Func <IEnumerable <TValue> > functionToGenerateItems, string nameToGive = null) :
     this(FunctionalProcess.CreateFrom(functionToGenerateItems), nameToGive)
 {
 }
 public ReactiveDictionary([NotNull] Func <IEnumerable <KeyValuePair <TKey, TValue> > > functionToCreateKeyValuePairs,
                           IEqualityComparer <KeyValuePair <TKey, TValue> > comparer, string name = null) :
     this(FunctionalProcess.CreateFrom(functionToCreateKeyValuePairs), comparer,
          name ?? CreateDefaultName <ReactiveDictionary <TKey, TValue> >(functionToCreateKeyValuePairs))
 {
 }