#if !NET472 using System.Runtime.Versioning; #endif namespace RhSolutions.Tools; #if !NET472 [SupportedOSPlatform("windows")] #endif internal abstract class ToolBase { protected readonly IExcelReader _reader; protected readonly IExcelWriter _writer; public ToolBase() { _reader = RhSolutionsAddIn.ServiceProvider.GetRequiredService(); _writer = RhSolutionsAddIn.ServiceProvider.GetRequiredService(); } public abstract void Execute(); }