System.Xml.Xsl.Qil.SubstitutionList.RemoveLastNSubstitutionPairs C# (CSharp) 메소드

RemoveLastNSubstitutionPairs() 공개 메소드

Remove the last N substitution pairs
public RemoveLastNSubstitutionPairs ( int n ) : void
n int
리턴 void
        public void RemoveLastNSubstitutionPairs(int n) {
            Debug.Assert(n >= 0, "n must be nonnegative");
            if (n > 0) {
                n *= 2;
                s.RemoveRange(s.Count - n, n);
            }
        }