예제 #1
0
		public Term (Term parent, Literal after)
		{
			this.parent = parent;

			if (parent != null) {
				if (after == null)
					parent.Add (this);
				else
					parent.SubTerms.Insert (parent.SubTerms.IndexOf (after) + 1, this);
			}
		}
예제 #2
0
파일: Term.cs 프로젝트: Yetangitu/f-spot
        protected Term(Term parent, Literal after)
        {
            this.parent = parent;
            SubTerms = new List<Term> ();

            if (parent != null)
                if (after == null) {
                    parent.Add (this);
                } else {
                    parent.SubTerms.Insert (parent.SubTerms.IndexOf (after) + 1, this);
                }
        }
예제 #3
0
        public Term(Term parent, Literal after)
        {
            this.parent = parent;

            if (parent != null)
            {
                if (after == null)
                {
                    parent.Add(this);
                }
                else
                {
                    parent.SubTerms.Insert(parent.SubTerms.IndexOf(after) + 1, this);
                }
            }
        }
예제 #4
0
        protected Term(Term parent, Literal after)
        {
            this.parent = parent;
            SubTerms    = new List <Term> ();

            if (parent != null)
            {
                if (after == null)
                {
                    parent.Add(this);
                }
                else
                {
                    parent.SubTerms.Insert(parent.SubTerms.IndexOf(after) + 1, this);
                }
            }
        }