##// END OF EJS Templates
sync, minor changes
sync, minor changes

File last commit:

r280:f07be402ab02 v3
r284:bcb6c16f6fed v3
Show More
RegistrationBuilder.cs
26 lines | 800 B | text/x-csharp | CSharpLexer
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;
}
}
}