From 8bcc8d34d4a6953ccb3a668751383d9d0e397e92 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Thu, 6 Apr 2023 21:36:24 +0300 Subject: [PATCH] Make Addin static properties setter private --- RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs b/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs index 0ef2d69..40603e8 100644 --- a/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs +++ b/RhSolutions.AddIn/AddIn/RhSolutionsAddIn.cs @@ -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() {