Pibd-21_Ievlewa_MD._Precast.../PrecastConcretePlant/PrecastConcretePlantContracts/DI/IDependencyContainer.cs
2024-05-16 20:23:36 +04:00

20 lines
487 B
C#

using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrecastConcretePlantContracts.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>();
}
}