public static int GetIndex(PDLPosConstantName op) { switch (op) { case PDLPosConstantName.First: return(0); case PDLPosConstantName.Last: return(1); default: throw new PDLException("undefined operator"); } }
public static int GetIndex(PDLPosConstantName op) { switch (op) { case PDLPosConstantName.First: return 0; case PDLPosConstantName.Last: return 1; default: throw new PDLException("undefined operator"); } }