15 lines
512 B
C#
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));
|
|
}
|
|
}
|