Files
Wino-Mail/Wino.Core.Domain/Interfaces/IFolderMenuItem.cs

32 lines
945 B
C#
Raw Normal View History

2024-04-18 01:44:37 +02:00
using System.Collections.Generic;
using Wino.Core.Domain.Entities.Shared;
2024-04-18 01:44:37 +02:00
using Wino.Core.Domain.Enums;
using Wino.Core.Domain.Models.Folders;
2025-02-16 11:54:23 +01:00
namespace Wino.Core.Domain.Interfaces;
public interface IFolderMenuItem : IBaseFolderMenuItem
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
MailAccount ParentAccount { get; }
void UpdateParentAccounnt(MailAccount account);
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
public interface IMergedAccountFolderMenuItem : IBaseFolderMenuItem { }
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
public interface IBaseFolderMenuItem : IMenuItem
{
string FolderName { get; }
bool IsSynchronizationEnabled { get; }
int UnreadItemCount { get; set; }
SpecialFolderType SpecialFolderType { get; }
IEnumerable<IMailItemFolder> HandlingFolders { get; }
IEnumerable<IMenuItem> SubMenuItems { get; }
bool IsMoveTarget { get; }
bool IsSticky { get; }
bool IsSystemFolder { get; }
bool ShowUnreadCount { get; }
string AssignedAccountName { get; }
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
void UpdateFolder(IMailItemFolder folder);
2024-04-18 01:44:37 +02:00
}