##// END OF EJS Templates
working on diagnostics
working on diagnostics

File last commit:

r281:e0916ddc9950 v3
r285:b6924f444abd v3
Show More
DependencyParameterElement.cs
16 lines | 532 B | text/x-csharp | CSharpLexer
/ Implab.ServiceHost / Unity / DependencyParameterElement.cs
cin
preview version of Unity xml configuration
r272 using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity {
cin
code cleanup and refactoring
r281 public class DependencyParameterElement : AbstractInjectionParameter {
cin
preview version of Unity xml configuration
r272
[XmlAttribute("name")]
public string DependencyName { get; set; }
[XmlAttribute("optional")]
public bool Optional { get; set; }
cin
Unity xml configuration, alpha2
r274
cin
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
r278 public override void Visit(InjectionParameterBuilder builder) {
cin
Refactoring...
r277 var type = builder.ResolveInjectedValueType(TypeName);
cin
Container configuration cleanup, RC2
r279 builder.SetDependency(type, DependencyName, Optional);
cin
Unity xml configuration, alpha2
r274 }
cin
Working on Unity container xml configuration
r270 }
}