protected override void ExecuteRole(Role role) { // This is only called if the current Container comes from another station. // The only valid role is thus an empty one (no CapabilitiesToApply) and represents // a simple forwarding to the next station. if (role.HasCapabilitiesToApply()) throw new InvalidOperationException("Unsupported capability configuration in ContainerLoader"); }
protected override void ExecuteRole(Role role) { // This is only called if the current Container comes from another station. // The only valid role is thus an empty one (no CapabilitiesToApply) and represents // a simple forwarding to the next station. if (role.HasCapabilitiesToApply()) { throw new InvalidOperationException("Unsupported capability configuration in ContainerLoader"); } }
protected override void ExecuteRole(Role role) { // unless role is transport only, it will always be { ConsumeCapability } if (role.HasCapabilitiesToApply()) { Container.Recipe.RemoveContainer(Container); if (Container.Recipe.ProcessingComplete) { RemoveRecipeConfigurations(Container.Recipe); } Container = null; } }
protected override void ExecuteRole(Role role) { // unless role is transport only, it will always be { ConsumeCapability } if (role.HasCapabilitiesToApply()) { Container.Recipe.RemoveContainer(Container); if (Container.Recipe.ProcessingComplete) { RemoveRecipeConfigurations(Container.Recipe); } Container = null; } }