##// END OF EJS Templates
fixed typo
fixed typo

File last commit:

r289:95896f882995 v3.0.14 v3
r297:00a2d52813ee v3.0.16 default
Show More
RegistrationBuilder.cs
31 lines | 928 B | text/x-csharp | CSharpLexer
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 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 ContainerBuilder Root {
get; private set;
}
public Type RegistrationType {
get;
private set;
}
internal LifetimeManager Lifetime { get; set; }
protected RegistrationBuilder(Type registrationType, ContainerBuilder root) {
Root = root;
RegistrationType = registrationType;
}
}
}