public LazyLot( IEnumerable <T> finiteSource, Lotter lotter) { this.finiteSource = finiteSource; this.lotter = lotter; }
public ConcurrentDictionaryLot( ConcurrentDictionary <TKey, TValue> dictionary, Lotter lotter) { this.dictionary = dictionary; this.lotter = lotter; }
public ConcurrentDictionaryLot( Lotter lotter) : this( new ConcurrentDictionary <TKey, TValue>(), lotter) { }
public UserControlHomeNavUi( Lotter lotter) { this.InitializeComponent(); var tk = this.timestampsKey; var sk = this.statisticsKey; var dk = this.dailyKey; var ek = this.exitKey; var ck = this.configKey; this.navKeys = lotter.Materialize( new[] { tk, sk, dk, ck, ek }); tk.Text = NavKeyLabels.Timestamps; sk.Text = NavKeyLabels.Statistics; dk.Text = NavKeyLabels.Daily; ck.Text = NavKeyLabels.Config; ek.Text = NavKeyLabels.Exit; }
public UserControlDailyUi( Lotter lotter) { this.lotter = lotter; this.InitializeComponent(); }
public UserControlTimestampsUi( Lotter lotter) { this.lotter = lotter; this.InitializeComponent(); }
public LotIOBitter( Lotter lotter, IOBitter bitter) { this.lotter = lotter; this.bitter = bitter; }
public ConcurrentDictionaryLot( IEnumerable <KeyValuePair <TKey, TValue> > source, Lotter lotter) : this( new ConcurrentDictionary <TKey, TValue>(source), lotter) { }
public UnifiedBitPool( Lot <bool> initialPool, Lotter lotter) { Debug.Assert( initialPool != default(Lot <bool>)); this.currentPool = initialPool; this.lotter = lotter; this.noOfOnBits = Count( initialPool, b => b); }
public UnifiedBitPool( int noOfOnBits, Lotter lotter) { this.noOfOnBits = noOfOnBits; this.lotter = lotter; var max = noOfOnBits * 2; var array = new bool[max]; for (long i = 0; i < max - 1; i += 2) { array[i] = true; array[i + 1] = false; } this.currentPool = lotter.Materialize(array); }
public CollectionHolder( Lotter lotter) { this.lotter = lotter ?? new LinkedListLotter(); this.collections = new List <Tuple <string, object> >(0x100); }