Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PushKS()

int System.Xml.Schema.SelectorActiveAxis.PushKS ( int errline,
int errcol )
inline

Definition at line 42 of file SelectorActiveAxis.cs.

43 {
44 KeySequence ks = new KeySequence(_cs.TableDim, errline, errcol);
45 KSStruct kSStruct;
46 if (_KSpointer < _KSs.Count)
47 {
48 kSStruct = (KSStruct)_KSs[_KSpointer];
49 kSStruct.ks = ks;
50 for (int i = 0; i < _cs.TableDim; i++)
51 {
52 kSStruct.fields[i].Reactivate(ks);
53 }
54 }
55 else
56 {
57 kSStruct = new KSStruct(ks, _cs.TableDim);
58 for (int j = 0; j < _cs.TableDim; j++)
59 {
60 kSStruct.fields[j] = new LocatedActiveAxis(_cs.constraint.Fields[j], ks, j);
61 _cs.axisFields.Add(kSStruct.fields[j]);
62 }
64 }
66 return _KSpointer++;
67 }
virtual int Add(object? value)
CompiledIdentityConstraint constraint

References System.Xml.Schema.SelectorActiveAxis._cs, System.Xml.Schema.SelectorActiveAxis._KSpointer, System.Xml.Schema.SelectorActiveAxis._KSs, System.Collections.ArrayList.Add(), System.Xml.Schema.ConstraintStruct.axisFields, System.Xml.Schema.ConstraintStruct.constraint, System.Collections.ArrayList.Count, System.Xml.Dictionary, System.Xml.Schema.CompiledIdentityConstraint.Fields, and System.Xml.Schema.ConstraintStruct.TableDim.

Referenced by System.Xml.Schema.XsdValidator.ElementIdentityConstraints().