annotate Implab.ServiceHost/Unity/RegistrationBuilder.cs @ 275:6fefd5811b9b v3

refactoring
author cin
date Fri, 27 Apr 2018 16:57:30 +0300
parents 22629bf26121
children 963b17c275be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
274
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
1 using System;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
2 using System.Collections.Generic;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
3 using System.ComponentModel;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
4 using System.Linq;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
5 using System.Xml.Serialization;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
6 using Implab.Xml;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
7 using Unity.Injection;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
8 using Unity.Registration;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
9
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
10 namespace Implab.ServiceHost.Unity {
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
11 public abstract class RegistrationBuilder {
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
12 public Type RegistrationType {
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
13 get;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
14 private set;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
15 }
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
16
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
17 protected RegistrationBuilder(Type registrationType) {
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
18 RegistrationType = registrationType;
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
19 }
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
20 }
22629bf26121 Unity xml configuration, alpha2
cin
parents:
diff changeset
21 }