Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/RegistrationBuilder.cs @ 281:e0916ddc9950 v3 tip
code cleanup and refactoring
author | cin |
---|---|
date | Fri, 01 Jun 2018 21:35:24 +0300 |
parents | f07be402ab02 |
children |
line wrap: on
line source
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Xml.Serialization; using Implab.Xml; using Unity.Injection; using Unity.Lifetime; using Unity.Registration; namespace Implab.ServiceHost.Unity { /// <summary> /// Базовый класс для формирования записей в контейнере, созволяет указать время жизни для записи /// </summary> public abstract class RegistrationBuilder { public Type RegistrationType { get; private set; } internal LifetimeManager Lifetime { get; set; } protected RegistrationBuilder(Type registrationType) { RegistrationType = registrationType; } } }