public void Add(ModelInstance instance) { this.instances.Add(instance); foreach (IPropertyBinding parameter in this.parameters.Values) { this.ParameterChanged(parameter); } }
public void Remove(ModelInstance instance) { this.instances.Remove(instance); if (this.instances.Length > 0) { foreach (IPropertyBinding parameter in this.parameters.Values) { this.ParameterChanged(parameter); } } }
public void Remove(ModelInstance instance) { this.instances.Remove(instance); }
public void Add(ModelInstance instance) { this.instances.Add(instance); }