Line | |
---|
1 | using System.Diagnostics;
|
---|
2 | namespace Netron.Diagramming.Core {
|
---|
3 | public static class Tracing {
|
---|
4 | #region Fields
|
---|
5 | /// <summary>
|
---|
6 | /// the serialization switch
|
---|
7 | /// </summary>
|
---|
8 | private static BooleanSwitch mBinarySerializationSwitch = new BooleanSwitch("BinarySerializationSwitch", "This switch enables/disables the ouput of binary serialization information.");
|
---|
9 | /// <summary>
|
---|
10 | /// the deserialization switch
|
---|
11 | /// </summary>
|
---|
12 | private static BooleanSwitch mBinaryDeserializationSwitch = new BooleanSwitch("BinaryDeserializationSwitch", "This switch enables/disables the ouput of binary deserialization information.");
|
---|
13 | #endregion
|
---|
14 |
|
---|
15 | #region Properties
|
---|
16 | /// <summary>
|
---|
17 | /// Gets the deserialization switch.
|
---|
18 | /// </summary>
|
---|
19 | /// <value>The deserialization switch.</value>
|
---|
20 | public static BooleanSwitch BinaryDeserializationSwitch {
|
---|
21 | get {
|
---|
22 | return mBinaryDeserializationSwitch;
|
---|
23 | }
|
---|
24 | }
|
---|
25 | /// <summary>
|
---|
26 | /// Gets the serialization switch.
|
---|
27 | /// </summary>
|
---|
28 | /// <value>The serialization switch.</value>
|
---|
29 | public static BooleanSwitch BinarySerializationSwitch {
|
---|
30 | get {
|
---|
31 | return mBinarySerializationSwitch;
|
---|
32 | }
|
---|
33 | }
|
---|
34 | #endregion
|
---|
35 |
|
---|
36 |
|
---|
37 | }
|
---|
38 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.