Show / Hide Table of Contents

Class TaggableObject

Inheritance
object
TaggableObject
AbstractItem
AbstractLocation
AbstractPlacement
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ItemChanger
Assembly: ItemChanger.dll
Syntax
public class TaggableObject

Constructors

View Source

TaggableObject()

Declaration
public TaggableObject()

Fields

View Source

tags

Declaration
public List<Tag>? tags
Field Value
Type Description
List<Tag>

Methods

View Source

AddTag(Tag)

Declaration
public void AddTag(Tag t)
Parameters
Type Name Description
Tag t
View Source

AddTag<T>()

Declaration
public T AddTag<T>() where T : Tag, new()
Returns
Type Description
T
Type Parameters
Name Description
T
View Source

AddTags(IEnumerable<Tag>)

Declaration
public void AddTags(IEnumerable<Tag> ts)
Parameters
Type Name Description
IEnumerable<Tag> ts
View Source

GetOrAddTag<T>()

Declaration
public T GetOrAddTag<T>() where T : Tag, new()
Returns
Type Description
T
Type Parameters
Name Description
T
View Source

GetTag<T>()

Declaration
public T? GetTag<T>()
Returns
Type Description
T
Type Parameters
Name Description
T
View Source

GetTag<T>(out T)

Declaration
public bool GetTag<T>(out T t) where T : class
Parameters
Type Name Description
T t
Returns
Type Description
bool
Type Parameters
Name Description
T
View Source

GetTags<T>()

Declaration
public IEnumerable<T> GetTags<T>()
Returns
Type Description
IEnumerable<T>
Type Parameters
Name Description
T
View Source

HasTag<T>()

Declaration
public bool HasTag<T>() where T : Tag
Returns
Type Description
bool
Type Parameters
Name Description
T
View Source

LoadTags()

Declaration
protected void LoadTags()
View Source

RemoveTags<T>()

Declaration
public void RemoveTags<T>()
Type Parameters
Name Description
T
View Source

UnloadTags()

Declaration
protected void UnloadTags()

Extension Methods

Extensions.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX