Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Entity"/> class.
 /// </summary>
 /// <param name="applier">The event player and recorder.</param>
 /// <exception cref="System.ArgumentNullException">Thrown when the <paramref name="applier"/> is null.</exception>
 protected Entity(Action <object> applier)
 {
     if (applier == null)
     {
         throw new ArgumentNullException("applier");
     }
     _applier = applier;
     _router  = new InstanceEventRouter();
 }
 public void Setup()
 {
     _sut = new InstanceEventRouter();
 }
 public void Setup()
 {
     _sut = new InstanceEventRouter();
 }
Exemple #4
0
 protected Entity()
 {
     _router = new InstanceEventRouter();
 }