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

File last commit:

r270:ade80d94dfb5 v3
r270:ade80d94dfb5 v3
Show More
AbstractRegistration.cs
21 lines | 517 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.Visit(this);
}
}
}