This repository has been archived by the owner on Apr 22, 2019. It is now read-only.
forked from lextudio/sharpsnmplib
-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.config
72 lines (72 loc) · 2.88 KB
/
app.config
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections>
<unity>
<namespace name="Lextm.SharpSnmpLib.Compiler" />
<namespace name="Lextm.SharpSnmpLib.Mib" />
<assembly name="SharpSnmpLib.Mib" />
<assembly name="Compiler" />
<assembly name="SharpSnmpLib" />
<aliases>
<add alias="DockContent" type="WeifenLuo.WinFormsUI.Docking.DockContent, WeifenLuo.WinFormsUI.Docking" />
<add alias="Compiler" type="Lextm.SharpSnmpLib.Compiler.CompilerCore, Compiler" />
<add alias="singleton" type="Microsoft.Practices.Unity.ContainerControlledLifetimeManager, Microsoft.Practices.Unity" />
</aliases>
<containers>
<container name="compiler">
<register type="Compiler">
<lifetime type="singleton" />
<property name="Parser" dependencyType="Parser" />
<property name="Assembler" dependencyType="Assembler" />
</register>
<register type="Parser" />
<register type="Assembler">
<lifetime type="singleton" />
<constructor>
<param name="folder" value="modules" />
</constructor>
</register>
<register type="DockContent" mapTo="OutputPanel" name="Output">
<lifetime type="singleton" />
</register>
<register type="DockContent" mapTo="DocumentListPanel" name="DocumentList">
<lifetime type="singleton" />
<property name="Compiler" dependencyType="Compiler" />
</register>
<register type="DockContent" mapTo="ModuleListPanel" name="ModuleList">
<lifetime type="singleton" />
<property name="Assembler" dependencyType="Assembler" />
<property name="Compiler" dependencyType="Compiler" />
</register>
</container>
</containers>
</unity>
<log4net>
<!-- Define some output appenders -->
<appender name="OutputPanelAppender" type="Lextm.SharpSnmpLib.OutputPanelAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<!-- Setup the root category, add the appenders and set the default level -->
<root>
<level value="WARN" />
</root>
<!-- Specify the level for some specific categories -->
<logger name="Lextm.SharpSnmpLib.Compiler">
<level value="ALL" />
<appender-ref ref="OutputPanelAppender" />
</logger>
<logger name="Lextm.SharpSnmpLib.Mib">
<level value="ALL" />
<appender-ref ref="OutputPanelAppender" />
</logger>
</log4net>
<startup>
<supportedRuntime version="v2.0.50727" />
<supportedRuntime version="v4.0" />
</startup>
</configuration>