Files
modernkeepass/ModernKeePass/Interfaces/IVmEntity.cs
Geoffroy BONNEVILLE 310bd777b2 WIP Split composite key user control
Some refactoring
2020-04-20 20:02:43 +02:00

22 lines
629 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
using ModernKeePass.Application.Group.Models;
namespace ModernKeePass.Interfaces
{
public interface IVmEntity
{
Symbol Icon { get; }
string Id { get; }
string Title { get; set; }
IEnumerable<GroupVm> BreadCrumb { get; }
bool IsEditMode { get; }
/// <summary>
/// Move a entity to the destination group
/// </summary>
/// <param name="destination">The destination to move the entity to</param>
Task Move(GroupVm destination);
}
}