Beispiel #1
0
 public new T this[CIElementId aId]
 {
     get
     {
         T ret = default(T);
         //
         if (iDictionary.ContainsKey(aId))
         {
             ret = iDictionary[aId];
         }
         //
         return(ret);
     }
 }
Beispiel #2
0
        public virtual bool Contains(CIElementId aId)
        {
            bool ret = false;

            //
            lock ( iSyncLock )
            {
                if (iChildren != null)
                {
                    ret = iChildren.Contains(aId);
                }
            }
            //
            return(ret);
        }
Beispiel #3
0
 public CIElement this[CIElementId aId]
 {
     get
     {
         CIElement ret = null;
         //
         lock ( iSyncLock )
         {
             if (Contains(aId))
             {
                 System.Diagnostics.Debug.Assert(iChildren != null);
                 ret = iChildren[aId];
             }
         }
         //
         return(ret);
     }
 }
Beispiel #4
0
 public override bool Contains(CIElementId aId)
 {
     return(iDictionary.ContainsKey(aId));
 }
Beispiel #5
0
 private CIElement(long aId, bool aDataBindingAutoPopulate)
 {
     iId = new CIElementId(aId);
     iDataBindingModel = new CIDBModel(this, aDataBindingAutoPopulate);
 }