Esempio n. 1
0
        internal LocatableSet(OpenEhr.RM.Common.Archetyped.Pathable parent)
            : this()
        {
            Check.Invariant(this.identifiedLocatables != null, "identifiedLocatables must not be null");

            Check.Require(parent != null, "parent must not be null");

            this.Parent = parent;

            Check.Invariant(this.Parent != null, "parent must not be null");
        }
Esempio n. 2
0
        internal LocatableSet(OpenEhr.RM.Common.Archetyped.Pathable parent, System.Collections.Generic.IEnumerable <T> items)
            : this(parent)
        {
            Check.Invariant(this.identifiedLocatables != null, "identifiedLocatables must not be null");
            Check.Invariant(this.Parent != null, "parent must not be null");

            if (items != null)
            {
                foreach (T item in items)
                {
                    item.Parent = null;
                    AddItem(item);
                }
            }
        }
Esempio n. 3
0
 public abstract string PathOfItem(Pathable item);
Esempio n. 4
0
 public abstract string PathOfItem(Pathable item);