AssemblyElement.cs
13 lines
| 423 B
| text/x-csharp
|
CSharpLexer
cin
|
r289 | using System.Xml.Serialization; | |
namespace Implab.ServiceHost.Unity | |||
{ | |||
[XmlRoot("assembly", Namespace = Schema.ContainerConfigurationNamespace)] | |||
public class AssemblyElement : AbstractContainerItem { | |||
[XmlAttribute("name")] | |||
public string AssemblyName { get; set; } | |||
public override void Visit(ContainerBuilder builder) { | |||
builder.AddAssembly(AssemblyName); | |||
} | |||
} | |||
} |