Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/InstanceRegistrationBuilder.cs @ 278:6691aff01de1 v3
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API
author | cin |
---|---|
date | Thu, 03 May 2018 09:59:44 +0300 |
parents | 963b17c275be |
children |
comparison
equal
deleted
inserted
replaced
277:963b17c275be | 278:6691aff01de1 |
---|---|
2 | 2 |
3 namespace Implab.ServiceHost.Unity | 3 namespace Implab.ServiceHost.Unity |
4 { | 4 { |
5 public class InstanceRegistrationBuilder : RegistrationBuilder { | 5 public class InstanceRegistrationBuilder : RegistrationBuilder { |
6 | 6 |
7 public InjectionValueBuilder ValueBuilder { get; private set; } | 7 public InjectionParameterBuilder ValueBuilder { get; private set; } |
8 | 8 |
9 internal InstanceRegistrationBuilder(TypeResolver typeResolver, Type registrationType) : base(registrationType) { | 9 internal InstanceRegistrationBuilder(TypeResolver typeResolver, Type registrationType) : base(registrationType) { |
10 ValueBuilder = new InjectionValueBuilder(typeResolver, registrationType); | 10 ValueBuilder = new InjectionParameterBuilder(typeResolver, registrationType); |
11 } | 11 } |
12 } | 12 } |
13 } | 13 } |