ISEbd_21_Kuklew_M.I._Softwa.../SoftwareInstallationContracts/DI/IDependencyContainer.cs

14 lines
338 B
C#
Raw Permalink Normal View History

2024-06-17 19:27:42 +04:00
using Microsoft.Extensions.Logging;
namespace SoftwareInstallationContracts.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>();
}
}