1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration" />
</configSections>
<unity>
<assembly name="FLY.IBC" />
<namespace name="FLY.IBC.IService" />
<namespace name="FLY.IBC.Client" />
<namespace name="FLY.IBC.Server.Model" />
<assembly name="FLY.OBJComponents" />
<namespace name="FLY.OBJComponents.IService" />
<namespace name="FLY.OBJComponents.Client" />
<container>
<register type="IIbcSystemService" mapTo="IbcSystemServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="32000" />
<param name="connName" dependencyName="cn3" />
</constructor>
</register>
<register type="IBulkDbWidthService" mapTo="BulkDbWidthServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="32004" />
<param name="connName" dependencyName="cn3" />
</constructor>
</register>
<register type="IWarningSystem2Service" mapTo="WarningSystem2ServiceClient" name="ibcWarningService">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="20000" />
<param name="connName" dependencyName="cn3" />
</constructor>
</register>
</container>
</unity>
</configuration>