Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/TypeAbstractRegistration.cs @ 277:963b17c275be v3
Refactoring
Added <array> element to injection parameters
Working on registrations of factories
author | cin |
---|---|
date | Sat, 28 Apr 2018 18:48:09 +0300 |
parents | |
children |
rev | line source |
---|---|
277 | 1 using System; |
2 | |
3 namespace Implab.ServiceHost.Unity | |
4 { | |
5 public abstract class TypeAbstractRegistration : AbstractRegistration { | |
6 | |
7 public abstract Type GetImplementationType(Func<string,Type> resolver); | |
8 | |
9 override public void Visit(ContainerBuilder builder) { | |
10 builder.Visit(this); | |
11 } | |
12 | |
13 public virtual void Visit(TypeRegistrationBuilder builder) { | |
14 base.Visit(builder); | |
15 } | |
16 } | |
17 } |