コード例 #1
0
 public Random(
     Lot <T> lot,
     Random random)
 {
     this.lot    = lot ?? Lot.Empty <T>();
     this.random = random ?? new Random();
 }
コード例 #2
0
 public ActionLot(
     IEnumerable <Action <T> > source,
     Lot <T> items)
 {
     this.actionSource = source
                         ?? EnumerableHelpers.Empty <Action <T> >();
     this.items = items
                  ?? Lot.Empty <T>();
 }
コード例 #3
0
ファイル: Reflection.cs プロジェクト: spearson/xofz.Core
 public Reflection(
     Lot <T> lot,
     Absolution <T> absolution)
 {
     this.collection = lot
                       ?? Lot.Empty <T>();
     this.absolution = absolution
                       ?? new Absolution <T>(
         new Learner <T>(),
         new Learner <T>());
 }