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); } }
internal static IActorEndpoint Proxy(ActorPath path) { return(ActorEndpointDynamicFactory.Proxy(path)); }
public static void Reset() { ActorTypeCode.Reset(); ActorPrototype.Reset(); ActorEndpointDynamicFactory.Reset(); }