/// <summary> /// Creates a IxxxPlaceholderNodeState object. /// </summary> private protected override IReadOnlyPlaceholderNodeState CreateNodeState(IReadOnlyNodeIndex nodeIndex) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <LayoutBlockListInner <IIndex> >()); return(new LayoutPlaceholderNodeState <ILayoutInner <ILayoutBrowsingChildIndex> >((ILayoutNodeIndex)nodeIndex)); }
/// <summary> /// Creates a IxxxPlaceholderNodeState object. /// </summary> private protected override IReadOnlyPlaceholderNodeState CreateNodeState(IReadOnlyNodeIndex nodeIndex) { ControllerTools.AssertNoOverride(this, typeof(FocusListInner <IIndex, TIndex>)); return(new FocusPlaceholderNodeState <IFocusInner <IFocusBrowsingChildIndex> >((IFocusNodeIndex)nodeIndex)); }
/// <inheritdoc/> private protected virtual IReadOnlyPlaceholderNodeState CreateNodeState(IReadOnlyNodeIndex nodeIndex) { ControllerTools.AssertNoOverride(this, Type.FromTypeof <ReadOnlyListInner <TIndex> >()); return(new ReadOnlyPlaceholderNodeState <IReadOnlyInner <IReadOnlyBrowsingChildIndex> >(nodeIndex)); }
/// <summary> /// Initializes a new instance of the <see cref="ReadOnlyPlaceholderNodeState{IInner}"/> class. /// </summary> /// <param name="parentIndex">The index used to create the state.</param> public ReadOnlyPlaceholderNodeState(IReadOnlyNodeIndex parentIndex) : base(parentIndex) { }
/// <summary> /// Creates a IxxxPlaceholderNodeState object. /// </summary> private protected override IReadOnlyPlaceholderNodeState CreateNodeState(IReadOnlyNodeIndex nodeIndex) { ControllerTools.AssertNoOverride(this, typeof(WriteableBlockListInner <IIndex, TIndex>)); return(new WriteablePlaceholderNodeState <IWriteableInner <IWriteableBrowsingChildIndex> >((IWriteableNodeIndex)nodeIndex)); }