/// <summary> /// Get instance of the singleton object /// </summary> /// <returns></returns> public static DataXMLWrapper GetInstance() { if (instance == null) { instance = new DataXMLWrapper(); } return(instance); }
/// <summary> /// Returns the list of all valid expressions given a figure /// </summary> /// <param name="figure">Figure</param> /// <returns>List of valid expressions</returns> public List<string> GetExpression(string figure) { return DataXMLWrapper.GetInstance().GetExpression(figure); }
/// <summary> /// Gets the list of all valid expressions from the repository /// </summary> /// <returns></returns> public List<string> GetExpression() { return DataXMLWrapper.GetInstance().Expressions; }