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