Exemple #1
0
        public ComponentSpecificDesignVM(Entity designEntity, PrIwObsList <ComponentInstance> specificInstances)
        {
            _designEntity = designEntity;
            specificInstances.CollectionChanged += SpecificInstances_CollectionChanged;
            HeaderText = specificInstances.Count.ToString() + " " + designEntity.GetDataBlob <NameDB>().DefaultName;

            foreach (var item in specificInstances)
            {
                Instances.Add(new ComponentSpecificInstanceVM(item));
            }
        }
 public PrIwObsList(PrIwObsList <T> cloning) : this()
 {
     _list = cloning._list;
 }