/// <summary> /// Constructs a <see cref="Tags.TagFieldInfo"/> <see cref="List{T}"/> over a tag structure for a <see cref="TagStructureInfo"/> in a given /// <see cref="CacheVersion"/>. /// </summary> /// <param name="info">The info for the structure. Only fields which match the version used to create the info will be enumerated over.</param> public TagFieldEnumerable(TagStructureInfo info) { Info = info; Build(); }
public static TagFieldEnumerable GetTagFieldEnumerable(TagStructureInfo info) => VersionedCaches[info.Version].GetTagFieldEnumerable(info);