Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IntervalEntitySystem"/> class.
 /// </summary>
 /// <param name="timeSpan">The time span.</param>
 /// <param name="aspect">The aspect.</param>
 protected IntervalEntitySystem(TimeSpan timeSpan, Aspect aspect)
     : base(aspect)
 {
     this.timer = new Timer(timeSpan);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ParallelEntityProcessingSystem" /> class.
 /// </summary>
 /// <param name="aspect">The aspect.</param>
 protected ParallelEntityProcessingSystem(Aspect aspect)
     : base(aspect)
 {
     this.factory = new TaskFactory(TaskScheduler.Default);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EntityProcessingSystem" /> class.
 /// </summary>
 /// <param name="aspect">The aspect.</param>
 protected EntityProcessingSystem(Aspect aspect)
     : base(aspect)
 {
 }