C# Class TagTool.Serialization.TagFieldEnumerator

Allows easy enumeration over a tag structure's elements and filtering by version.
Show file Open project: TheGuardians/TagTool Class Usage Examples

Public Methods

Method Description
Find ( Predicate match ) : FieldInfo
Next ( ) : bool

Moves to the next tag field in the structure. This must be called before accessing any of the other properties.

TagFieldEnumerator ( TagStructureInfo info ) : System

Constructs an enumerator over a tag structure.

Private Methods

Method Description
Begin ( ) : void
GetCurrentPropertyInfo ( ) : bool

Method Details

Find() public method

public Find ( Predicate match ) : FieldInfo
match Predicate
return System.Reflection.FieldInfo

Next() public method

Moves to the next tag field in the structure. This must be called before accessing any of the other properties.
public Next ( ) : bool
return bool

TagFieldEnumerator() public method

Constructs an enumerator over a tag structure.
public TagFieldEnumerator ( TagStructureInfo info ) : System
info TagStructureInfo The info for the structure. Only fields which match the version used to create the info will be enumerated over.
return System