/// <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); }
bool ICollection <IReadOnlyBrowsingBlockNodeIndex> .Remove(IReadOnlyBrowsingBlockNodeIndex item) { return(Remove((IWriteableBrowsingBlockNodeIndex)item)); }
bool ICollection <IReadOnlyBrowsingBlockNodeIndex> .Contains(IReadOnlyBrowsingBlockNodeIndex value) { return(Contains((IWriteableBrowsingBlockNodeIndex)value)); }
void ICollection <IReadOnlyBrowsingBlockNodeIndex> .Add(IReadOnlyBrowsingBlockNodeIndex item) { Add((IWriteableBrowsingBlockNodeIndex)item); }
void IList <IReadOnlyBrowsingBlockNodeIndex> .Insert(int index, IReadOnlyBrowsingBlockNodeIndex item) { Insert(index, (IWriteableBrowsingBlockNodeIndex)item); }
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); }