Files
ssh-access-tui/outlook-bulk-sender/BulkArchiveMailer.AddIn/Globals.cs
T
2026-07-23 12:38:13 +03:00

15 lines
512 B
C#

namespace BulkArchiveMailer.AddIn
{
/// <summary>
/// Static access point to the running add-in instance, matching the
/// shape Visual Studio normally generates for VSTO projects (hand
/// written here for the same reason as ThisAddIn.Designer.cs - see
/// its header comment).
/// </summary>
internal static class Globals
{
internal static ThisAddIn ThisAddIn =>
(ThisAddIn)Microsoft.Office.Tools.Outlook.OutlookAddIn.GetInstance(typeof(ThisAddIn));
}
}