コード例 #1
0
 public ArraySubscriber2(CustomArray array)
 {
     _array             = array;
     _array.ScanStart  += OnScanStart;
     _array.ScanDone   += OnScanDone;
     _array.IterateOdd += LogOdd;
 }
コード例 #2
0
 public ArraySubscriber(CustomArray array)
 {
     _array             = array;
     OnIterateOdd       = LogOdd;
     _array.IterateOdd += OnIterateOdd;
 }