///<summary> ///Gets singleton instance. ///</summary> /// <returns> ///Instance. ///</returns> internal static MenuBuilder getInstance( ) { lock (typeof(MenuBuilder)) { if (instance == null) { instance = new MenuBuilder(); } } return instance; }
public void SetUp() { mt = MenuBuilder.getInstance(); }