Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/AbstractRegistration.cs @ 270:ade80d94dfb5 v3
Working on Unity container xml configuration
author | cin |
---|---|
date | Wed, 25 Apr 2018 04:44:40 +0300 |
parents | ff581cff7003 |
children | d4d437ec4483 |
line wrap: on
line source
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); } } }