private protected override void CheckContextConsistency(ReadOnlyBrowseContext browseContext) { ((LayoutBrowseContext)browseContext).CheckConsistency(); }
/// <summary> /// Creates a IxxxIndexCollection with IxxxBrowsingBlockNodeIndex objects. /// </summary> private protected override IReadOnlyIndexCollection CreateBlockIndexCollection(ReadOnlyBrowseContext browseNodeContext, string propertyName, ReadOnlyBrowsingBlockNodeIndexList nodeIndexList) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameEmptyNodeState <IInner> >()); return(new FrameIndexCollection <IFrameBrowsingBlockNodeIndex>(propertyName, (FrameBrowsingBlockNodeIndexList)nodeIndexList)); }
/// <summary> /// Creates a IxxxxBrowseContext object. /// </summary> private protected override ReadOnlyBrowseContext CreateBrowseContext(ReadOnlyBrowseContext parentBrowseContext, IReadOnlyNodeState state) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutController>()); return(new LayoutBrowseContext((ILayoutNodeState)state)); }
/// <summary> /// Creates a IxxxBrowsingExistingBlockNodeIndex object. /// </summary> private protected override IReadOnlyBrowsingExistingBlockNodeIndex CreateExistingBlockNodeIndex(ReadOnlyBrowseContext browseNodeContext, Node node, string propertyName, int blockIndex, int index, Node childNode) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameEmptyNodeState <IInner> >()); return(new FrameBrowsingExistingBlockNodeIndex(node, childNode, propertyName, blockIndex, index)); }
/// <summary> /// Creates a IxxxIndexCollection with one IxxxBrowsingOptionalNodeIndex. /// </summary> private protected override IReadOnlyIndexCollection CreateOptionalIndexCollection(ReadOnlyBrowseContext browseNodeContext, string propertyName, IReadOnlyBrowsingOptionalNodeIndex optionalNodeIndex) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameEmptyNodeState <IInner> >()); return(new FrameIndexCollection <IFrameBrowsingOptionalNodeIndex>(propertyName, new List <IFrameBrowsingOptionalNodeIndex>() { (IFrameBrowsingOptionalNodeIndex)optionalNodeIndex })); }
/// <summary> /// Creates a IxxxIndexCollection with IxxxBrowsingListNodeIndex objects. /// </summary> private protected override IReadOnlyIndexCollection CreateListIndexCollection(ReadOnlyBrowseContext browseNodeContext, string propertyName, ReadOnlyBrowsingListNodeIndexList nodeIndexList) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusPlaceholderNodeState <IInner> >()); return(new FocusIndexCollection <IFocusBrowsingListNodeIndex>(propertyName, (FocusBrowsingListNodeIndexList)nodeIndexList)); }
/// <summary> /// Creates a IxxxBrowsingOptionalNodeIndex object. /// </summary> private protected override IReadOnlyBrowsingOptionalNodeIndex CreateOptionalNodeIndex(ReadOnlyBrowseContext browseNodeContext, Node node, string propertyName) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FrameEmptyNodeState <IInner> >()); return(new FrameBrowsingOptionalNodeIndex(node, propertyName)); }
/// <summary> /// Creates a IxxxIndexCollection with one IxxxBrowsingPlaceholderNodeIndex. /// </summary> private protected override IReadOnlyIndexCollection CreatePlaceholderIndexCollection(ReadOnlyBrowseContext browseNodeContext, string propertyName, IReadOnlyBrowsingPlaceholderNodeIndex childNodeIndex) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusPlaceholderNodeState <IInner> >()); return(new FocusIndexCollection <IFocusBrowsingPlaceholderNodeIndex>(propertyName, new List <IFocusBrowsingPlaceholderNodeIndex>() { (IFocusBrowsingPlaceholderNodeIndex)childNodeIndex })); }
/// <summary> /// Creates a IxxxBrowsingNewBlockNodeIndex object. /// </summary> private protected override IReadOnlyBrowsingNewBlockNodeIndex CreateNewBlockNodeIndex(ReadOnlyBrowseContext browseNodeContext, Node node, string propertyName, int blockIndex, Node childNode) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusPlaceholderNodeState <IInner> >()); return(new FocusBrowsingNewBlockNodeIndex(node, childNode, propertyName, blockIndex)); }
/// <summary> /// Creates a IxxxBrowsingListNodeIndex object. /// </summary> private protected override IReadOnlyBrowsingListNodeIndex CreateListNodeIndex(ReadOnlyBrowseContext browseNodeContext, Node node, string propertyName, Node childNode, int index) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <FocusEmptyNodeState <IInner> >()); return(new FocusBrowsingListNodeIndex(node, childNode, propertyName, index)); }
/// <summary> /// Creates a IxxxBrowsingPlaceholderNodeIndex object. /// </summary> private protected override IReadOnlyBrowsingPlaceholderNodeIndex CreateChildNodeIndex(ReadOnlyBrowseContext browseNodeContext, Node node, string propertyName, Node childNode) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutPlaceholderNodeState <IInner> >()); return(new LayoutBrowsingPlaceholderNodeIndex(node, childNode, propertyName)); }
/// <summary> /// Creates a IxxxIndexCollection with IxxxBrowsingListNodeIndex objects. /// </summary> private protected override IReadOnlyIndexCollection CreateListIndexCollection(ReadOnlyBrowseContext browseNodeContext, string propertyName, ReadOnlyBrowsingListNodeIndexList nodeIndexList) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <WriteableEmptyNodeState <IInner> >()); return(new WriteableIndexCollection <IWriteableBrowsingListNodeIndex>(propertyName, (WriteableBrowsingListNodeIndexList)nodeIndexList)); }