public void Build(Configuration configuration) { configuration.With(WithSupervisor( "default", "overrideSupervisor", ConfiguredSupervisor.SupervisorFrom("Vlingo.Xoom.Actors.Plugin.Supervision.DefaultSupervisorOverride"))); }
public void BuildWith(Configuration configuration, PluginProperties properties) { foreach (var values in DefinitionValues.AllDefinitionValues(properties)) { var supervisor = new ConfiguredSupervisor( values.StageName, values.Name, values.Supervisor); Supervisors.Add(supervisor); } configuration.With(this); }