Пример #1
0
        public PublicationPanel(Publication[] value)
        {
            _count = value.Length;

            InitializeComponent();

            Value = value;
        }
Пример #2
0
 public PublicationParam(Publication[] publications, CVLookUp cv)
     : base(null)
 {
     _cv = cv;
     _count = publications.Length;
     Value = publications;
     Default = publications;
 }
Пример #3
0
 public void AddPublicationItems(int id, IEnumerable<PublicationItem> items)
 {
     Publication publication;
     if (!_publicationMap.ContainsKey(id)){
         publication = new Publication(id);
         _publicationMap.Add(id, publication);
     }
     else{
         publication = _publicationMap[id];
     }
     publication.AddPublicationItems(items);
 }
Пример #4
0
        public void AddPublicationItem(int id, PublicationType type, string accession)
        {
            Publication publication;
            if (!_publicationMap.ContainsKey(id)){
                publication = new Publication(id);
                _publicationMap.Add(id, publication);
            }
            else{
                publication = _publicationMap[id];
            }

            publication.AddPublicationItem(new PublicationItem(type, accession));
        }
Пример #5
0
 public override void Clear()
 {
     Value = new Publication[_count];
 }