Add Usings

This commit is contained in:
Sergey Chebotar 2023-03-28 10:03:19 +03:00
parent de2f7f43ec
commit 2280b49ae1
3 changed files with 36 additions and 40 deletions

View File

@ -1,7 +1,5 @@
using ExcelDna.Integration;
namespace RhSolutions.AddIn;
namespace RhSolutions.AddIn
{
public static class ResetBarFunction
{
[ExcelFunction]
@ -10,4 +8,3 @@ namespace RhSolutions.AddIn
RhSolutionsAddIn.Excel.StatusBar = false;
}
}
}

View File

@ -1,13 +1,8 @@
using ExcelDna.Integration;
using ExcelDna.IntelliSense;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Office.Interop.Excel;
using RhSolutions.Services;
using System;
using ExcelDna.IntelliSense;
using System.Net;
namespace RhSolutions.AddIn
{
namespace RhSolutions.AddIn;
public sealed class RhSolutionsAddIn : IExcelAddIn
{
public static Application Excel { get; private set; }
@ -40,4 +35,3 @@ namespace RhSolutions.AddIn
EventsUtil.Uninitialize();
}
}
}

View File

@ -0,0 +1,5 @@
global using ExcelDna.Integration;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Office.Interop.Excel;
global using RhSolutions.Services;
global using System;