public void AddActorRegistration(IMockableActorRegistration actorRegistration) { _actorRegistrations.Add(actorRegistration); }
private static IEnumerable <Type> GetActorServiceImplementationType <TServiceInterface>(IMockableActorRegistration registration) where TServiceInterface : IService { return(registration.GetType().GetGenericArguments().Where(a => a.ImplementsInterface(typeof(TServiceInterface)))); }
public void SetupActor(IMockableActorRegistration actorRegistration) { ((MockActorProxyFactory)ActorProxyFactory).AddActorRegistration(actorRegistration); }