public bool CheckDataValidity() { return(type.GetDef().Matches(fields)); }
public static int FieldNameToIndex(this SequenceElementType type, string name) { return(type.GetDef().GetFieldIndex(name)); }
public static string FieldIndexToName(this SequenceElementType type, int index) { return(type.GetDef().fieldNames[index]); }
public static int GetFieldsCount(this SequenceElementType type) { return(type.GetDef().fieldCount); }