Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/AbstractRegistration.cs @ 274:22629bf26121 v3
Unity xml configuration, alpha2
author | cin |
---|---|
date | Fri, 27 Apr 2018 04:47:52 +0300 |
parents | 79110a16cab7 |
children | 963b17c275be |
comparison
equal
deleted
inserted
replaced
273:79110a16cab7 | 274:22629bf26121 |
---|---|
25 /// A type specification for the service registration, | 25 /// A type specification for the service registration, |
26 /// </summary> | 26 /// </summary> |
27 [XmlAttribute("type")] | 27 [XmlAttribute("type")] |
28 public string RegistrationType { get; set; } | 28 public string RegistrationType { get; set; } |
29 | 29 |
30 public virtual Type ResolveRegistrationType(ContainerContext ctx) { | |
31 return ctx.Resolve(RegistrationType); | |
32 } | |
33 | |
34 } | 30 } |
35 } | 31 } |