Ejemplo n.º 1
0
 public bool CheckDataValidity()
 {
     return(type.GetDef().Matches(fields));
 }
Ejemplo n.º 2
0
 public static int FieldNameToIndex(this SequenceElementType type, string name)
 {
     return(type.GetDef().GetFieldIndex(name));
 }
Ejemplo n.º 3
0
 public static string FieldIndexToName(this SequenceElementType type, int index)
 {
     return(type.GetDef().fieldNames[index]);
 }
Ejemplo n.º 4
0
 public static int GetFieldsCount(this SequenceElementType type)
 {
     return(type.GetDef().fieldCount);
 }