[]
Represents a collection of tile templates.
public class TemplateCollection : Collection<Template>, IList<Template>, ICollection<Template>, IList, ICollection, IReadOnlyList<Template>, IReadOnlyCollection<Template>, IEnumerable<Template>, IEnumerable
Name | Description |
---|---|
this[string] | Gets the first Template with the specified name in the collection. |
Name | Description |
---|---|
Clear(bool) | Removes all templates from the collection, then disposes the templates. |
Contains(string) | Determines whether this collection contains a Template with the specified name. |
IndexOf(string) | Determines index of the first Template with the specified name in the collection. |
InsertItem(int, Template) | Inserts a Template into the TemplateCollection at the specified index. |
Remove(string) | Removes the first occurrence of the Template with the specified name from the collection. |
SetItem(int, Template) | Replaces the Template at the specified index. |