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