Ejemplo 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");
        }
Ejemplo 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);
                }
            }
        }
Ejemplo n.º 3
0
 public abstract string PathOfItem(Pathable item);
Ejemplo n.º 4
0
 public abstract string PathOfItem(Pathable item);