Show / Hide Table of Contents

Class ItemTreeTag

Tag which carries ordered lists of predecessors and successors item names.
Hooks AbstractItem.ModifyItem, and returns the first item in the sequence which is not redundant.
Note that unlike ItemChainTag, this does not recursively check tags of the predecessors and successors.

Inheritance
System.Object
Tag
ItemTreeTag
Implements
IItemModifierTag
Inherited Members
Tag.Clone()
Tag.LoadOnce(TaggableObject)
Tag.UnloadOnce(TaggableObject)
Tag.Loaded
Tag.TagHandlingProperties
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger.Tags
Assembly: ItemChanger.dll
Syntax
public class ItemTreeTag : Tag, IItemModifierTag

Fields

| Improve this Doc View Source

predecessors

Declaration
public string[] predecessors
Field Value
Type Description
System.String[]
| Improve this Doc View Source

strictEvaluation

If true, the first nonredundant item starting from the first element in the list will be chosen.
Otherwise, the search will begin at the parent item, and will assume that predecessors of a redundant item are redundant.
Only relevant when predecessors is nonempty.

Declaration
public bool strictEvaluation
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

successors

Declaration
public string[] successors
Field Value
Type Description
System.String[]

Methods

| Improve this Doc View Source

GetItem(String)

Declaration
protected virtual AbstractItem GetItem(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
AbstractItem
| Improve this Doc View Source

Load(Object)

Declaration
public override void Load(object parent)
Parameters
Type Name Description
System.Object parent
Overrides
Tag.Load(Object)
| Improve this Doc View Source

ModifyItem(GiveEventArgs)

Declaration
public void ModifyItem(GiveEventArgs args)
Parameters
Type Name Description
GiveEventArgs args
| Improve this Doc View Source

Unload(Object)

Declaration
public override void Unload(object parent)
Parameters
Type Name Description
System.Object parent
Overrides
Tag.Unload(Object)

Implements

IItemModifierTag

Extension Methods

Extensions.Yield<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX