public void SetOperatorType(int type) { operatorType = (XMLVariableOperatorType)type; }
public void SetOperatorType(XMLVariableOperatorType type) { operatorType = type; }
public void SetOperatorType(string type) { operatorType = (XMLVariableOperatorType)Enum.Parse(typeof(XMLVariableOperatorType), type); }