Example #1
0
 /// <summary>
 /// Acquires the actor reference for the given worker type.
 /// </summary>
 /// <typeparam name="TActor">The type of the actor</typeparam>
 /// <param name="system">The reference to actor system</param>
 /// <returns>An actor reference</returns>
 public static ActorRef WorkerOf <TActor>(this IActorSystem system) where TActor : IActorGrain, IGrainWithStringKey
 {
     return(system.WorkerOf(typeof(TActor)));
 }