Files
Wino-Mail/Wino.Core.Domain/Interfaces/IApplicationConfiguration.cs
T

32 lines
1008 B
C#
Raw Normal View History

2025-02-16 11:54:23 +01:00
namespace Wino.Core.Domain.Interfaces;
/// <summary>
/// Singleton object that holds the application data folder path and the publisher shared folder path.
/// Load the values before calling any service.
/// App data folder is used for storing files.
/// Pubhlisher cache folder is only used for database file so other apps can access it in the same package by same publisher.
/// </summary>
public interface IApplicationConfiguration
{
/// <summary>
2025-02-16 11:54:23 +01:00
/// Application data folder.
/// </summary>
2025-02-16 11:54:23 +01:00
string ApplicationDataFolderPath { get; set; }
2024-11-09 19:18:06 +01:00
2025-02-16 11:54:23 +01:00
/// <summary>
/// Publisher shared folder path.
/// </summary>
string PublisherSharedFolderPath { get; set; }
2025-02-16 01:44:41 +01:00
2025-02-16 11:54:23 +01:00
/// <summary>
/// Temp folder path of the application.
/// Files here are short-lived and can be deleted by system.
/// </summary>
string ApplicationTempFolderPath { get; set; }
2025-02-16 11:43:30 +01:00
2025-02-16 11:54:23 +01:00
/// <summary>
/// Application insights instrumentation key.
/// </summary>
string SentryDNS { get; }
}