Esempio n. 1
0
 public void RemoveComponentSpecification(ComponentSpecification spec)
 {
     components.Remove(spec);
     spec.EntitySet = null;
     ComponentSpecsChanged.RaiseDeletionEventEx(this, spec);
     RaisePropertyChanged("ComponentSpecifications");
 }
Esempio n. 2
0
        public void AddComponentSpecification(ComponentSpecification componentSpec)
        {
            if (components.Contains(componentSpec))
            {
                return;
            }

            components.Add(componentSpec);
            componentSpec.EntitySet = this;
            RaisePropertyChanged("ComponentSpecifications");
            ComponentSpecsChanged.RaiseAdditionEventEx(this, componentSpec);
        }