public override void Init(ModelContainer modelContainer) { Deployment.Init(modelContainer); Deployment.Model.ScenarioRefs.Add(this); foreach (var barrierActionModel in Actions.OfType <BarrierActionModel>()) { barrierActionModel.Init(modelContainer); } foreach (var scenarioEnvironmentModel in Environments) { scenarioEnvironmentModel.Init(modelContainer); } }