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