C# Class TagTool.Serialization.TagFieldEnumerator

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

Méthodes publiques

Méthode 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

Méthode Description
Begin ( ) : void
GetCurrentPropertyInfo ( ) : bool

Method Details

Find() public méthode

public Find ( Predicate match ) : FieldInfo
match Predicate
Résultat System.Reflection.FieldInfo

Next() public méthode

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

TagFieldEnumerator() public méthode

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.
Résultat System