| 123456789101112131415161718192021222324 |
- using System;
- namespace BansheeEditor
- {
- [AttributeUsage(AttributeTargets.Method)]
- public sealed class MenuItem : Attribute
- {
- public MenuItem(string path, ShortcutKey shortcut, int priority = 0)
- {
- this.path = path;
- this.shortcut = shortcut;
- this.priority = priority;
- }
- public MenuItem(string path, int priority = 0)
- {
- this.path = path;
- this.priority = priority;
- }
- private string path;
- private ShortcutKey shortcut;
- private int priority;
- }
- }
|