Exemple #1
0
        public PIMPath AddContextPath(int index)
        {
            PIMPath path = new _PIMPath();

            context.Insert(index, path);

            return(path);
        }
Exemple #2
0
        public PIMPath AddContextPath()
        {
            PIMPath path = new _PIMPath();

            context.Add(path);

            return(path);
        }
Exemple #3
0
        /// <summary>
        /// Creates a new nesting join with the core class and parent set and empty
        /// child and context paths.
        /// </summary>
        /// <param name="CoreClass">References the core class</param>
        public _NestingJoing(PIMClass CoreClass)
        {
            coreClass = CoreClass;

            _PIMPath tmp = new _PIMPath();

            tmp.Join = this;
            parent   = tmp;

            tmp      = new _PIMPath();
            tmp.Join = this;
            child    = tmp;

            context = new ObservableCollection <PIMPath>();
            context.CollectionChanged += OnContextChanged;
        }