-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathObjectsDefinition.cs
100 lines (82 loc) · 3 KB
/
ObjectsDefinition.cs
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Microsys.EAI.BizTalkUtilities
{
public enum BizTalkObjectType
{
Application,
Host,
ReceiveLocation,
ReceivePort,
SendPortGroup,
SendPort,
Folder,
Orchestration
}
public class BizTalkObject
{
public BizTalkObjectType ObjectType;
public bool IsExportable;
public object NativeObject;
public IList<string> InboundTransformsList;
public IList<string> OutboundTransformsList;
public IList<string> PortList;
public BizTalkObject(BizTalkObjectType objectType, bool isExportable)
{
ObjectType = objectType;
IsExportable = isExportable;
}
public BizTalkObject(BizTalkObjectType objectType, bool isExportable, object nativeObject)
{
ObjectType = objectType;
IsExportable = isExportable;
NativeObject = nativeObject;
}
public BizTalkObject(BizTalkObjectType objectType, bool isExportable, object nativeObject, IList<string> ports)
{
ObjectType = objectType;
IsExportable = isExportable;
NativeObject = nativeObject;
PortList = ports;
}
public BizTalkObject(BizTalkObjectType objectType, bool isExportable, object nativeObject, IList<string> inboundTransforms, IList<string> outboundTransforms)
{
ObjectType = objectType;
IsExportable = isExportable;
NativeObject = nativeObject;
InboundTransformsList = inboundTransforms;
OutboundTransformsList = outboundTransforms;
}
}
public sealed class CompareParameters
{
private static readonly CompareParameters instance = new CompareParameters();
private CompareParameters() { }
public static CompareParameters Instance
{
get
{
return instance;
}
}
public static bool SendPortCheckAddress = false;
public static bool SendPortCheckAddressFileMask = false;
public static bool SendPortCheckHost = false;
public static bool SendPortCheckFilter = false;
public static bool SendPortCheckPipeline = false;
public static bool SendPortCheckMaps = false;
public static bool SendPortGroupCheckFilter = false;
public static bool ReceivePortCheckEnableRouting = false;
public static bool ReceivePortCheckMaps = false;
public static bool ReceiveLocationCheckAddress = false;
public static bool ReceiveLocationCheckAddressFileMask = false;
public static bool ReceiveLocationCheckPipeline = false;
public static bool ReceiveLocationCheckHost = false;
public static bool OrchestrationCheckHost = false;
public static bool OrchestrationCheckBindings = false;
}
}