/// <summary>
        /// Gets indexes for all nodes in the inner.
        /// </summary>
        public virtual ReadOnlyBrowsingBlockNodeIndexList AllIndexes()
        {
            ReadOnlyBrowsingBlockNodeIndexList Result = CreateBlockNodeIndexList();

            foreach (IReadOnlyBlockState BlockState in BlockStateList)
            {
                foreach (IReadOnlyPlaceholderNodeState NodeState in BlockState.StateList)
                {
                    IReadOnlyBrowsingBlockNodeIndex ParentIndex = NodeState.ParentIndex as IReadOnlyBrowsingBlockNodeIndex;
                    Debug.Assert(ParentIndex != null);

                    Result.Add(ParentIndex);
                }
            }

            return(Result);
        }
Ejemplo n.º 2
0
 bool ICollection <IReadOnlyBrowsingBlockNodeIndex> .Remove(IReadOnlyBrowsingBlockNodeIndex item)
 {
     return(Remove((IWriteableBrowsingBlockNodeIndex)item));
 }
Ejemplo n.º 3
0
 bool ICollection <IReadOnlyBrowsingBlockNodeIndex> .Contains(IReadOnlyBrowsingBlockNodeIndex value)
 {
     return(Contains((IWriteableBrowsingBlockNodeIndex)value));
 }
Ejemplo n.º 4
0
 void ICollection <IReadOnlyBrowsingBlockNodeIndex> .Add(IReadOnlyBrowsingBlockNodeIndex item)
 {
     Add((IWriteableBrowsingBlockNodeIndex)item);
 }
Ejemplo n.º 5
0
 void IList <IReadOnlyBrowsingBlockNodeIndex> .Insert(int index, IReadOnlyBrowsingBlockNodeIndex item)
 {
     Insert(index, (IWriteableBrowsingBlockNodeIndex)item);
 }
Ejemplo n.º 6
0
 int IList <IReadOnlyBrowsingBlockNodeIndex> .IndexOf(IReadOnlyBrowsingBlockNodeIndex value)
 {
     return(IndexOf((IWriteableBrowsingBlockNodeIndex)value));
 }
 int IList <IReadOnlyBrowsingBlockNodeIndex> .IndexOf(IReadOnlyBrowsingBlockNodeIndex value)
 {
     return(IndexOf((IFocusBrowsingBlockNodeIndex)value));
 }
 void ICollection <IReadOnlyBrowsingBlockNodeIndex> .Add(IReadOnlyBrowsingBlockNodeIndex item)
 {
     Add((ILayoutBrowsingBlockNodeIndex)item);
 }