static void Register(Type actor) { var type = RegisterThis(actor); ActorInterface.Register(type); ActorPrototype.Register(type); ActorEndpointFactory.Register(type); StreamProvider.Register(type); Ref.Register(type); }
static void Register(Type actor) { var type = RegisterThis(actor); ActorInterface.Register(type); ActorPrototype.Register(type); ActorEndpointFactory.Register(type); Ref.Register(type); StreamSubscriptionMatcher.Register(type); }
static void Register(Assembly assembly) { var actors = assembly .GetTypes() .Where(x => !x.IsAbstract && typeof(Actor).IsAssignableFrom(x)); foreach (var type in actors) { ActorTypeCode.Register(type); ActorPrototype.Register(type); ActorEndpointDynamicFactory.Register(type); } }