##// END OF EJS Templates
Working on Unity container xml configuration
Working on Unity container xml configuration

File last commit:

r269:ff581cff7003 v3
r269:ff581cff7003 v3
Show More
AbstractRegistration.cs
21 lines | 518 B | text/x-csharp | CSharpLexer
using System;
using System.Xml.Serialization;
using Unity.Lifetime;
using Unity.Registration;
namespace Implab.ServiceHost.Unity
{
public abstract class AbstractRegistration : IConfigurationElement {
/// <summary>
/// An optional name for a registration in the container
/// </summary>
[XmlAttribute("name")]
public string Name {
get; set;
}
public void Visit(ConfigurationContext context) {
context.Visist(this);
}
}
}