public static Props Props(AnimationExecutionViewModel animation) { return(Akka.Actor.Props.Create(() => new AnimationActor(animation))); }
public AnimationActor(AnimationExecutionViewModel animation) { this.animation = animation; Receive <string>(message => this.Execute()); }