##// END OF EJS Templates
code cleanup and refactoring
code cleanup and refactoring

File last commit:

r280:f07be402ab02 v3
r281:e0916ddc9950 v3
Show More
RegistrationBuilder.cs
26 lines | 800 B | text/x-csharp | CSharpLexer
cin
Unity xml configuration, alpha2
r274 using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Xml.Serialization;
using Implab.Xml;
using Unity.Injection;
cin
Refactoring...
r277 using Unity.Lifetime;
cin
Unity xml configuration, alpha2
r274 using Unity.Registration;
namespace Implab.ServiceHost.Unity {
cin
Refactoring...
r277 /// <summary>
/// Базовый класс для формирования записей в контейнере, созволяет указать время жизни для записи
/// </summary>
cin
Unity xml configuration, alpha2
r274 public abstract class RegistrationBuilder {
public Type RegistrationType {
get;
private set;
}
cin
Refactoring...
r277 internal LifetimeManager Lifetime { get; set; }
cin
Unity xml configuration, alpha2
r274 protected RegistrationBuilder(Type registrationType) {
RegistrationType = registrationType;
}
}
}