##// END OF EJS Templates
addded ServiceHost tests, updated project targets
addded ServiceHost tests, updated project targets

File last commit:

r289:95896f882995 v3.0.14 v3
r299:d54174bbd6c4 tip 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;
}
}
}