123456789101112131415161718 |
- using System;
- namespace InABox.Core
- {
- public class CoreMenuItem<T> : ICoreMenuItem where T : class
- {
- public string Header { get; set; }
- public T? Image { get; set; }
- public Action? Action { get; set; }
- public CoreMenuItem(string header, T? image = null, Action? action = null)
- {
- Header = header;
- Image = image;
- Action = action;
- }
- }
- }
|