IActorRef CreateSubjectManager(CreateSubject createSubjectManager) { Type subjectManagerType = SubjectManagerTypeDef.MakeGenericType(createSubjectManager.BaseMessageType); return Context.ActorOf( Props.Create(subjectManagerType, createSubjectManager.Target) ); }