Class Tag
Inheritance
System.Object
Tag
Inherited Members
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()
Assembly: ItemChanger.dll
Syntax
public abstract class Tag
Properties
|
Improve this Doc
View Source
Loaded
Declaration
public bool Loaded { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TagHandlingProperties
Additional information for serialization and other tag handling purposes.
Declaration
public virtual TagHandlingFlags TagHandlingProperties { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Clone()
Declaration
public virtual Tag Clone()
Returns
|
Improve this Doc
View Source
Load(Object)
Virtual method called on tags when their parent loads. The base method checks and throws an exception if the tag is already loaded.
This should not be called directly. Instead, use "LoadOnce" to load and set the Loaded property.
Declaration
public virtual void Load(object parent)
Parameters
Type |
Name |
Description |
System.Object |
parent |
|
|
Improve this Doc
View Source
LoadOnce(TaggableObject)
Loads the tag and sets the Loaded property. If the tag is already loaded, does nothing.
Preferred to "Load", which does not set the Loaded property.
Declaration
public void LoadOnce(TaggableObject parent)
Parameters
|
Improve this Doc
View Source
Unload(Object)
Virtual method called on tags when their parent unloads. The base method checks and throws an exception if the tag is not loaded.
This should not be called directly. Instead, use "UnloadOnce" to unload and set the Loaded property.
Declaration
public virtual void Unload(object parent)
Parameters
Type |
Name |
Description |
System.Object |
parent |
|
|
Improve this Doc
View Source
UnloadOnce(TaggableObject)
Unloads the tag and sets the Loaded property. If the tag is not loaded, does nothing.
Preferred to "Unload", which does not set the Loaded property.
Declaration
public void UnloadOnce(TaggableObject parent)
Parameters
Extension Methods