Show / Hide Table of Contents

Class TaggableObject

Inheritance
System.Object
TaggableObject
AbstractItem
AbstractLocation
AbstractPlacement
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()
Namespace: ItemChanger
Assembly: ItemChanger.dll
Syntax
public class TaggableObject

Fields

| Improve this Doc View Source

tags

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

Methods

| Improve this Doc View Source

AddTag(Tag)

Declaration
public void AddTag(Tag t)
Parameters
Type Name Description
Tag t
| Improve this Doc View Source

AddTag<T>()

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

AddTags(IEnumerable<Tag>)

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

GetOrAddTag<T>()

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

GetTag<T>()

Declaration
public T GetTag<T>()
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc 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
System.Boolean
Type Parameters
Name Description
T
| Improve this Doc View Source

GetTags<T>()

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

HasTag<T>()

Declaration
public bool HasTag<T>()
    where T : Tag
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T
| Improve this Doc View Source

LoadTags()

Declaration
protected void LoadTags()
| Improve this Doc View Source

RemoveTags<T>()

Declaration
public void RemoveTags<T>()
Type Parameters
Name Description
T
| Improve this Doc View Source

UnloadTags()

Declaration
protected void UnloadTags()

Extension Methods

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