PySimultan 0.5.9.7__py3-none-any.whl → 0.6.0.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. PySimultan2/CHANGELOG.md +4 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +3 -3
  4. PySimultan2/default_types.py +39 -8
  5. PySimultan2/files.py +1 -1
  6. PySimultan2/object_mapper.py +2 -0
  7. PySimultan2/resources/BruTile.dll +0 -0
  8. PySimultan2/resources/ComponentBuilder.dll +0 -0
  9. PySimultan2/resources/ComponentBuilder.xml +93 -15
  10. PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  11. PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  12. PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  13. PySimultan2/resources/HelixToolkit.dll +0 -0
  14. PySimultan2/resources/Python.Runtime.dll +0 -0
  15. PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  16. PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
  17. PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  18. PySimultan2/resources/SIMULTAN.UI.xml +57 -0
  19. PySimultan2/resources/SIMULTAN.dll +0 -0
  20. PySimultan2/resources/SIMULTAN.xml +73 -3
  21. PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
  22. PySimultan2/resources/defaultsettings.xml +0 -0
  23. PySimultan2/simultan_object.py +6 -1
  24. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
  25. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
  26. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
  27. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
  28. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
  29. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
  30. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
  31. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
  32. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
  33. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
  34. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
  35. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
  36. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
  37. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
  38. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
  39. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
  40. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
  41. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
  42. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
  43. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
  44. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
  45. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
  46. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
  47. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
  48. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
  49. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
  50. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
  51. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
  52. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
  53. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
  54. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
  55. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
  56. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
  57. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
  58. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
  59. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
  60. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
  61. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
  62. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
  63. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
  64. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
  65. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
  66. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
  67. PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
  68. PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
  69. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
  70. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
  71. PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
  72. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
  73. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
  74. PySimultan2/typings/System/Collections/__init__.pyi +403 -0
  75. PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
  76. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
  77. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
  78. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
  79. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
  80. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
  81. PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
  82. PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
  83. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
  84. PySimultan2/typings/System/IO/__init__.pyi +2747 -0
  85. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
  86. PySimultan2/typings/System/Net/__init__.pyi +81 -0
  87. PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
  88. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
  89. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
  90. PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
  91. PySimultan2/typings/System/Resources/__init__.pyi +205 -0
  92. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
  93. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
  94. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
  95. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
  96. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
  97. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
  98. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
  99. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
  100. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
  101. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
  102. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
  103. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
  104. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
  105. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
  106. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
  107. PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
  108. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
  109. PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
  110. PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
  111. PySimultan2/typings/System/Security/__init__.pyi +347 -0
  112. PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
  113. PySimultan2/typings/System/Text/__init__.pyi +1590 -0
  114. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
  115. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
  116. PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
  117. PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
  118. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
  119. PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
  120. PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
  121. PySimultan2/typings/System/__init__.pyi +17821 -0
  122. PySimultan2/utils.py +9 -4
  123. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +1 -1
  124. pysimultan-0.6.0.1.dist-info/RECORD +174 -0
  125. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  126. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
  127. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  128. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
  129. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  130. PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
  131. pysimultan-0.5.9.7.dist-info/RECORD +0 -81
  132. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
  133. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,641 @@
1
+ import typing, clr, abc
2
+ from System import IDisposable, Attribute, EventArgs, Array_1, Exception, Guid, DateTime, TimeSpan, Func_1
3
+ from System.Collections.Generic import IDictionary_2, IEnumerable_1
4
+ from System.Collections import IDictionary
5
+ from System.Reflection import MethodBase
6
+ from System.Collections.ObjectModel import ReadOnlyCollection_1
7
+
8
+ class DiagnosticCounter(IDisposable, abc.ABC):
9
+ @property
10
+ def DisplayName(self) -> str: ...
11
+ @DisplayName.setter
12
+ def DisplayName(self, value: str) -> str: ...
13
+ @property
14
+ def DisplayUnits(self) -> str: ...
15
+ @DisplayUnits.setter
16
+ def DisplayUnits(self, value: str) -> str: ...
17
+ @property
18
+ def EventSource(self) -> EventSource: ...
19
+ @property
20
+ def Name(self) -> str: ...
21
+ def AddMetadata(self, key: str, value: str) -> None: ...
22
+ def Dispose(self) -> None: ...
23
+
24
+
25
+ class EventActivityOptions(typing.SupportsInt):
26
+ @typing.overload
27
+ def __init__(self, value : int) -> None: ...
28
+ @typing.overload
29
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
30
+ def __int__(self) -> int: ...
31
+
32
+ # Values:
33
+ None_ : EventActivityOptions # 0
34
+ Disable : EventActivityOptions # 2
35
+ Recursive : EventActivityOptions # 4
36
+ Detachable : EventActivityOptions # 8
37
+
38
+
39
+ class EventAttribute(Attribute):
40
+ def __init__(self, eventId: int) -> None: ...
41
+ @property
42
+ def ActivityOptions(self) -> EventActivityOptions: ...
43
+ @ActivityOptions.setter
44
+ def ActivityOptions(self, value: EventActivityOptions) -> EventActivityOptions: ...
45
+ @property
46
+ def Channel(self) -> EventChannel: ...
47
+ @Channel.setter
48
+ def Channel(self, value: EventChannel) -> EventChannel: ...
49
+ @property
50
+ def EventId(self) -> int: ...
51
+ @EventId.setter
52
+ def EventId(self, value: int) -> int: ...
53
+ @property
54
+ def Keywords(self) -> EventKeywords: ...
55
+ @Keywords.setter
56
+ def Keywords(self, value: EventKeywords) -> EventKeywords: ...
57
+ @property
58
+ def Level(self) -> EventLevel: ...
59
+ @Level.setter
60
+ def Level(self, value: EventLevel) -> EventLevel: ...
61
+ @property
62
+ def Message(self) -> str: ...
63
+ @Message.setter
64
+ def Message(self, value: str) -> str: ...
65
+ @property
66
+ def Opcode(self) -> EventOpcode: ...
67
+ @Opcode.setter
68
+ def Opcode(self, value: EventOpcode) -> EventOpcode: ...
69
+ @property
70
+ def Tags(self) -> EventTags: ...
71
+ @Tags.setter
72
+ def Tags(self, value: EventTags) -> EventTags: ...
73
+ @property
74
+ def Task(self) -> EventTask: ...
75
+ @Task.setter
76
+ def Task(self, value: EventTask) -> EventTask: ...
77
+ @property
78
+ def TypeId(self) -> typing.Any: ...
79
+ @property
80
+ def Version(self) -> int: ...
81
+ @Version.setter
82
+ def Version(self, value: int) -> int: ...
83
+
84
+
85
+ class EventChannel(typing.SupportsInt):
86
+ @typing.overload
87
+ def __init__(self, value : int) -> None: ...
88
+ @typing.overload
89
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
90
+ def __int__(self) -> int: ...
91
+
92
+ # Values:
93
+ None_ : EventChannel # 0
94
+ Admin : EventChannel # 16
95
+ Operational : EventChannel # 17
96
+ Analytic : EventChannel # 18
97
+ Debug : EventChannel # 19
98
+
99
+
100
+ class EventCommand(typing.SupportsInt):
101
+ @typing.overload
102
+ def __init__(self, value : int) -> None: ...
103
+ @typing.overload
104
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
105
+ def __int__(self) -> int: ...
106
+
107
+ # Values:
108
+ Update : EventCommand # 0
109
+ Disable : EventCommand # -3
110
+ Enable : EventCommand # -2
111
+ SendManifest : EventCommand # -1
112
+
113
+
114
+ class EventCommandEventArgs(EventArgs):
115
+ @property
116
+ def Arguments(self) -> IDictionary_2[str, str]: ...
117
+ @Arguments.setter
118
+ def Arguments(self, value: IDictionary_2[str, str]) -> IDictionary_2[str, str]: ...
119
+ @property
120
+ def Command(self) -> EventCommand: ...
121
+ @Command.setter
122
+ def Command(self, value: EventCommand) -> EventCommand: ...
123
+ def DisableEvent(self, eventId: int) -> bool: ...
124
+ def EnableEvent(self, eventId: int) -> bool: ...
125
+
126
+
127
+ class EventCounter(DiagnosticCounter):
128
+ def __init__(self, name: str, eventSource: EventSource) -> None: ...
129
+ @property
130
+ def DisplayName(self) -> str: ...
131
+ @DisplayName.setter
132
+ def DisplayName(self, value: str) -> str: ...
133
+ @property
134
+ def DisplayUnits(self) -> str: ...
135
+ @DisplayUnits.setter
136
+ def DisplayUnits(self, value: str) -> str: ...
137
+ @property
138
+ def EventSource(self) -> EventSource: ...
139
+ @property
140
+ def Name(self) -> str: ...
141
+ def ToString(self) -> str: ...
142
+ # Skipped WriteMetric due to it being static, abstract and generic.
143
+
144
+ WriteMetric : WriteMetric_MethodGroup
145
+ class WriteMetric_MethodGroup:
146
+ def __call__(self, value: float) -> None:...
147
+ # Method WriteMetric(value : Double) was skipped since it collides with above method
148
+
149
+
150
+
151
+ class EventDataAttribute(Attribute):
152
+ def __init__(self) -> None: ...
153
+ @property
154
+ def Name(self) -> str: ...
155
+ @Name.setter
156
+ def Name(self, value: str) -> str: ...
157
+ @property
158
+ def TypeId(self) -> typing.Any: ...
159
+
160
+
161
+ class EventFieldAttribute(Attribute):
162
+ def __init__(self) -> None: ...
163
+ @property
164
+ def Format(self) -> EventFieldFormat: ...
165
+ @Format.setter
166
+ def Format(self, value: EventFieldFormat) -> EventFieldFormat: ...
167
+ @property
168
+ def Tags(self) -> EventFieldTags: ...
169
+ @Tags.setter
170
+ def Tags(self, value: EventFieldTags) -> EventFieldTags: ...
171
+ @property
172
+ def TypeId(self) -> typing.Any: ...
173
+
174
+
175
+ class EventFieldFormat(typing.SupportsInt):
176
+ @typing.overload
177
+ def __init__(self, value : int) -> None: ...
178
+ @typing.overload
179
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
180
+ def __int__(self) -> int: ...
181
+
182
+ # Values:
183
+ Default : EventFieldFormat # 0
184
+ String : EventFieldFormat # 2
185
+ Boolean : EventFieldFormat # 3
186
+ Hexadecimal : EventFieldFormat # 4
187
+ Xml : EventFieldFormat # 11
188
+ Json : EventFieldFormat # 12
189
+ HResult : EventFieldFormat # 15
190
+
191
+
192
+ class EventFieldTags(typing.SupportsInt):
193
+ @typing.overload
194
+ def __init__(self, value : int) -> None: ...
195
+ @typing.overload
196
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
197
+ def __int__(self) -> int: ...
198
+
199
+ # Values:
200
+ None_ : EventFieldTags # 0
201
+
202
+
203
+ class EventIgnoreAttribute(Attribute):
204
+ def __init__(self) -> None: ...
205
+ @property
206
+ def TypeId(self) -> typing.Any: ...
207
+
208
+
209
+ class EventKeywords(typing.SupportsInt):
210
+ @typing.overload
211
+ def __init__(self, value : int) -> None: ...
212
+ @typing.overload
213
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
214
+ def __int__(self) -> int: ...
215
+
216
+ # Values:
217
+ None_ : EventKeywords # 0
218
+ MicrosoftTelemetry : EventKeywords # 562949953421312
219
+ WdiContext : EventKeywords # 562949953421312
220
+ WdiDiagnostic : EventKeywords # 1125899906842624
221
+ Sqm : EventKeywords # 2251799813685248
222
+ AuditFailure : EventKeywords # 4503599627370496
223
+ CorrelationHint : EventKeywords # 4503599627370496
224
+ AuditSuccess : EventKeywords # 9007199254740992
225
+ EventLogClassic : EventKeywords # 36028797018963968
226
+ All : EventKeywords # -1
227
+
228
+
229
+ class EventLevel(typing.SupportsInt):
230
+ @typing.overload
231
+ def __init__(self, value : int) -> None: ...
232
+ @typing.overload
233
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
234
+ def __int__(self) -> int: ...
235
+
236
+ # Values:
237
+ LogAlways : EventLevel # 0
238
+ Critical : EventLevel # 1
239
+ Error : EventLevel # 2
240
+ Warning : EventLevel # 3
241
+ Informational : EventLevel # 4
242
+ Verbose : EventLevel # 5
243
+
244
+
245
+ class EventListener(IDisposable, abc.ABC):
246
+ def DisableEvents(self, eventSource: EventSource) -> None: ...
247
+ def Dispose(self) -> None: ...
248
+ # Skipped EnableEvents due to it being static, abstract and generic.
249
+
250
+ EnableEvents : EnableEvents_MethodGroup
251
+ class EnableEvents_MethodGroup:
252
+ @typing.overload
253
+ def __call__(self, eventSource: EventSource, level: EventLevel) -> None:...
254
+ @typing.overload
255
+ def __call__(self, eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords) -> None:...
256
+ @typing.overload
257
+ def __call__(self, eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords, arguments: IDictionary_2[str, str]) -> None:...
258
+
259
+
260
+
261
+ class EventManifestOptions(typing.SupportsInt):
262
+ @typing.overload
263
+ def __init__(self, value : int) -> None: ...
264
+ @typing.overload
265
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
266
+ def __int__(self) -> int: ...
267
+
268
+ # Values:
269
+ None_ : EventManifestOptions # 0
270
+ Strict : EventManifestOptions # 1
271
+ AllCultures : EventManifestOptions # 2
272
+ OnlyIfNeededForRegistration : EventManifestOptions # 4
273
+ AllowEventSourceOverride : EventManifestOptions # 8
274
+
275
+
276
+ class EventOpcode(typing.SupportsInt):
277
+ @typing.overload
278
+ def __init__(self, value : int) -> None: ...
279
+ @typing.overload
280
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
281
+ def __int__(self) -> int: ...
282
+
283
+ # Values:
284
+ Info : EventOpcode # 0
285
+ Start : EventOpcode # 1
286
+ Stop : EventOpcode # 2
287
+ DataCollectionStart : EventOpcode # 3
288
+ DataCollectionStop : EventOpcode # 4
289
+ Extension : EventOpcode # 5
290
+ Reply : EventOpcode # 6
291
+ Resume : EventOpcode # 7
292
+ Suspend : EventOpcode # 8
293
+ Send : EventOpcode # 9
294
+ Receive : EventOpcode # 240
295
+
296
+
297
+ class EventSource(IDisposable):
298
+ @typing.overload
299
+ def __init__(self, eventSourceName: str) -> None: ...
300
+ @typing.overload
301
+ def __init__(self, eventSourceName: str, config: EventSourceSettings) -> None: ...
302
+ @typing.overload
303
+ def __init__(self, eventSourceName: str, config: EventSourceSettings, traits: Array_1[str]) -> None: ...
304
+ @property
305
+ def ConstructionException(self) -> Exception: ...
306
+ @classmethod
307
+ @property
308
+ def CurrentThreadActivityId(cls) -> Guid: ...
309
+ @property
310
+ def Guid(self) -> Guid: ...
311
+ @property
312
+ def Name(self) -> str: ...
313
+ @property
314
+ def Settings(self) -> EventSourceSettings: ...
315
+ def Dispose(self) -> None: ...
316
+ @staticmethod
317
+ def GetGuid(eventSourceType: typing.Type[typing.Any]) -> Guid: ...
318
+ @staticmethod
319
+ def GetName(eventSourceType: typing.Type[typing.Any]) -> str: ...
320
+ @staticmethod
321
+ def GetSources() -> IEnumerable_1[EventSource]: ...
322
+ def GetTrait(self, key: str) -> str: ...
323
+ @staticmethod
324
+ def SendCommand(eventSource: EventSource, command: EventCommand, commandArguments: IDictionary_2[str, str]) -> None: ...
325
+ def ToString(self) -> str: ...
326
+ # Skipped GenerateManifest due to it being static, abstract and generic.
327
+
328
+ GenerateManifest : GenerateManifest_MethodGroup
329
+ class GenerateManifest_MethodGroup:
330
+ @typing.overload
331
+ def __call__(self, eventSourceType: typing.Type[typing.Any], assemblyPathToIncludeInManifest: str) -> str:...
332
+ @typing.overload
333
+ def __call__(self, eventSourceType: typing.Type[typing.Any], assemblyPathToIncludeInManifest: str, flags: EventManifestOptions) -> str:...
334
+
335
+ # Skipped IsEnabled due to it being static, abstract and generic.
336
+
337
+ IsEnabled : IsEnabled_MethodGroup
338
+ class IsEnabled_MethodGroup:
339
+ @typing.overload
340
+ def __call__(self) -> bool:...
341
+ @typing.overload
342
+ def __call__(self, level: EventLevel, keywords: EventKeywords) -> bool:...
343
+ @typing.overload
344
+ def __call__(self, level: EventLevel, keywords: EventKeywords, channel: EventChannel) -> bool:...
345
+
346
+ # Skipped SetCurrentThreadActivityId due to it being static, abstract and generic.
347
+
348
+ SetCurrentThreadActivityId : SetCurrentThreadActivityId_MethodGroup
349
+ class SetCurrentThreadActivityId_MethodGroup:
350
+ @typing.overload
351
+ def __call__(self, activityId: Guid) -> None:...
352
+ @typing.overload
353
+ def __call__(self, activityId: Guid, oldActivityThatWillContinue: clr.Reference[Guid]) -> None:...
354
+
355
+ # Skipped Write due to it being static, abstract and generic.
356
+
357
+ Write : Write_MethodGroup
358
+ class Write_MethodGroup:
359
+ def __getitem__(self, t:typing.Type[Write_1_T1]) -> Write_1[Write_1_T1]: ...
360
+
361
+ Write_1_T1 = typing.TypeVar('Write_1_T1')
362
+ class Write_1(typing.Generic[Write_1_T1]):
363
+ Write_1_T = EventSource.Write_MethodGroup.Write_1_T1
364
+ @typing.overload
365
+ def __call__(self, eventName: str, data: Write_1_T) -> None:...
366
+ @typing.overload
367
+ def __call__(self, eventName: str, options: EventSourceOptions, data: Write_1_T) -> None:...
368
+ @typing.overload
369
+ def __call__(self, eventName: str, options: clr.Reference[EventSourceOptions], data: clr.Reference[Write_1_T]) -> None:...
370
+ @typing.overload
371
+ def __call__(self, eventName: str, options: clr.Reference[EventSourceOptions], activityId: clr.Reference[Guid], relatedActivityId: clr.Reference[Guid], data: clr.Reference[Write_1_T]) -> None:...
372
+
373
+ @typing.overload
374
+ def __call__(self, eventName: str) -> None:...
375
+ @typing.overload
376
+ def __call__(self, eventName: str, options: EventSourceOptions) -> None:...
377
+
378
+
379
+ class EventSourcePrimitive:
380
+ # Operator not supported op_Implicit(value: Single)
381
+ # Operator not supported op_Implicit(value: Double)
382
+ # Operator not supported op_Implicit(value: Byte)
383
+ # Operator not supported op_Implicit(value: Int16)
384
+ # Operator not supported op_Implicit(value: Int32)
385
+ # Operator not supported op_Implicit(value: Int64)
386
+ # Operator not supported op_Implicit(value: SByte)
387
+ # Operator not supported op_Implicit(value: UInt16)
388
+ # Operator not supported op_Implicit(value: UInt32)
389
+ # Operator not supported op_Implicit(value: UInt64)
390
+ # Operator not supported op_Implicit(value: Char)
391
+ # Operator not supported op_Implicit(value: UIntPtr)
392
+ # Operator not supported op_Implicit(value: IntPtr)
393
+ # Operator not supported op_Implicit(value: Decimal)
394
+ # Operator not supported op_Implicit(value: Byte[])
395
+ # Operator not supported op_Implicit(value: Boolean)
396
+ # Operator not supported op_Implicit(value: String)
397
+ # Operator not supported op_Implicit(value: Guid)
398
+ # Operator not supported op_Implicit(value: DateTime)
399
+ # Operator not supported op_Implicit(value: Enum)
400
+ pass
401
+
402
+
403
+
404
+ class EventSourceAttribute(Attribute):
405
+ def __init__(self) -> None: ...
406
+ @property
407
+ def Guid(self) -> str: ...
408
+ @Guid.setter
409
+ def Guid(self, value: str) -> str: ...
410
+ @property
411
+ def LocalizationResources(self) -> str: ...
412
+ @LocalizationResources.setter
413
+ def LocalizationResources(self, value: str) -> str: ...
414
+ @property
415
+ def Name(self) -> str: ...
416
+ @Name.setter
417
+ def Name(self, value: str) -> str: ...
418
+ @property
419
+ def TypeId(self) -> typing.Any: ...
420
+
421
+
422
+ class EventSourceCreatedEventArgs(EventArgs):
423
+ def __init__(self) -> None: ...
424
+ @property
425
+ def EventSource(self) -> EventSource: ...
426
+ @EventSource.setter
427
+ def EventSource(self, value: EventSource) -> EventSource: ...
428
+
429
+
430
+ class EventSourceException(Exception):
431
+ @typing.overload
432
+ def __init__(self) -> None: ...
433
+ @typing.overload
434
+ def __init__(self, message: str) -> None: ...
435
+ @typing.overload
436
+ def __init__(self, message: str, innerException: Exception) -> None: ...
437
+ @property
438
+ def Data(self) -> IDictionary: ...
439
+ @property
440
+ def HelpLink(self) -> str: ...
441
+ @HelpLink.setter
442
+ def HelpLink(self, value: str) -> str: ...
443
+ @property
444
+ def HResult(self) -> int: ...
445
+ @HResult.setter
446
+ def HResult(self, value: int) -> int: ...
447
+ @property
448
+ def InnerException(self) -> Exception: ...
449
+ @property
450
+ def Message(self) -> str: ...
451
+ @property
452
+ def Source(self) -> str: ...
453
+ @Source.setter
454
+ def Source(self, value: str) -> str: ...
455
+ @property
456
+ def StackTrace(self) -> str: ...
457
+ @property
458
+ def TargetSite(self) -> MethodBase: ...
459
+
460
+
461
+ class EventSourceOptions:
462
+ @property
463
+ def ActivityOptions(self) -> EventActivityOptions: ...
464
+ @ActivityOptions.setter
465
+ def ActivityOptions(self, value: EventActivityOptions) -> EventActivityOptions: ...
466
+ @property
467
+ def Keywords(self) -> EventKeywords: ...
468
+ @Keywords.setter
469
+ def Keywords(self, value: EventKeywords) -> EventKeywords: ...
470
+ @property
471
+ def Level(self) -> EventLevel: ...
472
+ @Level.setter
473
+ def Level(self, value: EventLevel) -> EventLevel: ...
474
+ @property
475
+ def Opcode(self) -> EventOpcode: ...
476
+ @Opcode.setter
477
+ def Opcode(self, value: EventOpcode) -> EventOpcode: ...
478
+ @property
479
+ def Tags(self) -> EventTags: ...
480
+ @Tags.setter
481
+ def Tags(self, value: EventTags) -> EventTags: ...
482
+
483
+
484
+ class EventSourceSettings(typing.SupportsInt):
485
+ @typing.overload
486
+ def __init__(self, value : int) -> None: ...
487
+ @typing.overload
488
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
489
+ def __int__(self) -> int: ...
490
+
491
+ # Values:
492
+ Default : EventSourceSettings # 0
493
+ ThrowOnEventWriteErrors : EventSourceSettings # 1
494
+ EtwManifestEventFormat : EventSourceSettings # 4
495
+ EtwSelfDescribingEventFormat : EventSourceSettings # 8
496
+
497
+
498
+ class EventTags(typing.SupportsInt):
499
+ @typing.overload
500
+ def __init__(self, value : int) -> None: ...
501
+ @typing.overload
502
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
503
+ def __int__(self) -> int: ...
504
+
505
+ # Values:
506
+ None_ : EventTags # 0
507
+
508
+
509
+ class EventTask(typing.SupportsInt):
510
+ @typing.overload
511
+ def __init__(self, value : int) -> None: ...
512
+ @typing.overload
513
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
514
+ def __int__(self) -> int: ...
515
+
516
+ # Values:
517
+ None_ : EventTask # 0
518
+
519
+
520
+ class EventWrittenEventArgs(EventArgs):
521
+ @property
522
+ def ActivityId(self) -> Guid: ...
523
+ @property
524
+ def Channel(self) -> EventChannel: ...
525
+ @property
526
+ def EventId(self) -> int: ...
527
+ @property
528
+ def EventName(self) -> str: ...
529
+ @EventName.setter
530
+ def EventName(self, value: str) -> str: ...
531
+ @property
532
+ def EventSource(self) -> EventSource: ...
533
+ @property
534
+ def Keywords(self) -> EventKeywords: ...
535
+ @Keywords.setter
536
+ def Keywords(self, value: EventKeywords) -> EventKeywords: ...
537
+ @property
538
+ def Level(self) -> EventLevel: ...
539
+ @Level.setter
540
+ def Level(self, value: EventLevel) -> EventLevel: ...
541
+ @property
542
+ def Message(self) -> str: ...
543
+ @Message.setter
544
+ def Message(self, value: str) -> str: ...
545
+ @property
546
+ def Opcode(self) -> EventOpcode: ...
547
+ @Opcode.setter
548
+ def Opcode(self, value: EventOpcode) -> EventOpcode: ...
549
+ @property
550
+ def OSThreadId(self) -> int: ...
551
+ @OSThreadId.setter
552
+ def OSThreadId(self, value: int) -> int: ...
553
+ @property
554
+ def Payload(self) -> ReadOnlyCollection_1[typing.Any]: ...
555
+ @Payload.setter
556
+ def Payload(self, value: ReadOnlyCollection_1[typing.Any]) -> ReadOnlyCollection_1[typing.Any]: ...
557
+ @property
558
+ def PayloadNames(self) -> ReadOnlyCollection_1[str]: ...
559
+ @PayloadNames.setter
560
+ def PayloadNames(self, value: ReadOnlyCollection_1[str]) -> ReadOnlyCollection_1[str]: ...
561
+ @property
562
+ def RelatedActivityId(self) -> Guid: ...
563
+ @property
564
+ def Tags(self) -> EventTags: ...
565
+ @Tags.setter
566
+ def Tags(self, value: EventTags) -> EventTags: ...
567
+ @property
568
+ def Task(self) -> EventTask: ...
569
+ @property
570
+ def TimeStamp(self) -> DateTime: ...
571
+ @TimeStamp.setter
572
+ def TimeStamp(self, value: DateTime) -> DateTime: ...
573
+ @property
574
+ def Version(self) -> int: ...
575
+
576
+
577
+ class IncrementingEventCounter(DiagnosticCounter):
578
+ def __init__(self, name: str, eventSource: EventSource) -> None: ...
579
+ @property
580
+ def DisplayName(self) -> str: ...
581
+ @DisplayName.setter
582
+ def DisplayName(self, value: str) -> str: ...
583
+ @property
584
+ def DisplayRateTimeScale(self) -> TimeSpan: ...
585
+ @DisplayRateTimeScale.setter
586
+ def DisplayRateTimeScale(self, value: TimeSpan) -> TimeSpan: ...
587
+ @property
588
+ def DisplayUnits(self) -> str: ...
589
+ @DisplayUnits.setter
590
+ def DisplayUnits(self, value: str) -> str: ...
591
+ @property
592
+ def EventSource(self) -> EventSource: ...
593
+ @property
594
+ def Name(self) -> str: ...
595
+ def Increment(self, increment: float = ...) -> None: ...
596
+ def ToString(self) -> str: ...
597
+
598
+
599
+ class IncrementingPollingCounter(DiagnosticCounter):
600
+ def __init__(self, name: str, eventSource: EventSource, totalValueProvider: Func_1[float]) -> None: ...
601
+ @property
602
+ def DisplayName(self) -> str: ...
603
+ @DisplayName.setter
604
+ def DisplayName(self, value: str) -> str: ...
605
+ @property
606
+ def DisplayRateTimeScale(self) -> TimeSpan: ...
607
+ @DisplayRateTimeScale.setter
608
+ def DisplayRateTimeScale(self, value: TimeSpan) -> TimeSpan: ...
609
+ @property
610
+ def DisplayUnits(self) -> str: ...
611
+ @DisplayUnits.setter
612
+ def DisplayUnits(self, value: str) -> str: ...
613
+ @property
614
+ def EventSource(self) -> EventSource: ...
615
+ @property
616
+ def Name(self) -> str: ...
617
+ def ToString(self) -> str: ...
618
+
619
+
620
+ class NonEventAttribute(Attribute):
621
+ def __init__(self) -> None: ...
622
+ @property
623
+ def TypeId(self) -> typing.Any: ...
624
+
625
+
626
+ class PollingCounter(DiagnosticCounter):
627
+ def __init__(self, name: str, eventSource: EventSource, metricProvider: Func_1[float]) -> None: ...
628
+ @property
629
+ def DisplayName(self) -> str: ...
630
+ @DisplayName.setter
631
+ def DisplayName(self, value: str) -> str: ...
632
+ @property
633
+ def DisplayUnits(self) -> str: ...
634
+ @DisplayUnits.setter
635
+ def DisplayUnits(self, value: str) -> str: ...
636
+ @property
637
+ def EventSource(self) -> EventSource: ...
638
+ @property
639
+ def Name(self) -> str: ...
640
+ def ToString(self) -> str: ...
641
+