public ResourceController( ActorRefProvider <ResourceManager> resourceManager, IQueryResources resourceQuery) { _resourceManager = resourceManager; _resourceQuery = resourceQuery; }
public Worker(ILogger <Worker> logger, ActorSystem actorSystem, ActorRefProvider <ResponseActor> actorRefProvider) { _logger = logger; _actorSystem = actorSystem; _actorRefProvider = actorRefProvider; }
public static IAkkatectureBuilder AddActorReference <TActor>( this IAkkatectureBuilder builder, IActorRef actorReference) where TActor : ActorBase { var actorRef = new ActorRefProvider <TActor>(actorReference); builder.Services.AddSingleton <ActorRefProvider <TActor> >(actorRef); return(builder); }
/// <summary> /// Configures the provider. /// </summary> private void ConfigureProvider() { Type providerType = Type.GetType(_settings.ProviderClass); global::System.Diagnostics.Debug.Assert(providerType != null, "providerType != null"); var provider = (ActorRefProvider)Activator.CreateInstance(providerType, _name, _settings, _eventStream); _provider = provider; }
public WeatherForecastController(ActorRefProvider <ResponseActor> actorSystem) { this._response = actorSystem; }
public ResourcesQueryHandler( ActorRefProvider <ResourcesStorageHandler> resourceStorageHandler) { _resourceStorageHandler = resourceStorageHandler; }
public OperationsQueryHandler( ActorRefProvider <OperationsStorageHandler> operationStorageHandler) { _operationStorageHandler = operationStorageHandler; }
public RemoteDeadLetterActorRef(ActorRefProvider provider, ActorPath actorPath, EventStream eventStream) : base(provider, actorPath, eventStream) { }
public CreditsController( ActorRefProvider <GiftCardManager> aggregateManager) { _aggregateManager = aggregateManager; }
public CarsController( ActorRefProvider <CarAggregateManager> aggregateManager) { _aggregateManager = aggregateManager; }
public HomeController(ActorRefProvider <GatewayActor> apiGateway) { _gatewayGateway = apiGateway; }
public MembersController(ActorRefProvider <GatewayActor> gateway) { _gateway = gateway; }