Make Addin static properties setter private

This commit is contained in:
Sergey Chebotar 2023-04-06 21:36:24 +03:00
parent 02a6c7151f
commit 8bcc8d34d4

View File

@ -13,8 +13,8 @@ namespace RhSolutions.AddIn;
public sealed class RhSolutionsAddIn : IExcelAddIn
{
public static Application Excel { get; private set; }
public static ServiceProvider ServiceProvider { get; set; }
public static IAddInConfiguration Configuration { get; set; }
public static ServiceProvider ServiceProvider { get; private set; }
public static IAddInConfiguration Configuration { get; private set; }
public void AutoOpen()
{