Files
ISEbd-22_Nikolaeva_Y.A._Sof…/SoftwareInstallation/SofrwareInstallationContracts/DI/IDependencyContainer.cs
2023-05-24 14:11:43 +04:00

14 lines
370 B
C#

using Microsoft.Extensions.Logging;
namespace SofrwareInstallationContracts.DI
{
public interface IDependencyContainer
{
void AddLogging(Action<ILoggingBuilder> configure);
void RegisterType<T, U>(bool isSingle) where U : class, T where T : class;
void RegisterType<T>(bool isSingle) where T : class;
T Resolve<T>();
}
}