/// <summary> /// supplies the item for the current path value /// /// the item it wrapped in either a PathValue instance /// that describes the item, its name, and whether it is /// a container. /// </summary> /// <seealso cref="PathValue"/> /// <seealso cref="LeafPathValue"/> /// <seealso cref="ContainerPathValue"/> public override IPathValue GetNodeValue() { var item = new NullItem(); return new LeafPathValue( item, Name ); }
/// <summary> /// supplies the item for the current path value /// /// the item it wrapped in either a PathValue instance /// that describes the item, its name, and whether it is /// a container. /// </summary> /// <seealso cref="PathValue"/> /// <seealso cref="LeafPathValue"/> /// <seealso cref="ContainerPathValue"/> public override IPathValue GetNodeValue() { var item = new NullItem(); return(new LeafPathValue(item, Name)); }
/// <summary> /// supplies the item for the current path value /// /// the item it wrapped in either a PathValue instance /// that describes the item, its name, and whether it is /// a container. /// </summary> /// <seealso cref="PathValue"/> /// <seealso cref="LeafPathValue"/> /// <seealso cref="ContainerPathValue"/> public override IItemProvider GetItemProvider() { var item = new NullItem(); return(new LeafItemProvider(item, Name)); }