public Rule Create(VarTypeEnum fromType, VarTypeEnum toType) { if (fromType == toType) { return(null); } return(new Rule((fromType, toType))); }
public VarType(VarTypeEnum type, string text) { Type = type; Text = text; }