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