示例#1
0
 public void Add(ModelInstance instance)
 {
     this.instances.Add(instance);
     foreach (IPropertyBinding parameter in this.parameters.Values)
     {
         this.ParameterChanged(parameter);
     }
 }
示例#2
0
 public void Remove(ModelInstance instance)
 {
     this.instances.Remove(instance);
     if (this.instances.Length > 0)
     {
         foreach (IPropertyBinding parameter in this.parameters.Values)
         {
             this.ParameterChanged(parameter);
         }
     }
 }
示例#3
0
 public void Remove(ModelInstance instance)
 {
     this.instances.Remove(instance);
 }
示例#4
0
 public void Add(ModelInstance instance)
 {
     this.instances.Add(instance);
 }