master
 1using System;
 2
 3namespace Notepad.Presentation.Model.Menu.File {
 4    public class NewMenuItem : IMenuItem {
 5        public void Click() {
 6            throw new NotImplementedException();
 7        }
 8
 9        public bool BelongsTo(ISubMenu menu) {
10            return menu.Name().Equals(MenuNames.File);
11        }
12
13        public string Name() {
14            return "&New";
15        }
16    }
17}