Akka.Actor.Settings.InjectTopLevelFallback C# (CSharp) Method

InjectTopLevelFallback() public method

Injects a system config at the top of the fallback chain
public InjectTopLevelFallback ( Config config ) : void
config Akka.Configuration.Config
return void
        public void InjectTopLevelFallback(Config config)
        {
            _fallbackConfig = config.SafeWithFallback(_fallbackConfig);
            RebuildConfig();
        }

Usage Example

 public ClusterActorRefProvider(string systemName, Settings settings, EventStream eventStream /*DynamicAccess*/)
     : base(systemName, settings, eventStream)
 {
     var clusterConfig = ClusterConfigFactory.Default();
     settings.InjectTopLevelFallback(clusterConfig);
     Deployer = new ClusterDeployer(settings);
 }