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.
- PySimultan2/CHANGELOG.md +4 -0
- PySimultan2/__about__.py +1 -1
- PySimultan2/data_model.py +3 -3
- PySimultan2/default_types.py +39 -8
- PySimultan2/files.py +1 -1
- PySimultan2/object_mapper.py +2 -0
- PySimultan2/resources/BruTile.dll +0 -0
- PySimultan2/resources/ComponentBuilder.dll +0 -0
- PySimultan2/resources/ComponentBuilder.xml +93 -15
- PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
- PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
- PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
- PySimultan2/resources/HelixToolkit.dll +0 -0
- PySimultan2/resources/Python.Runtime.dll +0 -0
- PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
- PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
- PySimultan2/resources/SIMULTAN.UI.dll +0 -0
- PySimultan2/resources/SIMULTAN.UI.xml +57 -0
- PySimultan2/resources/SIMULTAN.dll +0 -0
- PySimultan2/resources/SIMULTAN.xml +73 -3
- PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
- PySimultan2/resources/defaultsettings.xml +0 -0
- PySimultan2/simultan_object.py +6 -1
- PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
- PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
- PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
- PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
- PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
- PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
- PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
- PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
- PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
- PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
- PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
- PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
- PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
- PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
- PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
- PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
- PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
- PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
- PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
- PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
- PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
- PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
- PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
- PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
- PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
- PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
- PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
- PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
- PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
- PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
- PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
- PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
- PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
- PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
- PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
- PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
- PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
- PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
- PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
- PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
- PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
- PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
- PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
- PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
- PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
- PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
- PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
- PySimultan2/typings/System/Collections/__init__.pyi +403 -0
- PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
- PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
- PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
- PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
- PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
- PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
- PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
- PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
- PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
- PySimultan2/typings/System/IO/__init__.pyi +2747 -0
- PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
- PySimultan2/typings/System/Net/__init__.pyi +81 -0
- PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
- PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
- PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
- PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
- PySimultan2/typings/System/Resources/__init__.pyi +205 -0
- PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
- PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
- PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
- PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
- PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
- PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
- PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
- PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
- PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
- PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
- PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
- PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
- PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
- PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
- PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
- PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
- PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
- PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
- PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
- PySimultan2/typings/System/Security/__init__.pyi +347 -0
- PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
- PySimultan2/typings/System/Text/__init__.pyi +1590 -0
- PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
- PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
- PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
- PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
- PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
- PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
- PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
- PySimultan2/typings/System/__init__.pyi +17821 -0
- PySimultan2/utils.py +9 -4
- {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +1 -1
- pysimultan-0.6.0.1.dist-info/RECORD +174 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
- PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
- PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
- PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
- pysimultan-0.5.9.7.dist-info/RECORD +0 -81
- {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
- {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,1788 @@
|
|
1
|
+
import typing, clr, abc
|
2
|
+
from System import SystemException, Exception, IDisposable, IEquatable_1, Action_1, Action, Action_2, IAsyncDisposable, TimeSpan, TimeProvider, Array_1, MulticastDelegate, IAsyncResult, AsyncCallback, UIntPtr, Func_1, MarshalByRefObject, LocalDataStoreSlot, AppDomain, EventArgs, ApplicationException
|
3
|
+
from System.Collections import IDictionary
|
4
|
+
from System.Reflection import MethodBase, MethodInfo
|
5
|
+
from Microsoft.Win32.SafeHandles import SafeWaitHandle
|
6
|
+
from System.Threading.Tasks import ValueTask, Task, ValueTask_1, Task_1
|
7
|
+
from System.Runtime.Serialization import ISerializable, SerializationInfo, StreamingContext
|
8
|
+
from System.Runtime.ConstrainedExecution import CriticalFinalizerObject
|
9
|
+
from System.Globalization import CultureInfo
|
10
|
+
from System.Security.Principal import IPrincipal
|
11
|
+
from System.Collections.Generic import IList_1
|
12
|
+
from System.Runtime.InteropServices import SafeHandle
|
13
|
+
|
14
|
+
class AbandonedMutexException(SystemException):
|
15
|
+
@typing.overload
|
16
|
+
def __init__(self) -> None: ...
|
17
|
+
@typing.overload
|
18
|
+
def __init__(self, location: int, handle: WaitHandle) -> None: ...
|
19
|
+
@typing.overload
|
20
|
+
def __init__(self, message: str) -> None: ...
|
21
|
+
@typing.overload
|
22
|
+
def __init__(self, message: str, inner: Exception) -> None: ...
|
23
|
+
@typing.overload
|
24
|
+
def __init__(self, message: str, inner: Exception, location: int, handle: WaitHandle) -> None: ...
|
25
|
+
@typing.overload
|
26
|
+
def __init__(self, message: str, location: int, handle: WaitHandle) -> None: ...
|
27
|
+
@property
|
28
|
+
def Data(self) -> IDictionary: ...
|
29
|
+
@property
|
30
|
+
def HelpLink(self) -> str: ...
|
31
|
+
@HelpLink.setter
|
32
|
+
def HelpLink(self, value: str) -> str: ...
|
33
|
+
@property
|
34
|
+
def HResult(self) -> int: ...
|
35
|
+
@HResult.setter
|
36
|
+
def HResult(self, value: int) -> int: ...
|
37
|
+
@property
|
38
|
+
def InnerException(self) -> Exception: ...
|
39
|
+
@property
|
40
|
+
def Message(self) -> str: ...
|
41
|
+
@property
|
42
|
+
def Mutex(self) -> Mutex: ...
|
43
|
+
@property
|
44
|
+
def MutexIndex(self) -> int: ...
|
45
|
+
@property
|
46
|
+
def Source(self) -> str: ...
|
47
|
+
@Source.setter
|
48
|
+
def Source(self, value: str) -> str: ...
|
49
|
+
@property
|
50
|
+
def StackTrace(self) -> str: ...
|
51
|
+
@property
|
52
|
+
def TargetSite(self) -> MethodBase: ...
|
53
|
+
|
54
|
+
|
55
|
+
class ApartmentState(typing.SupportsInt):
|
56
|
+
@typing.overload
|
57
|
+
def __init__(self, value : int) -> None: ...
|
58
|
+
@typing.overload
|
59
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
60
|
+
def __int__(self) -> int: ...
|
61
|
+
|
62
|
+
# Values:
|
63
|
+
STA : ApartmentState # 0
|
64
|
+
MTA : ApartmentState # 1
|
65
|
+
Unknown : ApartmentState # 2
|
66
|
+
|
67
|
+
|
68
|
+
class AsyncFlowControl(IDisposable, IEquatable_1[AsyncFlowControl]):
|
69
|
+
def Dispose(self) -> None: ...
|
70
|
+
def GetHashCode(self) -> int: ...
|
71
|
+
def __eq__(self, a: AsyncFlowControl, b: AsyncFlowControl) -> bool: ...
|
72
|
+
def __ne__(self, a: AsyncFlowControl, b: AsyncFlowControl) -> bool: ...
|
73
|
+
def Undo(self) -> None: ...
|
74
|
+
# Skipped Equals due to it being static, abstract and generic.
|
75
|
+
|
76
|
+
Equals : Equals_MethodGroup
|
77
|
+
class Equals_MethodGroup:
|
78
|
+
@typing.overload
|
79
|
+
def __call__(self, obj: AsyncFlowControl) -> bool:...
|
80
|
+
@typing.overload
|
81
|
+
def __call__(self, obj: typing.Any) -> bool:...
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
class AsyncLocal_GenericClasses(abc.ABCMeta):
|
86
|
+
Generic_AsyncLocal_GenericClasses_AsyncLocal_1_T = typing.TypeVar('Generic_AsyncLocal_GenericClasses_AsyncLocal_1_T')
|
87
|
+
def __getitem__(self, types : typing.Type[Generic_AsyncLocal_GenericClasses_AsyncLocal_1_T]) -> typing.Type[AsyncLocal_1[Generic_AsyncLocal_GenericClasses_AsyncLocal_1_T]]: ...
|
88
|
+
|
89
|
+
AsyncLocal : AsyncLocal_GenericClasses
|
90
|
+
|
91
|
+
AsyncLocal_1_T = typing.TypeVar('AsyncLocal_1_T')
|
92
|
+
class AsyncLocal_1(typing.Generic[AsyncLocal_1_T]):
|
93
|
+
@typing.overload
|
94
|
+
def __init__(self) -> None: ...
|
95
|
+
@typing.overload
|
96
|
+
def __init__(self, valueChangedHandler: Action_1[AsyncLocalValueChangedArgs_1[AsyncLocal_1_T]]) -> None: ...
|
97
|
+
@property
|
98
|
+
def Value(self) -> AsyncLocal_1_T: ...
|
99
|
+
@Value.setter
|
100
|
+
def Value(self, value: AsyncLocal_1_T) -> AsyncLocal_1_T: ...
|
101
|
+
|
102
|
+
|
103
|
+
class AsyncLocalValueChangedArgs_GenericClasses(abc.ABCMeta):
|
104
|
+
Generic_AsyncLocalValueChangedArgs_GenericClasses_AsyncLocalValueChangedArgs_1_T = typing.TypeVar('Generic_AsyncLocalValueChangedArgs_GenericClasses_AsyncLocalValueChangedArgs_1_T')
|
105
|
+
def __getitem__(self, types : typing.Type[Generic_AsyncLocalValueChangedArgs_GenericClasses_AsyncLocalValueChangedArgs_1_T]) -> typing.Type[AsyncLocalValueChangedArgs_1[Generic_AsyncLocalValueChangedArgs_GenericClasses_AsyncLocalValueChangedArgs_1_T]]: ...
|
106
|
+
|
107
|
+
AsyncLocalValueChangedArgs : AsyncLocalValueChangedArgs_GenericClasses
|
108
|
+
|
109
|
+
AsyncLocalValueChangedArgs_1_T = typing.TypeVar('AsyncLocalValueChangedArgs_1_T')
|
110
|
+
class AsyncLocalValueChangedArgs_1(typing.Generic[AsyncLocalValueChangedArgs_1_T]):
|
111
|
+
@property
|
112
|
+
def CurrentValue(self) -> AsyncLocalValueChangedArgs_1_T: ...
|
113
|
+
@property
|
114
|
+
def PreviousValue(self) -> AsyncLocalValueChangedArgs_1_T: ...
|
115
|
+
@property
|
116
|
+
def ThreadContextChanged(self) -> bool: ...
|
117
|
+
|
118
|
+
|
119
|
+
class AutoResetEvent(EventWaitHandle):
|
120
|
+
def __init__(self, initialState: bool) -> None: ...
|
121
|
+
@property
|
122
|
+
def Handle(self) -> int: ...
|
123
|
+
@Handle.setter
|
124
|
+
def Handle(self, value: int) -> int: ...
|
125
|
+
@property
|
126
|
+
def SafeWaitHandle(self) -> SafeWaitHandle: ...
|
127
|
+
@SafeWaitHandle.setter
|
128
|
+
def SafeWaitHandle(self, value: SafeWaitHandle) -> SafeWaitHandle: ...
|
129
|
+
|
130
|
+
|
131
|
+
class CancellationToken(IEquatable_1[CancellationToken]):
|
132
|
+
def __init__(self, canceled: bool) -> None: ...
|
133
|
+
@property
|
134
|
+
def CanBeCanceled(self) -> bool: ...
|
135
|
+
@property
|
136
|
+
def IsCancellationRequested(self) -> bool: ...
|
137
|
+
# Skipped property None since it is a reserved python word. Use reflection to access.
|
138
|
+
@property
|
139
|
+
def WaitHandle(self) -> WaitHandle: ...
|
140
|
+
def GetHashCode(self) -> int: ...
|
141
|
+
def __eq__(self, left: CancellationToken, right: CancellationToken) -> bool: ...
|
142
|
+
def __ne__(self, left: CancellationToken, right: CancellationToken) -> bool: ...
|
143
|
+
def ThrowIfCancellationRequested(self) -> None: ...
|
144
|
+
# Skipped Equals due to it being static, abstract and generic.
|
145
|
+
|
146
|
+
Equals : Equals_MethodGroup
|
147
|
+
class Equals_MethodGroup:
|
148
|
+
@typing.overload
|
149
|
+
def __call__(self, other: CancellationToken) -> bool:...
|
150
|
+
@typing.overload
|
151
|
+
def __call__(self, other: typing.Any) -> bool:...
|
152
|
+
|
153
|
+
# Skipped Register due to it being static, abstract and generic.
|
154
|
+
|
155
|
+
Register : Register_MethodGroup
|
156
|
+
class Register_MethodGroup:
|
157
|
+
@typing.overload
|
158
|
+
def __call__(self, callback: Action) -> CancellationTokenRegistration:...
|
159
|
+
@typing.overload
|
160
|
+
def __call__(self, callback: Action_2[typing.Any, CancellationToken], state: typing.Any) -> CancellationTokenRegistration:...
|
161
|
+
@typing.overload
|
162
|
+
def __call__(self, callback: Action_1[typing.Any], state: typing.Any) -> CancellationTokenRegistration:...
|
163
|
+
@typing.overload
|
164
|
+
def __call__(self, callback: Action, useSynchronizationContext: bool) -> CancellationTokenRegistration:...
|
165
|
+
@typing.overload
|
166
|
+
def __call__(self, callback: Action_1[typing.Any], state: typing.Any, useSynchronizationContext: bool) -> CancellationTokenRegistration:...
|
167
|
+
|
168
|
+
# Skipped UnsafeRegister due to it being static, abstract and generic.
|
169
|
+
|
170
|
+
UnsafeRegister : UnsafeRegister_MethodGroup
|
171
|
+
class UnsafeRegister_MethodGroup:
|
172
|
+
@typing.overload
|
173
|
+
def __call__(self, callback: Action_2[typing.Any, CancellationToken], state: typing.Any) -> CancellationTokenRegistration:...
|
174
|
+
@typing.overload
|
175
|
+
def __call__(self, callback: Action_1[typing.Any], state: typing.Any) -> CancellationTokenRegistration:...
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
class CancellationTokenRegistration(IAsyncDisposable, IDisposable, IEquatable_1[CancellationTokenRegistration]):
|
180
|
+
@property
|
181
|
+
def Token(self) -> CancellationToken: ...
|
182
|
+
def Dispose(self) -> None: ...
|
183
|
+
def DisposeAsync(self) -> ValueTask: ...
|
184
|
+
def GetHashCode(self) -> int: ...
|
185
|
+
def __eq__(self, left: CancellationTokenRegistration, right: CancellationTokenRegistration) -> bool: ...
|
186
|
+
def __ne__(self, left: CancellationTokenRegistration, right: CancellationTokenRegistration) -> bool: ...
|
187
|
+
def Unregister(self) -> bool: ...
|
188
|
+
# Skipped Equals due to it being static, abstract and generic.
|
189
|
+
|
190
|
+
Equals : Equals_MethodGroup
|
191
|
+
class Equals_MethodGroup:
|
192
|
+
@typing.overload
|
193
|
+
def __call__(self, other: CancellationTokenRegistration) -> bool:...
|
194
|
+
@typing.overload
|
195
|
+
def __call__(self, obj: typing.Any) -> bool:...
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
class CancellationTokenSource(IDisposable):
|
200
|
+
@typing.overload
|
201
|
+
def __init__(self) -> None: ...
|
202
|
+
@typing.overload
|
203
|
+
def __init__(self, delay: TimeSpan) -> None: ...
|
204
|
+
@typing.overload
|
205
|
+
def __init__(self, delay: TimeSpan, timeProvider: TimeProvider) -> None: ...
|
206
|
+
@typing.overload
|
207
|
+
def __init__(self, millisecondsDelay: int) -> None: ...
|
208
|
+
@property
|
209
|
+
def IsCancellationRequested(self) -> bool: ...
|
210
|
+
@property
|
211
|
+
def Token(self) -> CancellationToken: ...
|
212
|
+
def CancelAsync(self) -> Task: ...
|
213
|
+
def Dispose(self) -> None: ...
|
214
|
+
def TryReset(self) -> bool: ...
|
215
|
+
# Skipped Cancel due to it being static, abstract and generic.
|
216
|
+
|
217
|
+
Cancel : Cancel_MethodGroup
|
218
|
+
class Cancel_MethodGroup:
|
219
|
+
@typing.overload
|
220
|
+
def __call__(self) -> None:...
|
221
|
+
@typing.overload
|
222
|
+
def __call__(self, throwOnFirstException: bool) -> None:...
|
223
|
+
|
224
|
+
# Skipped CancelAfter due to it being static, abstract and generic.
|
225
|
+
|
226
|
+
CancelAfter : CancelAfter_MethodGroup
|
227
|
+
class CancelAfter_MethodGroup:
|
228
|
+
@typing.overload
|
229
|
+
def __call__(self, millisecondsDelay: int) -> None:...
|
230
|
+
@typing.overload
|
231
|
+
def __call__(self, delay: TimeSpan) -> None:...
|
232
|
+
|
233
|
+
# Skipped CreateLinkedTokenSource due to it being static, abstract and generic.
|
234
|
+
|
235
|
+
CreateLinkedTokenSource : CreateLinkedTokenSource_MethodGroup
|
236
|
+
class CreateLinkedTokenSource_MethodGroup:
|
237
|
+
@typing.overload
|
238
|
+
def __call__(self, tokens: Array_1[CancellationToken]) -> CancellationTokenSource:...
|
239
|
+
@typing.overload
|
240
|
+
def __call__(self, token: CancellationToken) -> CancellationTokenSource:...
|
241
|
+
@typing.overload
|
242
|
+
def __call__(self, token1: CancellationToken, token2: CancellationToken) -> CancellationTokenSource:...
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
class CompressedStack(ISerializable):
|
247
|
+
@staticmethod
|
248
|
+
def Capture() -> CompressedStack: ...
|
249
|
+
def CreateCopy(self) -> CompressedStack: ...
|
250
|
+
@staticmethod
|
251
|
+
def GetCompressedStack() -> CompressedStack: ...
|
252
|
+
def GetObjectData(self, info: SerializationInfo, context: StreamingContext) -> None: ...
|
253
|
+
@staticmethod
|
254
|
+
def Run(compressedStack: CompressedStack, callback: ContextCallback, state: typing.Any) -> None: ...
|
255
|
+
|
256
|
+
|
257
|
+
class ContextCallback(MulticastDelegate):
|
258
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
259
|
+
@property
|
260
|
+
def Method(self) -> MethodInfo: ...
|
261
|
+
@property
|
262
|
+
def Target(self) -> typing.Any: ...
|
263
|
+
def BeginInvoke(self, state: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
264
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
265
|
+
def Invoke(self, state: typing.Any) -> None: ...
|
266
|
+
|
267
|
+
|
268
|
+
class EventResetMode(typing.SupportsInt):
|
269
|
+
@typing.overload
|
270
|
+
def __init__(self, value : int) -> None: ...
|
271
|
+
@typing.overload
|
272
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
273
|
+
def __int__(self) -> int: ...
|
274
|
+
|
275
|
+
# Values:
|
276
|
+
AutoReset : EventResetMode # 0
|
277
|
+
ManualReset : EventResetMode # 1
|
278
|
+
|
279
|
+
|
280
|
+
class EventWaitHandle(WaitHandle):
|
281
|
+
@typing.overload
|
282
|
+
def __init__(self, initialState: bool, mode: EventResetMode) -> None: ...
|
283
|
+
@typing.overload
|
284
|
+
def __init__(self, initialState: bool, mode: EventResetMode, name: str) -> None: ...
|
285
|
+
@typing.overload
|
286
|
+
def __init__(self, initialState: bool, mode: EventResetMode, name: str, createdNew: clr.Reference[bool]) -> None: ...
|
287
|
+
@property
|
288
|
+
def Handle(self) -> int: ...
|
289
|
+
@Handle.setter
|
290
|
+
def Handle(self, value: int) -> int: ...
|
291
|
+
@property
|
292
|
+
def SafeWaitHandle(self) -> SafeWaitHandle: ...
|
293
|
+
@SafeWaitHandle.setter
|
294
|
+
def SafeWaitHandle(self, value: SafeWaitHandle) -> SafeWaitHandle: ...
|
295
|
+
@staticmethod
|
296
|
+
def OpenExisting(name: str) -> EventWaitHandle: ...
|
297
|
+
def Reset(self) -> bool: ...
|
298
|
+
def Set(self) -> bool: ...
|
299
|
+
@staticmethod
|
300
|
+
def TryOpenExisting(name: str, result: clr.Reference[EventWaitHandle]) -> bool: ...
|
301
|
+
|
302
|
+
|
303
|
+
class ExecutionContext(ISerializable, IDisposable):
|
304
|
+
@staticmethod
|
305
|
+
def Capture() -> ExecutionContext: ...
|
306
|
+
def CreateCopy(self) -> ExecutionContext: ...
|
307
|
+
def Dispose(self) -> None: ...
|
308
|
+
def GetObjectData(self, info: SerializationInfo, context: StreamingContext) -> None: ...
|
309
|
+
@staticmethod
|
310
|
+
def IsFlowSuppressed() -> bool: ...
|
311
|
+
@staticmethod
|
312
|
+
def Restore(executionContext: ExecutionContext) -> None: ...
|
313
|
+
@staticmethod
|
314
|
+
def RestoreFlow() -> None: ...
|
315
|
+
@staticmethod
|
316
|
+
def Run(executionContext: ExecutionContext, callback: ContextCallback, state: typing.Any) -> None: ...
|
317
|
+
@staticmethod
|
318
|
+
def SuppressFlow() -> AsyncFlowControl: ...
|
319
|
+
|
320
|
+
|
321
|
+
class Interlocked(abc.ABC):
|
322
|
+
@staticmethod
|
323
|
+
def MemoryBarrier() -> None: ...
|
324
|
+
@staticmethod
|
325
|
+
def MemoryBarrierProcessWide() -> None: ...
|
326
|
+
# Skipped Add due to it being static, abstract and generic.
|
327
|
+
|
328
|
+
Add : Add_MethodGroup
|
329
|
+
class Add_MethodGroup:
|
330
|
+
def __call__(self, location1: clr.Reference[int], value: int) -> int:...
|
331
|
+
# Method Add(location1 : Int64&, value : Int64) was skipped since it collides with above method
|
332
|
+
# Method Add(location1 : UInt32&, value : UInt32) was skipped since it collides with above method
|
333
|
+
# Method Add(location1 : UInt64&, value : UInt64) was skipped since it collides with above method
|
334
|
+
|
335
|
+
# Skipped And due to it being static, abstract and generic.
|
336
|
+
|
337
|
+
And : And_MethodGroup
|
338
|
+
class And_MethodGroup:
|
339
|
+
def __call__(self, location1: clr.Reference[int], value: int) -> int:...
|
340
|
+
# Method And(location1 : UInt32&, value : UInt32) was skipped since it collides with above method
|
341
|
+
# Method And(location1 : Int64&, value : Int64) was skipped since it collides with above method
|
342
|
+
# Method And(location1 : UInt64&, value : UInt64) was skipped since it collides with above method
|
343
|
+
|
344
|
+
# Skipped CompareExchange due to it being static, abstract and generic.
|
345
|
+
|
346
|
+
CompareExchange : CompareExchange_MethodGroup
|
347
|
+
class CompareExchange_MethodGroup:
|
348
|
+
def __getitem__(self, t:typing.Type[CompareExchange_1_T1]) -> CompareExchange_1[CompareExchange_1_T1]: ...
|
349
|
+
|
350
|
+
CompareExchange_1_T1 = typing.TypeVar('CompareExchange_1_T1')
|
351
|
+
class CompareExchange_1(typing.Generic[CompareExchange_1_T1]):
|
352
|
+
CompareExchange_1_T = Interlocked.CompareExchange_MethodGroup.CompareExchange_1_T1
|
353
|
+
def __call__(self, location1: clr.Reference[CompareExchange_1_T], value: CompareExchange_1_T, comparand: CompareExchange_1_T) -> CompareExchange_1_T:...
|
354
|
+
|
355
|
+
@typing.overload
|
356
|
+
def __call__(self, location1: clr.Reference[float], value: float, comparand: float) -> float:...
|
357
|
+
# Method CompareExchange(location1 : Double&, value : Double, comparand : Double) was skipped since it collides with above method
|
358
|
+
# Method CompareExchange(location1 : Int32&, value : Int32, comparand : Int32) was skipped since it collides with above method
|
359
|
+
# Method CompareExchange(location1 : Int64&, value : Int64, comparand : Int64) was skipped since it collides with above method
|
360
|
+
# Method CompareExchange(location1 : UInt32&, value : UInt32, comparand : UInt32) was skipped since it collides with above method
|
361
|
+
# Method CompareExchange(location1 : UInt64&, value : UInt64, comparand : UInt64) was skipped since it collides with above method
|
362
|
+
# Method CompareExchange(location1 : IntPtr&, value : IntPtr, comparand : IntPtr) was skipped since it collides with above method
|
363
|
+
@typing.overload
|
364
|
+
def __call__(self, location1: clr.Reference[UIntPtr], value: UIntPtr, comparand: UIntPtr) -> UIntPtr:...
|
365
|
+
@typing.overload
|
366
|
+
def __call__(self, location1: clr.Reference[typing.Any], value: typing.Any, comparand: typing.Any) -> typing.Any:...
|
367
|
+
|
368
|
+
# Skipped Decrement due to it being static, abstract and generic.
|
369
|
+
|
370
|
+
Decrement : Decrement_MethodGroup
|
371
|
+
class Decrement_MethodGroup:
|
372
|
+
def __call__(self, location: clr.Reference[int]) -> int:...
|
373
|
+
# Method Decrement(location : Int64&) was skipped since it collides with above method
|
374
|
+
# Method Decrement(location : UInt32&) was skipped since it collides with above method
|
375
|
+
# Method Decrement(location : UInt64&) was skipped since it collides with above method
|
376
|
+
|
377
|
+
# Skipped Exchange due to it being static, abstract and generic.
|
378
|
+
|
379
|
+
Exchange : Exchange_MethodGroup
|
380
|
+
class Exchange_MethodGroup:
|
381
|
+
def __getitem__(self, t:typing.Type[Exchange_1_T1]) -> Exchange_1[Exchange_1_T1]: ...
|
382
|
+
|
383
|
+
Exchange_1_T1 = typing.TypeVar('Exchange_1_T1')
|
384
|
+
class Exchange_1(typing.Generic[Exchange_1_T1]):
|
385
|
+
Exchange_1_T = Interlocked.Exchange_MethodGroup.Exchange_1_T1
|
386
|
+
def __call__(self, location1: clr.Reference[Exchange_1_T], value: Exchange_1_T) -> Exchange_1_T:...
|
387
|
+
|
388
|
+
@typing.overload
|
389
|
+
def __call__(self, location1: clr.Reference[float], value: float) -> float:...
|
390
|
+
# Method Exchange(location1 : Double&, value : Double) was skipped since it collides with above method
|
391
|
+
# Method Exchange(location1 : Int32&, value : Int32) was skipped since it collides with above method
|
392
|
+
# Method Exchange(location1 : Int64&, value : Int64) was skipped since it collides with above method
|
393
|
+
# Method Exchange(location1 : UInt32&, value : UInt32) was skipped since it collides with above method
|
394
|
+
# Method Exchange(location1 : UInt64&, value : UInt64) was skipped since it collides with above method
|
395
|
+
# Method Exchange(location1 : IntPtr&, value : IntPtr) was skipped since it collides with above method
|
396
|
+
@typing.overload
|
397
|
+
def __call__(self, location1: clr.Reference[UIntPtr], value: UIntPtr) -> UIntPtr:...
|
398
|
+
@typing.overload
|
399
|
+
def __call__(self, location1: clr.Reference[typing.Any], value: typing.Any) -> typing.Any:...
|
400
|
+
|
401
|
+
# Skipped Increment due to it being static, abstract and generic.
|
402
|
+
|
403
|
+
Increment : Increment_MethodGroup
|
404
|
+
class Increment_MethodGroup:
|
405
|
+
def __call__(self, location: clr.Reference[int]) -> int:...
|
406
|
+
# Method Increment(location : Int64&) was skipped since it collides with above method
|
407
|
+
# Method Increment(location : UInt32&) was skipped since it collides with above method
|
408
|
+
# Method Increment(location : UInt64&) was skipped since it collides with above method
|
409
|
+
|
410
|
+
# Skipped Or due to it being static, abstract and generic.
|
411
|
+
|
412
|
+
Or : Or_MethodGroup
|
413
|
+
class Or_MethodGroup:
|
414
|
+
def __call__(self, location1: clr.Reference[int], value: int) -> int:...
|
415
|
+
# Method Or(location1 : UInt32&, value : UInt32) was skipped since it collides with above method
|
416
|
+
# Method Or(location1 : Int64&, value : Int64) was skipped since it collides with above method
|
417
|
+
# Method Or(location1 : UInt64&, value : UInt64) was skipped since it collides with above method
|
418
|
+
|
419
|
+
# Skipped Read due to it being static, abstract and generic.
|
420
|
+
|
421
|
+
Read : Read_MethodGroup
|
422
|
+
class Read_MethodGroup:
|
423
|
+
def __call__(self, location: clr.Reference[int]) -> int:...
|
424
|
+
# Method Read(location : UInt64&) was skipped since it collides with above method
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
class IOCompletionCallback(MulticastDelegate):
|
429
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
430
|
+
@property
|
431
|
+
def Method(self) -> MethodInfo: ...
|
432
|
+
@property
|
433
|
+
def Target(self) -> typing.Any: ...
|
434
|
+
def BeginInvoke(self, errorCode: int, numBytes: int, pOVERLAP: clr.Reference[NativeOverlapped], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
435
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
436
|
+
def Invoke(self, errorCode: int, numBytes: int, pOVERLAP: clr.Reference[NativeOverlapped]) -> None: ...
|
437
|
+
|
438
|
+
|
439
|
+
class IThreadPoolWorkItem(typing.Protocol):
|
440
|
+
@abc.abstractmethod
|
441
|
+
def Execute(self) -> None: ...
|
442
|
+
|
443
|
+
|
444
|
+
class ITimer(IAsyncDisposable, IDisposable, typing.Protocol):
|
445
|
+
@abc.abstractmethod
|
446
|
+
def Change(self, dueTime: TimeSpan, period: TimeSpan) -> bool: ...
|
447
|
+
|
448
|
+
|
449
|
+
class LazyInitializer(abc.ABC):
|
450
|
+
# Skipped EnsureInitialized due to it being static, abstract and generic.
|
451
|
+
|
452
|
+
EnsureInitialized : EnsureInitialized_MethodGroup
|
453
|
+
class EnsureInitialized_MethodGroup:
|
454
|
+
def __getitem__(self, t:typing.Type[EnsureInitialized_1_T1]) -> EnsureInitialized_1[EnsureInitialized_1_T1]: ...
|
455
|
+
|
456
|
+
EnsureInitialized_1_T1 = typing.TypeVar('EnsureInitialized_1_T1')
|
457
|
+
class EnsureInitialized_1(typing.Generic[EnsureInitialized_1_T1]):
|
458
|
+
EnsureInitialized_1_T = LazyInitializer.EnsureInitialized_MethodGroup.EnsureInitialized_1_T1
|
459
|
+
@typing.overload
|
460
|
+
def __call__(self, target: clr.Reference[EnsureInitialized_1_T]) -> EnsureInitialized_1_T:...
|
461
|
+
@typing.overload
|
462
|
+
def __call__(self, target: clr.Reference[EnsureInitialized_1_T], valueFactory: Func_1[EnsureInitialized_1_T]) -> EnsureInitialized_1_T:...
|
463
|
+
@typing.overload
|
464
|
+
def __call__(self, target: clr.Reference[EnsureInitialized_1_T], initialized: clr.Reference[bool], syncLock: clr.Reference[typing.Any]) -> EnsureInitialized_1_T:...
|
465
|
+
@typing.overload
|
466
|
+
def __call__(self, target: clr.Reference[EnsureInitialized_1_T], syncLock: clr.Reference[typing.Any], valueFactory: Func_1[EnsureInitialized_1_T]) -> EnsureInitialized_1_T:...
|
467
|
+
@typing.overload
|
468
|
+
def __call__(self, target: clr.Reference[EnsureInitialized_1_T], initialized: clr.Reference[bool], syncLock: clr.Reference[typing.Any], valueFactory: Func_1[EnsureInitialized_1_T]) -> EnsureInitialized_1_T:...
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
class LazyThreadSafetyMode(typing.SupportsInt):
|
474
|
+
@typing.overload
|
475
|
+
def __init__(self, value : int) -> None: ...
|
476
|
+
@typing.overload
|
477
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
478
|
+
def __int__(self) -> int: ...
|
479
|
+
|
480
|
+
# Values:
|
481
|
+
None_ : LazyThreadSafetyMode # 0
|
482
|
+
PublicationOnly : LazyThreadSafetyMode # 1
|
483
|
+
ExecutionAndPublication : LazyThreadSafetyMode # 2
|
484
|
+
|
485
|
+
|
486
|
+
class LockRecursionException(Exception):
|
487
|
+
@typing.overload
|
488
|
+
def __init__(self) -> None: ...
|
489
|
+
@typing.overload
|
490
|
+
def __init__(self, message: str) -> None: ...
|
491
|
+
@typing.overload
|
492
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
493
|
+
@property
|
494
|
+
def Data(self) -> IDictionary: ...
|
495
|
+
@property
|
496
|
+
def HelpLink(self) -> str: ...
|
497
|
+
@HelpLink.setter
|
498
|
+
def HelpLink(self, value: str) -> str: ...
|
499
|
+
@property
|
500
|
+
def HResult(self) -> int: ...
|
501
|
+
@HResult.setter
|
502
|
+
def HResult(self, value: int) -> int: ...
|
503
|
+
@property
|
504
|
+
def InnerException(self) -> Exception: ...
|
505
|
+
@property
|
506
|
+
def Message(self) -> str: ...
|
507
|
+
@property
|
508
|
+
def Source(self) -> str: ...
|
509
|
+
@Source.setter
|
510
|
+
def Source(self, value: str) -> str: ...
|
511
|
+
@property
|
512
|
+
def StackTrace(self) -> str: ...
|
513
|
+
@property
|
514
|
+
def TargetSite(self) -> MethodBase: ...
|
515
|
+
|
516
|
+
|
517
|
+
class LockRecursionPolicy(typing.SupportsInt):
|
518
|
+
@typing.overload
|
519
|
+
def __init__(self, value : int) -> None: ...
|
520
|
+
@typing.overload
|
521
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
522
|
+
def __int__(self) -> int: ...
|
523
|
+
|
524
|
+
# Values:
|
525
|
+
NoRecursion : LockRecursionPolicy # 0
|
526
|
+
SupportsRecursion : LockRecursionPolicy # 1
|
527
|
+
|
528
|
+
|
529
|
+
class ManualResetEvent(EventWaitHandle):
|
530
|
+
def __init__(self, initialState: bool) -> None: ...
|
531
|
+
@property
|
532
|
+
def Handle(self) -> int: ...
|
533
|
+
@Handle.setter
|
534
|
+
def Handle(self, value: int) -> int: ...
|
535
|
+
@property
|
536
|
+
def SafeWaitHandle(self) -> SafeWaitHandle: ...
|
537
|
+
@SafeWaitHandle.setter
|
538
|
+
def SafeWaitHandle(self, value: SafeWaitHandle) -> SafeWaitHandle: ...
|
539
|
+
|
540
|
+
|
541
|
+
class ManualResetEventSlim(IDisposable):
|
542
|
+
@typing.overload
|
543
|
+
def __init__(self) -> None: ...
|
544
|
+
@typing.overload
|
545
|
+
def __init__(self, initialState: bool) -> None: ...
|
546
|
+
@typing.overload
|
547
|
+
def __init__(self, initialState: bool, spinCount: int) -> None: ...
|
548
|
+
@property
|
549
|
+
def IsSet(self) -> bool: ...
|
550
|
+
@IsSet.setter
|
551
|
+
def IsSet(self, value: bool) -> bool: ...
|
552
|
+
@property
|
553
|
+
def SpinCount(self) -> int: ...
|
554
|
+
@SpinCount.setter
|
555
|
+
def SpinCount(self, value: int) -> int: ...
|
556
|
+
@property
|
557
|
+
def WaitHandle(self) -> WaitHandle: ...
|
558
|
+
def Dispose(self) -> None: ...
|
559
|
+
def Reset(self) -> None: ...
|
560
|
+
def Set(self) -> None: ...
|
561
|
+
# Skipped Wait due to it being static, abstract and generic.
|
562
|
+
|
563
|
+
Wait : Wait_MethodGroup
|
564
|
+
class Wait_MethodGroup:
|
565
|
+
@typing.overload
|
566
|
+
def __call__(self) -> None:...
|
567
|
+
@typing.overload
|
568
|
+
def __call__(self, millisecondsTimeout: int) -> bool:...
|
569
|
+
@typing.overload
|
570
|
+
def __call__(self, cancellationToken: CancellationToken) -> None:...
|
571
|
+
@typing.overload
|
572
|
+
def __call__(self, timeout: TimeSpan) -> bool:...
|
573
|
+
@typing.overload
|
574
|
+
def __call__(self, millisecondsTimeout: int, cancellationToken: CancellationToken) -> bool:...
|
575
|
+
@typing.overload
|
576
|
+
def __call__(self, timeout: TimeSpan, cancellationToken: CancellationToken) -> bool:...
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
class Monitor(abc.ABC):
|
581
|
+
@classmethod
|
582
|
+
@property
|
583
|
+
def LockContentionCount(cls) -> int: ...
|
584
|
+
@staticmethod
|
585
|
+
def Exit(obj: typing.Any) -> None: ...
|
586
|
+
@staticmethod
|
587
|
+
def IsEntered(obj: typing.Any) -> bool: ...
|
588
|
+
@staticmethod
|
589
|
+
def Pulse(obj: typing.Any) -> None: ...
|
590
|
+
@staticmethod
|
591
|
+
def PulseAll(obj: typing.Any) -> None: ...
|
592
|
+
# Skipped Enter due to it being static, abstract and generic.
|
593
|
+
|
594
|
+
Enter : Enter_MethodGroup
|
595
|
+
class Enter_MethodGroup:
|
596
|
+
@typing.overload
|
597
|
+
def __call__(self, obj: typing.Any) -> None:...
|
598
|
+
@typing.overload
|
599
|
+
def __call__(self, obj: typing.Any, lockTaken: clr.Reference[bool]) -> None:...
|
600
|
+
|
601
|
+
# Skipped TryEnter due to it being static, abstract and generic.
|
602
|
+
|
603
|
+
TryEnter : TryEnter_MethodGroup
|
604
|
+
class TryEnter_MethodGroup:
|
605
|
+
@typing.overload
|
606
|
+
def __call__(self, obj: typing.Any) -> bool:...
|
607
|
+
@typing.overload
|
608
|
+
def __call__(self, obj: typing.Any, millisecondsTimeout: int) -> bool:...
|
609
|
+
@typing.overload
|
610
|
+
def __call__(self, obj: typing.Any, timeout: TimeSpan) -> bool:...
|
611
|
+
@typing.overload
|
612
|
+
def __call__(self, obj: typing.Any, lockTaken: clr.Reference[bool]) -> None:...
|
613
|
+
@typing.overload
|
614
|
+
def __call__(self, obj: typing.Any, millisecondsTimeout: int, lockTaken: clr.Reference[bool]) -> None:...
|
615
|
+
@typing.overload
|
616
|
+
def __call__(self, obj: typing.Any, timeout: TimeSpan, lockTaken: clr.Reference[bool]) -> None:...
|
617
|
+
|
618
|
+
# Skipped Wait due to it being static, abstract and generic.
|
619
|
+
|
620
|
+
Wait : Wait_MethodGroup
|
621
|
+
class Wait_MethodGroup:
|
622
|
+
@typing.overload
|
623
|
+
def __call__(self, obj: typing.Any) -> bool:...
|
624
|
+
@typing.overload
|
625
|
+
def __call__(self, obj: typing.Any, millisecondsTimeout: int) -> bool:...
|
626
|
+
@typing.overload
|
627
|
+
def __call__(self, obj: typing.Any, timeout: TimeSpan) -> bool:...
|
628
|
+
@typing.overload
|
629
|
+
def __call__(self, obj: typing.Any, millisecondsTimeout: int, exitContext: bool) -> bool:...
|
630
|
+
@typing.overload
|
631
|
+
def __call__(self, obj: typing.Any, timeout: TimeSpan, exitContext: bool) -> bool:...
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
class Mutex(WaitHandle):
|
636
|
+
@typing.overload
|
637
|
+
def __init__(self) -> None: ...
|
638
|
+
@typing.overload
|
639
|
+
def __init__(self, initiallyOwned: bool) -> None: ...
|
640
|
+
@typing.overload
|
641
|
+
def __init__(self, initiallyOwned: bool, name: str) -> None: ...
|
642
|
+
@typing.overload
|
643
|
+
def __init__(self, initiallyOwned: bool, name: str, createdNew: clr.Reference[bool]) -> None: ...
|
644
|
+
@property
|
645
|
+
def Handle(self) -> int: ...
|
646
|
+
@Handle.setter
|
647
|
+
def Handle(self, value: int) -> int: ...
|
648
|
+
@property
|
649
|
+
def SafeWaitHandle(self) -> SafeWaitHandle: ...
|
650
|
+
@SafeWaitHandle.setter
|
651
|
+
def SafeWaitHandle(self, value: SafeWaitHandle) -> SafeWaitHandle: ...
|
652
|
+
@staticmethod
|
653
|
+
def OpenExisting(name: str) -> Mutex: ...
|
654
|
+
def ReleaseMutex(self) -> None: ...
|
655
|
+
@staticmethod
|
656
|
+
def TryOpenExisting(name: str, result: clr.Reference[Mutex]) -> bool: ...
|
657
|
+
|
658
|
+
|
659
|
+
class NativeOverlapped:
|
660
|
+
EventHandle : int
|
661
|
+
InternalHigh : int
|
662
|
+
InternalLow : int
|
663
|
+
OffsetHigh : int
|
664
|
+
OffsetLow : int
|
665
|
+
|
666
|
+
|
667
|
+
class Overlapped:
|
668
|
+
# Constructor .ctor(offsetLo : Int32, offsetHi : Int32, hEvent : Int32, ar : IAsyncResult) was skipped since it collides with above method
|
669
|
+
@typing.overload
|
670
|
+
def __init__(self) -> None: ...
|
671
|
+
@typing.overload
|
672
|
+
def __init__(self, offsetLo: int, offsetHi: int, hEvent: int, ar: IAsyncResult) -> None: ...
|
673
|
+
@property
|
674
|
+
def AsyncResult(self) -> IAsyncResult: ...
|
675
|
+
@AsyncResult.setter
|
676
|
+
def AsyncResult(self, value: IAsyncResult) -> IAsyncResult: ...
|
677
|
+
@property
|
678
|
+
def EventHandle(self) -> int: ...
|
679
|
+
@EventHandle.setter
|
680
|
+
def EventHandle(self, value: int) -> int: ...
|
681
|
+
@property
|
682
|
+
def EventHandleIntPtr(self) -> int: ...
|
683
|
+
@EventHandleIntPtr.setter
|
684
|
+
def EventHandleIntPtr(self, value: int) -> int: ...
|
685
|
+
@property
|
686
|
+
def OffsetHigh(self) -> int: ...
|
687
|
+
@OffsetHigh.setter
|
688
|
+
def OffsetHigh(self, value: int) -> int: ...
|
689
|
+
@property
|
690
|
+
def OffsetLow(self) -> int: ...
|
691
|
+
@OffsetLow.setter
|
692
|
+
def OffsetLow(self, value: int) -> int: ...
|
693
|
+
@staticmethod
|
694
|
+
def Free(nativeOverlappedPtr: clr.Reference[NativeOverlapped]) -> None: ...
|
695
|
+
@staticmethod
|
696
|
+
def Unpack(nativeOverlappedPtr: clr.Reference[NativeOverlapped]) -> Overlapped: ...
|
697
|
+
# Skipped Pack due to it being static, abstract and generic.
|
698
|
+
|
699
|
+
Pack : Pack_MethodGroup
|
700
|
+
class Pack_MethodGroup:
|
701
|
+
@typing.overload
|
702
|
+
def __call__(self, iocb: IOCompletionCallback) -> clr.Reference[NativeOverlapped]:...
|
703
|
+
@typing.overload
|
704
|
+
def __call__(self, iocb: IOCompletionCallback, userData: typing.Any) -> clr.Reference[NativeOverlapped]:...
|
705
|
+
|
706
|
+
# Skipped UnsafePack due to it being static, abstract and generic.
|
707
|
+
|
708
|
+
UnsafePack : UnsafePack_MethodGroup
|
709
|
+
class UnsafePack_MethodGroup:
|
710
|
+
@typing.overload
|
711
|
+
def __call__(self, iocb: IOCompletionCallback) -> clr.Reference[NativeOverlapped]:...
|
712
|
+
@typing.overload
|
713
|
+
def __call__(self, iocb: IOCompletionCallback, userData: typing.Any) -> clr.Reference[NativeOverlapped]:...
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
class ParameterizedThreadStart(MulticastDelegate):
|
718
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
719
|
+
@property
|
720
|
+
def Method(self) -> MethodInfo: ...
|
721
|
+
@property
|
722
|
+
def Target(self) -> typing.Any: ...
|
723
|
+
def BeginInvoke(self, obj: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
724
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
725
|
+
def Invoke(self, obj: typing.Any) -> None: ...
|
726
|
+
|
727
|
+
|
728
|
+
class PeriodicTimer(IDisposable):
|
729
|
+
@typing.overload
|
730
|
+
def __init__(self, period: TimeSpan) -> None: ...
|
731
|
+
@typing.overload
|
732
|
+
def __init__(self, period: TimeSpan, timeProvider: TimeProvider) -> None: ...
|
733
|
+
@property
|
734
|
+
def Period(self) -> TimeSpan: ...
|
735
|
+
@Period.setter
|
736
|
+
def Period(self, value: TimeSpan) -> TimeSpan: ...
|
737
|
+
def Dispose(self) -> None: ...
|
738
|
+
def WaitForNextTickAsync(self, cancellationToken: CancellationToken = ...) -> ValueTask_1[bool]: ...
|
739
|
+
|
740
|
+
|
741
|
+
class PreAllocatedOverlapped(IDisposable):
|
742
|
+
def __init__(self, callback: IOCompletionCallback, state: typing.Any, pinData: typing.Any) -> None: ...
|
743
|
+
def Dispose(self) -> None: ...
|
744
|
+
@staticmethod
|
745
|
+
def UnsafeCreate(callback: IOCompletionCallback, state: typing.Any, pinData: typing.Any) -> PreAllocatedOverlapped: ...
|
746
|
+
|
747
|
+
|
748
|
+
class ReaderWriterLockSlim(IDisposable):
|
749
|
+
@typing.overload
|
750
|
+
def __init__(self) -> None: ...
|
751
|
+
@typing.overload
|
752
|
+
def __init__(self, recursionPolicy: LockRecursionPolicy) -> None: ...
|
753
|
+
@property
|
754
|
+
def CurrentReadCount(self) -> int: ...
|
755
|
+
@property
|
756
|
+
def IsReadLockHeld(self) -> bool: ...
|
757
|
+
@property
|
758
|
+
def IsUpgradeableReadLockHeld(self) -> bool: ...
|
759
|
+
@property
|
760
|
+
def IsWriteLockHeld(self) -> bool: ...
|
761
|
+
@property
|
762
|
+
def RecursionPolicy(self) -> LockRecursionPolicy: ...
|
763
|
+
@property
|
764
|
+
def RecursiveReadCount(self) -> int: ...
|
765
|
+
@property
|
766
|
+
def RecursiveUpgradeCount(self) -> int: ...
|
767
|
+
@property
|
768
|
+
def RecursiveWriteCount(self) -> int: ...
|
769
|
+
@property
|
770
|
+
def WaitingReadCount(self) -> int: ...
|
771
|
+
@property
|
772
|
+
def WaitingUpgradeCount(self) -> int: ...
|
773
|
+
@property
|
774
|
+
def WaitingWriteCount(self) -> int: ...
|
775
|
+
def Dispose(self) -> None: ...
|
776
|
+
def EnterReadLock(self) -> None: ...
|
777
|
+
def EnterUpgradeableReadLock(self) -> None: ...
|
778
|
+
def EnterWriteLock(self) -> None: ...
|
779
|
+
def ExitReadLock(self) -> None: ...
|
780
|
+
def ExitUpgradeableReadLock(self) -> None: ...
|
781
|
+
def ExitWriteLock(self) -> None: ...
|
782
|
+
# Skipped TryEnterReadLock due to it being static, abstract and generic.
|
783
|
+
|
784
|
+
TryEnterReadLock : TryEnterReadLock_MethodGroup
|
785
|
+
class TryEnterReadLock_MethodGroup:
|
786
|
+
@typing.overload
|
787
|
+
def __call__(self, millisecondsTimeout: int) -> bool:...
|
788
|
+
@typing.overload
|
789
|
+
def __call__(self, timeout: TimeSpan) -> bool:...
|
790
|
+
|
791
|
+
# Skipped TryEnterUpgradeableReadLock due to it being static, abstract and generic.
|
792
|
+
|
793
|
+
TryEnterUpgradeableReadLock : TryEnterUpgradeableReadLock_MethodGroup
|
794
|
+
class TryEnterUpgradeableReadLock_MethodGroup:
|
795
|
+
@typing.overload
|
796
|
+
def __call__(self, millisecondsTimeout: int) -> bool:...
|
797
|
+
@typing.overload
|
798
|
+
def __call__(self, timeout: TimeSpan) -> bool:...
|
799
|
+
|
800
|
+
# Skipped TryEnterWriteLock due to it being static, abstract and generic.
|
801
|
+
|
802
|
+
TryEnterWriteLock : TryEnterWriteLock_MethodGroup
|
803
|
+
class TryEnterWriteLock_MethodGroup:
|
804
|
+
@typing.overload
|
805
|
+
def __call__(self, millisecondsTimeout: int) -> bool:...
|
806
|
+
@typing.overload
|
807
|
+
def __call__(self, timeout: TimeSpan) -> bool:...
|
808
|
+
|
809
|
+
|
810
|
+
|
811
|
+
class RegisteredWaitHandle(MarshalByRefObject):
|
812
|
+
def Unregister(self, waitObject: WaitHandle) -> bool: ...
|
813
|
+
|
814
|
+
|
815
|
+
class Semaphore(WaitHandle):
|
816
|
+
@typing.overload
|
817
|
+
def __init__(self, initialCount: int, maximumCount: int) -> None: ...
|
818
|
+
@typing.overload
|
819
|
+
def __init__(self, initialCount: int, maximumCount: int, name: str) -> None: ...
|
820
|
+
@typing.overload
|
821
|
+
def __init__(self, initialCount: int, maximumCount: int, name: str, createdNew: clr.Reference[bool]) -> None: ...
|
822
|
+
@property
|
823
|
+
def Handle(self) -> int: ...
|
824
|
+
@Handle.setter
|
825
|
+
def Handle(self, value: int) -> int: ...
|
826
|
+
@property
|
827
|
+
def SafeWaitHandle(self) -> SafeWaitHandle: ...
|
828
|
+
@SafeWaitHandle.setter
|
829
|
+
def SafeWaitHandle(self, value: SafeWaitHandle) -> SafeWaitHandle: ...
|
830
|
+
@staticmethod
|
831
|
+
def OpenExisting(name: str) -> Semaphore: ...
|
832
|
+
@staticmethod
|
833
|
+
def TryOpenExisting(name: str, result: clr.Reference[Semaphore]) -> bool: ...
|
834
|
+
# Skipped Release due to it being static, abstract and generic.
|
835
|
+
|
836
|
+
Release : Release_MethodGroup
|
837
|
+
class Release_MethodGroup:
|
838
|
+
@typing.overload
|
839
|
+
def __call__(self) -> int:...
|
840
|
+
@typing.overload
|
841
|
+
def __call__(self, releaseCount: int) -> int:...
|
842
|
+
|
843
|
+
|
844
|
+
|
845
|
+
class SemaphoreFullException(SystemException):
|
846
|
+
@typing.overload
|
847
|
+
def __init__(self) -> None: ...
|
848
|
+
@typing.overload
|
849
|
+
def __init__(self, message: str) -> None: ...
|
850
|
+
@typing.overload
|
851
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
852
|
+
@property
|
853
|
+
def Data(self) -> IDictionary: ...
|
854
|
+
@property
|
855
|
+
def HelpLink(self) -> str: ...
|
856
|
+
@HelpLink.setter
|
857
|
+
def HelpLink(self, value: str) -> str: ...
|
858
|
+
@property
|
859
|
+
def HResult(self) -> int: ...
|
860
|
+
@HResult.setter
|
861
|
+
def HResult(self, value: int) -> int: ...
|
862
|
+
@property
|
863
|
+
def InnerException(self) -> Exception: ...
|
864
|
+
@property
|
865
|
+
def Message(self) -> str: ...
|
866
|
+
@property
|
867
|
+
def Source(self) -> str: ...
|
868
|
+
@Source.setter
|
869
|
+
def Source(self, value: str) -> str: ...
|
870
|
+
@property
|
871
|
+
def StackTrace(self) -> str: ...
|
872
|
+
@property
|
873
|
+
def TargetSite(self) -> MethodBase: ...
|
874
|
+
|
875
|
+
|
876
|
+
class SemaphoreSlim(IDisposable):
|
877
|
+
@typing.overload
|
878
|
+
def __init__(self, initialCount: int) -> None: ...
|
879
|
+
@typing.overload
|
880
|
+
def __init__(self, initialCount: int, maxCount: int) -> None: ...
|
881
|
+
@property
|
882
|
+
def AvailableWaitHandle(self) -> WaitHandle: ...
|
883
|
+
@property
|
884
|
+
def CurrentCount(self) -> int: ...
|
885
|
+
def Dispose(self) -> None: ...
|
886
|
+
# Skipped Release due to it being static, abstract and generic.
|
887
|
+
|
888
|
+
Release : Release_MethodGroup
|
889
|
+
class Release_MethodGroup:
|
890
|
+
@typing.overload
|
891
|
+
def __call__(self) -> int:...
|
892
|
+
@typing.overload
|
893
|
+
def __call__(self, releaseCount: int) -> int:...
|
894
|
+
|
895
|
+
# Skipped Wait due to it being static, abstract and generic.
|
896
|
+
|
897
|
+
Wait : Wait_MethodGroup
|
898
|
+
class Wait_MethodGroup:
|
899
|
+
@typing.overload
|
900
|
+
def __call__(self) -> None:...
|
901
|
+
@typing.overload
|
902
|
+
def __call__(self, millisecondsTimeout: int) -> bool:...
|
903
|
+
@typing.overload
|
904
|
+
def __call__(self, cancellationToken: CancellationToken) -> None:...
|
905
|
+
@typing.overload
|
906
|
+
def __call__(self, timeout: TimeSpan) -> bool:...
|
907
|
+
@typing.overload
|
908
|
+
def __call__(self, millisecondsTimeout: int, cancellationToken: CancellationToken) -> bool:...
|
909
|
+
@typing.overload
|
910
|
+
def __call__(self, timeout: TimeSpan, cancellationToken: CancellationToken) -> bool:...
|
911
|
+
|
912
|
+
# Skipped WaitAsync due to it being static, abstract and generic.
|
913
|
+
|
914
|
+
WaitAsync : WaitAsync_MethodGroup
|
915
|
+
class WaitAsync_MethodGroup:
|
916
|
+
@typing.overload
|
917
|
+
def __call__(self) -> Task:...
|
918
|
+
@typing.overload
|
919
|
+
def __call__(self, millisecondsTimeout: int) -> Task_1[bool]:...
|
920
|
+
@typing.overload
|
921
|
+
def __call__(self, cancellationToken: CancellationToken) -> Task:...
|
922
|
+
@typing.overload
|
923
|
+
def __call__(self, timeout: TimeSpan) -> Task_1[bool]:...
|
924
|
+
@typing.overload
|
925
|
+
def __call__(self, millisecondsTimeout: int, cancellationToken: CancellationToken) -> Task_1[bool]:...
|
926
|
+
@typing.overload
|
927
|
+
def __call__(self, timeout: TimeSpan, cancellationToken: CancellationToken) -> Task_1[bool]:...
|
928
|
+
|
929
|
+
|
930
|
+
|
931
|
+
class SendOrPostCallback(MulticastDelegate):
|
932
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
933
|
+
@property
|
934
|
+
def Method(self) -> MethodInfo: ...
|
935
|
+
@property
|
936
|
+
def Target(self) -> typing.Any: ...
|
937
|
+
def BeginInvoke(self, state: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
938
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
939
|
+
def Invoke(self, state: typing.Any) -> None: ...
|
940
|
+
|
941
|
+
|
942
|
+
class SpinLock:
|
943
|
+
def __init__(self, enableThreadOwnerTracking: bool) -> None: ...
|
944
|
+
@property
|
945
|
+
def IsHeld(self) -> bool: ...
|
946
|
+
@property
|
947
|
+
def IsHeldByCurrentThread(self) -> bool: ...
|
948
|
+
@property
|
949
|
+
def IsThreadOwnerTrackingEnabled(self) -> bool: ...
|
950
|
+
def Enter(self, lockTaken: clr.Reference[bool]) -> None: ...
|
951
|
+
# Skipped Exit due to it being static, abstract and generic.
|
952
|
+
|
953
|
+
Exit : Exit_MethodGroup
|
954
|
+
class Exit_MethodGroup:
|
955
|
+
@typing.overload
|
956
|
+
def __call__(self) -> None:...
|
957
|
+
@typing.overload
|
958
|
+
def __call__(self, useMemoryBarrier: bool) -> None:...
|
959
|
+
|
960
|
+
# Skipped TryEnter due to it being static, abstract and generic.
|
961
|
+
|
962
|
+
TryEnter : TryEnter_MethodGroup
|
963
|
+
class TryEnter_MethodGroup:
|
964
|
+
@typing.overload
|
965
|
+
def __call__(self, lockTaken: clr.Reference[bool]) -> None:...
|
966
|
+
@typing.overload
|
967
|
+
def __call__(self, millisecondsTimeout: int, lockTaken: clr.Reference[bool]) -> None:...
|
968
|
+
@typing.overload
|
969
|
+
def __call__(self, timeout: TimeSpan, lockTaken: clr.Reference[bool]) -> None:...
|
970
|
+
|
971
|
+
|
972
|
+
|
973
|
+
class SpinWait:
|
974
|
+
@property
|
975
|
+
def Count(self) -> int: ...
|
976
|
+
@Count.setter
|
977
|
+
def Count(self, value: int) -> int: ...
|
978
|
+
@property
|
979
|
+
def NextSpinWillYield(self) -> bool: ...
|
980
|
+
def Reset(self) -> None: ...
|
981
|
+
# Skipped SpinOnce due to it being static, abstract and generic.
|
982
|
+
|
983
|
+
SpinOnce : SpinOnce_MethodGroup
|
984
|
+
class SpinOnce_MethodGroup:
|
985
|
+
@typing.overload
|
986
|
+
def __call__(self) -> None:...
|
987
|
+
@typing.overload
|
988
|
+
def __call__(self, sleep1Threshold: int) -> None:...
|
989
|
+
|
990
|
+
# Skipped SpinUntil due to it being static, abstract and generic.
|
991
|
+
|
992
|
+
SpinUntil : SpinUntil_MethodGroup
|
993
|
+
class SpinUntil_MethodGroup:
|
994
|
+
@typing.overload
|
995
|
+
def __call__(self, condition: Func_1[bool]) -> None:...
|
996
|
+
@typing.overload
|
997
|
+
def __call__(self, condition: Func_1[bool], millisecondsTimeout: int) -> bool:...
|
998
|
+
@typing.overload
|
999
|
+
def __call__(self, condition: Func_1[bool], timeout: TimeSpan) -> bool:...
|
1000
|
+
|
1001
|
+
|
1002
|
+
|
1003
|
+
class SynchronizationContext:
|
1004
|
+
def __init__(self) -> None: ...
|
1005
|
+
@classmethod
|
1006
|
+
@property
|
1007
|
+
def Current(cls) -> SynchronizationContext: ...
|
1008
|
+
def CreateCopy(self) -> SynchronizationContext: ...
|
1009
|
+
def IsWaitNotificationRequired(self) -> bool: ...
|
1010
|
+
def OperationCompleted(self) -> None: ...
|
1011
|
+
def OperationStarted(self) -> None: ...
|
1012
|
+
def Post(self, d: SendOrPostCallback, state: typing.Any) -> None: ...
|
1013
|
+
def Send(self, d: SendOrPostCallback, state: typing.Any) -> None: ...
|
1014
|
+
@staticmethod
|
1015
|
+
def SetSynchronizationContext(syncContext: SynchronizationContext) -> None: ...
|
1016
|
+
def Wait(self, waitHandles: Array_1[int], waitAll: bool, millisecondsTimeout: int) -> int: ...
|
1017
|
+
|
1018
|
+
|
1019
|
+
class SynchronizationLockException(SystemException):
|
1020
|
+
@typing.overload
|
1021
|
+
def __init__(self) -> None: ...
|
1022
|
+
@typing.overload
|
1023
|
+
def __init__(self, message: str) -> None: ...
|
1024
|
+
@typing.overload
|
1025
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
1026
|
+
@property
|
1027
|
+
def Data(self) -> IDictionary: ...
|
1028
|
+
@property
|
1029
|
+
def HelpLink(self) -> str: ...
|
1030
|
+
@HelpLink.setter
|
1031
|
+
def HelpLink(self, value: str) -> str: ...
|
1032
|
+
@property
|
1033
|
+
def HResult(self) -> int: ...
|
1034
|
+
@HResult.setter
|
1035
|
+
def HResult(self, value: int) -> int: ...
|
1036
|
+
@property
|
1037
|
+
def InnerException(self) -> Exception: ...
|
1038
|
+
@property
|
1039
|
+
def Message(self) -> str: ...
|
1040
|
+
@property
|
1041
|
+
def Source(self) -> str: ...
|
1042
|
+
@Source.setter
|
1043
|
+
def Source(self, value: str) -> str: ...
|
1044
|
+
@property
|
1045
|
+
def StackTrace(self) -> str: ...
|
1046
|
+
@property
|
1047
|
+
def TargetSite(self) -> MethodBase: ...
|
1048
|
+
|
1049
|
+
|
1050
|
+
class Thread(CriticalFinalizerObject):
|
1051
|
+
@typing.overload
|
1052
|
+
def __init__(self, start: ThreadStart) -> None: ...
|
1053
|
+
@typing.overload
|
1054
|
+
def __init__(self, start: ParameterizedThreadStart) -> None: ...
|
1055
|
+
@typing.overload
|
1056
|
+
def __init__(self, start: ThreadStart, maxStackSize: int) -> None: ...
|
1057
|
+
@typing.overload
|
1058
|
+
def __init__(self, start: ParameterizedThreadStart, maxStackSize: int) -> None: ...
|
1059
|
+
@property
|
1060
|
+
def ApartmentState(self) -> ApartmentState: ...
|
1061
|
+
@ApartmentState.setter
|
1062
|
+
def ApartmentState(self, value: ApartmentState) -> ApartmentState: ...
|
1063
|
+
@property
|
1064
|
+
def CurrentCulture(self) -> CultureInfo: ...
|
1065
|
+
@CurrentCulture.setter
|
1066
|
+
def CurrentCulture(self, value: CultureInfo) -> CultureInfo: ...
|
1067
|
+
@classmethod
|
1068
|
+
@property
|
1069
|
+
def CurrentPrincipal(cls) -> IPrincipal: ...
|
1070
|
+
@classmethod
|
1071
|
+
@CurrentPrincipal.setter
|
1072
|
+
def CurrentPrincipal(cls, value: IPrincipal) -> IPrincipal: ...
|
1073
|
+
@classmethod
|
1074
|
+
@property
|
1075
|
+
def CurrentThread(cls) -> Thread: ...
|
1076
|
+
@property
|
1077
|
+
def CurrentUICulture(self) -> CultureInfo: ...
|
1078
|
+
@CurrentUICulture.setter
|
1079
|
+
def CurrentUICulture(self, value: CultureInfo) -> CultureInfo: ...
|
1080
|
+
@property
|
1081
|
+
def ExecutionContext(self) -> ExecutionContext: ...
|
1082
|
+
@property
|
1083
|
+
def IsAlive(self) -> bool: ...
|
1084
|
+
@property
|
1085
|
+
def IsBackground(self) -> bool: ...
|
1086
|
+
@IsBackground.setter
|
1087
|
+
def IsBackground(self, value: bool) -> bool: ...
|
1088
|
+
@property
|
1089
|
+
def IsThreadPoolThread(self) -> bool: ...
|
1090
|
+
@IsThreadPoolThread.setter
|
1091
|
+
def IsThreadPoolThread(self, value: bool) -> bool: ...
|
1092
|
+
@property
|
1093
|
+
def ManagedThreadId(self) -> int: ...
|
1094
|
+
@property
|
1095
|
+
def Name(self) -> str: ...
|
1096
|
+
@Name.setter
|
1097
|
+
def Name(self, value: str) -> str: ...
|
1098
|
+
@property
|
1099
|
+
def Priority(self) -> ThreadPriority: ...
|
1100
|
+
@Priority.setter
|
1101
|
+
def Priority(self, value: ThreadPriority) -> ThreadPriority: ...
|
1102
|
+
@property
|
1103
|
+
def ThreadState(self) -> ThreadState: ...
|
1104
|
+
@staticmethod
|
1105
|
+
def AllocateDataSlot() -> LocalDataStoreSlot: ...
|
1106
|
+
@staticmethod
|
1107
|
+
def AllocateNamedDataSlot(name: str) -> LocalDataStoreSlot: ...
|
1108
|
+
@staticmethod
|
1109
|
+
def BeginCriticalRegion() -> None: ...
|
1110
|
+
@staticmethod
|
1111
|
+
def BeginThreadAffinity() -> None: ...
|
1112
|
+
def DisableComObjectEagerCleanup(self) -> None: ...
|
1113
|
+
@staticmethod
|
1114
|
+
def EndCriticalRegion() -> None: ...
|
1115
|
+
@staticmethod
|
1116
|
+
def EndThreadAffinity() -> None: ...
|
1117
|
+
@staticmethod
|
1118
|
+
def FreeNamedDataSlot(name: str) -> None: ...
|
1119
|
+
def GetApartmentState(self) -> ApartmentState: ...
|
1120
|
+
def GetCompressedStack(self) -> CompressedStack: ...
|
1121
|
+
@staticmethod
|
1122
|
+
def GetCurrentProcessorId() -> int: ...
|
1123
|
+
@staticmethod
|
1124
|
+
def GetData(slot: LocalDataStoreSlot) -> typing.Any: ...
|
1125
|
+
@staticmethod
|
1126
|
+
def GetDomain() -> AppDomain: ...
|
1127
|
+
@staticmethod
|
1128
|
+
def GetDomainID() -> int: ...
|
1129
|
+
def GetHashCode(self) -> int: ...
|
1130
|
+
@staticmethod
|
1131
|
+
def GetNamedDataSlot(name: str) -> LocalDataStoreSlot: ...
|
1132
|
+
def Interrupt(self) -> None: ...
|
1133
|
+
@staticmethod
|
1134
|
+
def MemoryBarrier() -> None: ...
|
1135
|
+
@staticmethod
|
1136
|
+
def ResetAbort() -> None: ...
|
1137
|
+
def Resume(self) -> None: ...
|
1138
|
+
def SetApartmentState(self, state: ApartmentState) -> None: ...
|
1139
|
+
def SetCompressedStack(self, stack: CompressedStack) -> None: ...
|
1140
|
+
@staticmethod
|
1141
|
+
def SetData(slot: LocalDataStoreSlot, data: typing.Any) -> None: ...
|
1142
|
+
@staticmethod
|
1143
|
+
def SpinWait(iterations: int) -> None: ...
|
1144
|
+
def Suspend(self) -> None: ...
|
1145
|
+
def TrySetApartmentState(self, state: ApartmentState) -> bool: ...
|
1146
|
+
@staticmethod
|
1147
|
+
def Yield() -> bool: ...
|
1148
|
+
# Skipped Abort due to it being static, abstract and generic.
|
1149
|
+
|
1150
|
+
Abort : Abort_MethodGroup
|
1151
|
+
class Abort_MethodGroup:
|
1152
|
+
@typing.overload
|
1153
|
+
def __call__(self) -> None:...
|
1154
|
+
@typing.overload
|
1155
|
+
def __call__(self, stateInfo: typing.Any) -> None:...
|
1156
|
+
|
1157
|
+
# Skipped Join due to it being static, abstract and generic.
|
1158
|
+
|
1159
|
+
Join : Join_MethodGroup
|
1160
|
+
class Join_MethodGroup:
|
1161
|
+
@typing.overload
|
1162
|
+
def __call__(self) -> None:...
|
1163
|
+
@typing.overload
|
1164
|
+
def __call__(self, millisecondsTimeout: int) -> bool:...
|
1165
|
+
@typing.overload
|
1166
|
+
def __call__(self, timeout: TimeSpan) -> bool:...
|
1167
|
+
|
1168
|
+
# Skipped Sleep due to it being static, abstract and generic.
|
1169
|
+
|
1170
|
+
Sleep : Sleep_MethodGroup
|
1171
|
+
class Sleep_MethodGroup:
|
1172
|
+
@typing.overload
|
1173
|
+
def __call__(self, millisecondsTimeout: int) -> None:...
|
1174
|
+
@typing.overload
|
1175
|
+
def __call__(self, timeout: TimeSpan) -> None:...
|
1176
|
+
|
1177
|
+
# Skipped Start due to it being static, abstract and generic.
|
1178
|
+
|
1179
|
+
Start : Start_MethodGroup
|
1180
|
+
class Start_MethodGroup:
|
1181
|
+
@typing.overload
|
1182
|
+
def __call__(self) -> None:...
|
1183
|
+
@typing.overload
|
1184
|
+
def __call__(self, parameter: typing.Any) -> None:...
|
1185
|
+
|
1186
|
+
# Skipped UnsafeStart due to it being static, abstract and generic.
|
1187
|
+
|
1188
|
+
UnsafeStart : UnsafeStart_MethodGroup
|
1189
|
+
class UnsafeStart_MethodGroup:
|
1190
|
+
@typing.overload
|
1191
|
+
def __call__(self) -> None:...
|
1192
|
+
@typing.overload
|
1193
|
+
def __call__(self, parameter: typing.Any) -> None:...
|
1194
|
+
|
1195
|
+
# Skipped VolatileRead due to it being static, abstract and generic.
|
1196
|
+
|
1197
|
+
VolatileRead : VolatileRead_MethodGroup
|
1198
|
+
class VolatileRead_MethodGroup:
|
1199
|
+
@typing.overload
|
1200
|
+
def __call__(self, address: clr.Reference[float]) -> float:...
|
1201
|
+
# Method VolatileRead(address : Single&) was skipped since it collides with above method
|
1202
|
+
# Method VolatileRead(address : Byte&) was skipped since it collides with above method
|
1203
|
+
# Method VolatileRead(address : Int16&) was skipped since it collides with above method
|
1204
|
+
# Method VolatileRead(address : Int32&) was skipped since it collides with above method
|
1205
|
+
# Method VolatileRead(address : Int64&) was skipped since it collides with above method
|
1206
|
+
# Method VolatileRead(address : SByte&) was skipped since it collides with above method
|
1207
|
+
# Method VolatileRead(address : UInt16&) was skipped since it collides with above method
|
1208
|
+
# Method VolatileRead(address : UInt32&) was skipped since it collides with above method
|
1209
|
+
# Method VolatileRead(address : UInt64&) was skipped since it collides with above method
|
1210
|
+
# Method VolatileRead(address : IntPtr&) was skipped since it collides with above method
|
1211
|
+
@typing.overload
|
1212
|
+
def __call__(self, address: clr.Reference[UIntPtr]) -> UIntPtr:...
|
1213
|
+
@typing.overload
|
1214
|
+
def __call__(self, address: clr.Reference[typing.Any]) -> typing.Any:...
|
1215
|
+
|
1216
|
+
# Skipped VolatileWrite due to it being static, abstract and generic.
|
1217
|
+
|
1218
|
+
VolatileWrite : VolatileWrite_MethodGroup
|
1219
|
+
class VolatileWrite_MethodGroup:
|
1220
|
+
@typing.overload
|
1221
|
+
def __call__(self, address: clr.Reference[float], value: float) -> None:...
|
1222
|
+
# Method VolatileWrite(address : Single&, value : Single) was skipped since it collides with above method
|
1223
|
+
# Method VolatileWrite(address : Byte&, value : Byte) was skipped since it collides with above method
|
1224
|
+
# Method VolatileWrite(address : Int16&, value : Int16) was skipped since it collides with above method
|
1225
|
+
# Method VolatileWrite(address : Int32&, value : Int32) was skipped since it collides with above method
|
1226
|
+
# Method VolatileWrite(address : Int64&, value : Int64) was skipped since it collides with above method
|
1227
|
+
# Method VolatileWrite(address : SByte&, value : SByte) was skipped since it collides with above method
|
1228
|
+
# Method VolatileWrite(address : UInt16&, value : UInt16) was skipped since it collides with above method
|
1229
|
+
# Method VolatileWrite(address : UInt32&, value : UInt32) was skipped since it collides with above method
|
1230
|
+
# Method VolatileWrite(address : UInt64&, value : UInt64) was skipped since it collides with above method
|
1231
|
+
# Method VolatileWrite(address : IntPtr&, value : IntPtr) was skipped since it collides with above method
|
1232
|
+
@typing.overload
|
1233
|
+
def __call__(self, address: clr.Reference[UIntPtr], value: UIntPtr) -> None:...
|
1234
|
+
@typing.overload
|
1235
|
+
def __call__(self, address: clr.Reference[typing.Any], value: typing.Any) -> None:...
|
1236
|
+
|
1237
|
+
|
1238
|
+
|
1239
|
+
class ThreadAbortException(SystemException):
|
1240
|
+
@property
|
1241
|
+
def Data(self) -> IDictionary: ...
|
1242
|
+
@property
|
1243
|
+
def ExceptionState(self) -> typing.Any: ...
|
1244
|
+
@property
|
1245
|
+
def HelpLink(self) -> str: ...
|
1246
|
+
@HelpLink.setter
|
1247
|
+
def HelpLink(self, value: str) -> str: ...
|
1248
|
+
@property
|
1249
|
+
def HResult(self) -> int: ...
|
1250
|
+
@HResult.setter
|
1251
|
+
def HResult(self, value: int) -> int: ...
|
1252
|
+
@property
|
1253
|
+
def InnerException(self) -> Exception: ...
|
1254
|
+
@property
|
1255
|
+
def Message(self) -> str: ...
|
1256
|
+
@property
|
1257
|
+
def Source(self) -> str: ...
|
1258
|
+
@Source.setter
|
1259
|
+
def Source(self, value: str) -> str: ...
|
1260
|
+
@property
|
1261
|
+
def StackTrace(self) -> str: ...
|
1262
|
+
@property
|
1263
|
+
def TargetSite(self) -> MethodBase: ...
|
1264
|
+
|
1265
|
+
|
1266
|
+
class ThreadExceptionEventArgs(EventArgs):
|
1267
|
+
def __init__(self, t: Exception) -> None: ...
|
1268
|
+
@property
|
1269
|
+
def Exception(self) -> Exception: ...
|
1270
|
+
|
1271
|
+
|
1272
|
+
class ThreadExceptionEventHandler(MulticastDelegate):
|
1273
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
1274
|
+
@property
|
1275
|
+
def Method(self) -> MethodInfo: ...
|
1276
|
+
@property
|
1277
|
+
def Target(self) -> typing.Any: ...
|
1278
|
+
def BeginInvoke(self, sender: typing.Any, e: ThreadExceptionEventArgs, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
1279
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
1280
|
+
def Invoke(self, sender: typing.Any, e: ThreadExceptionEventArgs) -> None: ...
|
1281
|
+
|
1282
|
+
|
1283
|
+
class ThreadInterruptedException(SystemException):
|
1284
|
+
@typing.overload
|
1285
|
+
def __init__(self) -> None: ...
|
1286
|
+
@typing.overload
|
1287
|
+
def __init__(self, message: str) -> None: ...
|
1288
|
+
@typing.overload
|
1289
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
1290
|
+
@property
|
1291
|
+
def Data(self) -> IDictionary: ...
|
1292
|
+
@property
|
1293
|
+
def HelpLink(self) -> str: ...
|
1294
|
+
@HelpLink.setter
|
1295
|
+
def HelpLink(self, value: str) -> str: ...
|
1296
|
+
@property
|
1297
|
+
def HResult(self) -> int: ...
|
1298
|
+
@HResult.setter
|
1299
|
+
def HResult(self, value: int) -> int: ...
|
1300
|
+
@property
|
1301
|
+
def InnerException(self) -> Exception: ...
|
1302
|
+
@property
|
1303
|
+
def Message(self) -> str: ...
|
1304
|
+
@property
|
1305
|
+
def Source(self) -> str: ...
|
1306
|
+
@Source.setter
|
1307
|
+
def Source(self, value: str) -> str: ...
|
1308
|
+
@property
|
1309
|
+
def StackTrace(self) -> str: ...
|
1310
|
+
@property
|
1311
|
+
def TargetSite(self) -> MethodBase: ...
|
1312
|
+
|
1313
|
+
|
1314
|
+
class ThreadLocal_GenericClasses(abc.ABCMeta):
|
1315
|
+
Generic_ThreadLocal_GenericClasses_ThreadLocal_1_T = typing.TypeVar('Generic_ThreadLocal_GenericClasses_ThreadLocal_1_T')
|
1316
|
+
def __getitem__(self, types : typing.Type[Generic_ThreadLocal_GenericClasses_ThreadLocal_1_T]) -> typing.Type[ThreadLocal_1[Generic_ThreadLocal_GenericClasses_ThreadLocal_1_T]]: ...
|
1317
|
+
|
1318
|
+
ThreadLocal : ThreadLocal_GenericClasses
|
1319
|
+
|
1320
|
+
ThreadLocal_1_T = typing.TypeVar('ThreadLocal_1_T')
|
1321
|
+
class ThreadLocal_1(typing.Generic[ThreadLocal_1_T], IDisposable):
|
1322
|
+
@typing.overload
|
1323
|
+
def __init__(self) -> None: ...
|
1324
|
+
@typing.overload
|
1325
|
+
def __init__(self, trackAllValues: bool) -> None: ...
|
1326
|
+
@typing.overload
|
1327
|
+
def __init__(self, valueFactory: Func_1[ThreadLocal_1_T]) -> None: ...
|
1328
|
+
@typing.overload
|
1329
|
+
def __init__(self, valueFactory: Func_1[ThreadLocal_1_T], trackAllValues: bool) -> None: ...
|
1330
|
+
@property
|
1331
|
+
def IsValueCreated(self) -> bool: ...
|
1332
|
+
@property
|
1333
|
+
def Value(self) -> ThreadLocal_1_T: ...
|
1334
|
+
@Value.setter
|
1335
|
+
def Value(self, value: ThreadLocal_1_T) -> ThreadLocal_1_T: ...
|
1336
|
+
@property
|
1337
|
+
def Values(self) -> IList_1[ThreadLocal_1_T]: ...
|
1338
|
+
def Dispose(self) -> None: ...
|
1339
|
+
def ToString(self) -> str: ...
|
1340
|
+
|
1341
|
+
|
1342
|
+
class ThreadPool(abc.ABC):
|
1343
|
+
@classmethod
|
1344
|
+
@property
|
1345
|
+
def CompletedWorkItemCount(cls) -> int: ...
|
1346
|
+
@classmethod
|
1347
|
+
@property
|
1348
|
+
def PendingWorkItemCount(cls) -> int: ...
|
1349
|
+
@classmethod
|
1350
|
+
@property
|
1351
|
+
def ThreadCount(cls) -> int: ...
|
1352
|
+
@staticmethod
|
1353
|
+
def GetAvailableThreads(workerThreads: clr.Reference[int], completionPortThreads: clr.Reference[int]) -> None: ...
|
1354
|
+
@staticmethod
|
1355
|
+
def GetMaxThreads(workerThreads: clr.Reference[int], completionPortThreads: clr.Reference[int]) -> None: ...
|
1356
|
+
@staticmethod
|
1357
|
+
def GetMinThreads(workerThreads: clr.Reference[int], completionPortThreads: clr.Reference[int]) -> None: ...
|
1358
|
+
@staticmethod
|
1359
|
+
def SetMaxThreads(workerThreads: int, completionPortThreads: int) -> bool: ...
|
1360
|
+
@staticmethod
|
1361
|
+
def SetMinThreads(workerThreads: int, completionPortThreads: int) -> bool: ...
|
1362
|
+
@staticmethod
|
1363
|
+
def UnsafeQueueNativeOverlapped(overlapped: clr.Reference[NativeOverlapped]) -> bool: ...
|
1364
|
+
# Skipped BindHandle due to it being static, abstract and generic.
|
1365
|
+
|
1366
|
+
BindHandle : BindHandle_MethodGroup
|
1367
|
+
class BindHandle_MethodGroup:
|
1368
|
+
@typing.overload
|
1369
|
+
def __call__(self, osHandle: int) -> bool:...
|
1370
|
+
@typing.overload
|
1371
|
+
def __call__(self, osHandle: SafeHandle) -> bool:...
|
1372
|
+
|
1373
|
+
# Skipped QueueUserWorkItem due to it being static, abstract and generic.
|
1374
|
+
|
1375
|
+
QueueUserWorkItem : QueueUserWorkItem_MethodGroup
|
1376
|
+
class QueueUserWorkItem_MethodGroup:
|
1377
|
+
def __getitem__(self, t:typing.Type[QueueUserWorkItem_1_T1]) -> QueueUserWorkItem_1[QueueUserWorkItem_1_T1]: ...
|
1378
|
+
|
1379
|
+
QueueUserWorkItem_1_T1 = typing.TypeVar('QueueUserWorkItem_1_T1')
|
1380
|
+
class QueueUserWorkItem_1(typing.Generic[QueueUserWorkItem_1_T1]):
|
1381
|
+
QueueUserWorkItem_1_TState = ThreadPool.QueueUserWorkItem_MethodGroup.QueueUserWorkItem_1_T1
|
1382
|
+
def __call__(self, callBack: Action_1[QueueUserWorkItem_1_TState], state: QueueUserWorkItem_1_TState, preferLocal: bool) -> bool:...
|
1383
|
+
|
1384
|
+
@typing.overload
|
1385
|
+
def __call__(self, callBack: WaitCallback) -> bool:...
|
1386
|
+
@typing.overload
|
1387
|
+
def __call__(self, callBack: WaitCallback, state: typing.Any) -> bool:...
|
1388
|
+
|
1389
|
+
# Skipped RegisterWaitForSingleObject due to it being static, abstract and generic.
|
1390
|
+
|
1391
|
+
RegisterWaitForSingleObject : RegisterWaitForSingleObject_MethodGroup
|
1392
|
+
class RegisterWaitForSingleObject_MethodGroup:
|
1393
|
+
@typing.overload
|
1394
|
+
def __call__(self, waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: typing.Any, millisecondsTimeOutInterval: int, executeOnlyOnce: bool) -> RegisteredWaitHandle:...
|
1395
|
+
# Method RegisterWaitForSingleObject(waitObject : WaitHandle, callBack : WaitOrTimerCallback, state : Object, millisecondsTimeOutInterval : Int32, executeOnlyOnce : Boolean) was skipped since it collides with above method
|
1396
|
+
# Method RegisterWaitForSingleObject(waitObject : WaitHandle, callBack : WaitOrTimerCallback, state : Object, millisecondsTimeOutInterval : Int64, executeOnlyOnce : Boolean) was skipped since it collides with above method
|
1397
|
+
@typing.overload
|
1398
|
+
def __call__(self, waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: typing.Any, timeout: TimeSpan, executeOnlyOnce: bool) -> RegisteredWaitHandle:...
|
1399
|
+
|
1400
|
+
# Skipped UnsafeQueueUserWorkItem due to it being static, abstract and generic.
|
1401
|
+
|
1402
|
+
UnsafeQueueUserWorkItem : UnsafeQueueUserWorkItem_MethodGroup
|
1403
|
+
class UnsafeQueueUserWorkItem_MethodGroup:
|
1404
|
+
def __getitem__(self, t:typing.Type[UnsafeQueueUserWorkItem_1_T1]) -> UnsafeQueueUserWorkItem_1[UnsafeQueueUserWorkItem_1_T1]: ...
|
1405
|
+
|
1406
|
+
UnsafeQueueUserWorkItem_1_T1 = typing.TypeVar('UnsafeQueueUserWorkItem_1_T1')
|
1407
|
+
class UnsafeQueueUserWorkItem_1(typing.Generic[UnsafeQueueUserWorkItem_1_T1]):
|
1408
|
+
UnsafeQueueUserWorkItem_1_TState = ThreadPool.UnsafeQueueUserWorkItem_MethodGroup.UnsafeQueueUserWorkItem_1_T1
|
1409
|
+
def __call__(self, callBack: Action_1[UnsafeQueueUserWorkItem_1_TState], state: UnsafeQueueUserWorkItem_1_TState, preferLocal: bool) -> bool:...
|
1410
|
+
|
1411
|
+
@typing.overload
|
1412
|
+
def __call__(self, callBack: WaitCallback, state: typing.Any) -> bool:...
|
1413
|
+
@typing.overload
|
1414
|
+
def __call__(self, callBack: IThreadPoolWorkItem, preferLocal: bool) -> bool:...
|
1415
|
+
|
1416
|
+
# Skipped UnsafeRegisterWaitForSingleObject due to it being static, abstract and generic.
|
1417
|
+
|
1418
|
+
UnsafeRegisterWaitForSingleObject : UnsafeRegisterWaitForSingleObject_MethodGroup
|
1419
|
+
class UnsafeRegisterWaitForSingleObject_MethodGroup:
|
1420
|
+
@typing.overload
|
1421
|
+
def __call__(self, waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: typing.Any, millisecondsTimeOutInterval: int, executeOnlyOnce: bool) -> RegisteredWaitHandle:...
|
1422
|
+
# Method UnsafeRegisterWaitForSingleObject(waitObject : WaitHandle, callBack : WaitOrTimerCallback, state : Object, millisecondsTimeOutInterval : Int32, executeOnlyOnce : Boolean) was skipped since it collides with above method
|
1423
|
+
# Method UnsafeRegisterWaitForSingleObject(waitObject : WaitHandle, callBack : WaitOrTimerCallback, state : Object, millisecondsTimeOutInterval : Int64, executeOnlyOnce : Boolean) was skipped since it collides with above method
|
1424
|
+
@typing.overload
|
1425
|
+
def __call__(self, waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: typing.Any, timeout: TimeSpan, executeOnlyOnce: bool) -> RegisteredWaitHandle:...
|
1426
|
+
|
1427
|
+
|
1428
|
+
|
1429
|
+
class ThreadPoolBoundHandle(IDisposable):
|
1430
|
+
@property
|
1431
|
+
def Handle(self) -> SafeHandle: ...
|
1432
|
+
@staticmethod
|
1433
|
+
def BindHandle(handle: SafeHandle) -> ThreadPoolBoundHandle: ...
|
1434
|
+
def Dispose(self) -> None: ...
|
1435
|
+
def FreeNativeOverlapped(self, overlapped: clr.Reference[NativeOverlapped]) -> None: ...
|
1436
|
+
@staticmethod
|
1437
|
+
def GetNativeOverlappedState(overlapped: clr.Reference[NativeOverlapped]) -> typing.Any: ...
|
1438
|
+
def UnsafeAllocateNativeOverlapped(self, callback: IOCompletionCallback, state: typing.Any, pinData: typing.Any) -> clr.Reference[NativeOverlapped]: ...
|
1439
|
+
# Skipped AllocateNativeOverlapped due to it being static, abstract and generic.
|
1440
|
+
|
1441
|
+
AllocateNativeOverlapped : AllocateNativeOverlapped_MethodGroup
|
1442
|
+
class AllocateNativeOverlapped_MethodGroup:
|
1443
|
+
@typing.overload
|
1444
|
+
def __call__(self, preAllocated: PreAllocatedOverlapped) -> clr.Reference[NativeOverlapped]:...
|
1445
|
+
@typing.overload
|
1446
|
+
def __call__(self, callback: IOCompletionCallback, state: typing.Any, pinData: typing.Any) -> clr.Reference[NativeOverlapped]:...
|
1447
|
+
|
1448
|
+
|
1449
|
+
|
1450
|
+
class ThreadPriority(typing.SupportsInt):
|
1451
|
+
@typing.overload
|
1452
|
+
def __init__(self, value : int) -> None: ...
|
1453
|
+
@typing.overload
|
1454
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
1455
|
+
def __int__(self) -> int: ...
|
1456
|
+
|
1457
|
+
# Values:
|
1458
|
+
Lowest : ThreadPriority # 0
|
1459
|
+
BelowNormal : ThreadPriority # 1
|
1460
|
+
Normal : ThreadPriority # 2
|
1461
|
+
AboveNormal : ThreadPriority # 3
|
1462
|
+
Highest : ThreadPriority # 4
|
1463
|
+
|
1464
|
+
|
1465
|
+
class ThreadStart(MulticastDelegate):
|
1466
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
1467
|
+
@property
|
1468
|
+
def Method(self) -> MethodInfo: ...
|
1469
|
+
@property
|
1470
|
+
def Target(self) -> typing.Any: ...
|
1471
|
+
def BeginInvoke(self, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
1472
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
1473
|
+
def Invoke(self) -> None: ...
|
1474
|
+
|
1475
|
+
|
1476
|
+
class ThreadStartException(SystemException):
|
1477
|
+
@property
|
1478
|
+
def Data(self) -> IDictionary: ...
|
1479
|
+
@property
|
1480
|
+
def HelpLink(self) -> str: ...
|
1481
|
+
@HelpLink.setter
|
1482
|
+
def HelpLink(self, value: str) -> str: ...
|
1483
|
+
@property
|
1484
|
+
def HResult(self) -> int: ...
|
1485
|
+
@HResult.setter
|
1486
|
+
def HResult(self, value: int) -> int: ...
|
1487
|
+
@property
|
1488
|
+
def InnerException(self) -> Exception: ...
|
1489
|
+
@property
|
1490
|
+
def Message(self) -> str: ...
|
1491
|
+
@property
|
1492
|
+
def Source(self) -> str: ...
|
1493
|
+
@Source.setter
|
1494
|
+
def Source(self, value: str) -> str: ...
|
1495
|
+
@property
|
1496
|
+
def StackTrace(self) -> str: ...
|
1497
|
+
@property
|
1498
|
+
def TargetSite(self) -> MethodBase: ...
|
1499
|
+
|
1500
|
+
|
1501
|
+
class ThreadState(typing.SupportsInt):
|
1502
|
+
@typing.overload
|
1503
|
+
def __init__(self, value : int) -> None: ...
|
1504
|
+
@typing.overload
|
1505
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
1506
|
+
def __int__(self) -> int: ...
|
1507
|
+
|
1508
|
+
# Values:
|
1509
|
+
Running : ThreadState # 0
|
1510
|
+
StopRequested : ThreadState # 1
|
1511
|
+
SuspendRequested : ThreadState # 2
|
1512
|
+
Background : ThreadState # 4
|
1513
|
+
Unstarted : ThreadState # 8
|
1514
|
+
Stopped : ThreadState # 16
|
1515
|
+
WaitSleepJoin : ThreadState # 32
|
1516
|
+
Suspended : ThreadState # 64
|
1517
|
+
AbortRequested : ThreadState # 128
|
1518
|
+
Aborted : ThreadState # 256
|
1519
|
+
|
1520
|
+
|
1521
|
+
class ThreadStateException(SystemException):
|
1522
|
+
@typing.overload
|
1523
|
+
def __init__(self) -> None: ...
|
1524
|
+
@typing.overload
|
1525
|
+
def __init__(self, message: str) -> None: ...
|
1526
|
+
@typing.overload
|
1527
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
1528
|
+
@property
|
1529
|
+
def Data(self) -> IDictionary: ...
|
1530
|
+
@property
|
1531
|
+
def HelpLink(self) -> str: ...
|
1532
|
+
@HelpLink.setter
|
1533
|
+
def HelpLink(self, value: str) -> str: ...
|
1534
|
+
@property
|
1535
|
+
def HResult(self) -> int: ...
|
1536
|
+
@HResult.setter
|
1537
|
+
def HResult(self, value: int) -> int: ...
|
1538
|
+
@property
|
1539
|
+
def InnerException(self) -> Exception: ...
|
1540
|
+
@property
|
1541
|
+
def Message(self) -> str: ...
|
1542
|
+
@property
|
1543
|
+
def Source(self) -> str: ...
|
1544
|
+
@Source.setter
|
1545
|
+
def Source(self, value: str) -> str: ...
|
1546
|
+
@property
|
1547
|
+
def StackTrace(self) -> str: ...
|
1548
|
+
@property
|
1549
|
+
def TargetSite(self) -> MethodBase: ...
|
1550
|
+
|
1551
|
+
|
1552
|
+
class Timeout(abc.ABC):
|
1553
|
+
Infinite : int
|
1554
|
+
InfiniteTimeSpan : TimeSpan
|
1555
|
+
|
1556
|
+
|
1557
|
+
class Timer(MarshalByRefObject, ITimer):
|
1558
|
+
# Constructor .ctor(callback : TimerCallback, state : Object, dueTime : UInt32, period : UInt32) was skipped since it collides with above method
|
1559
|
+
# Constructor .ctor(callback : TimerCallback, state : Object, dueTime : Int64, period : Int64) was skipped since it collides with above method
|
1560
|
+
@typing.overload
|
1561
|
+
def __init__(self, callback: TimerCallback) -> None: ...
|
1562
|
+
@typing.overload
|
1563
|
+
def __init__(self, callback: TimerCallback, state: typing.Any, dueTime: int, period: int) -> None: ...
|
1564
|
+
@typing.overload
|
1565
|
+
def __init__(self, callback: TimerCallback, state: typing.Any, dueTime: TimeSpan, period: TimeSpan) -> None: ...
|
1566
|
+
@classmethod
|
1567
|
+
@property
|
1568
|
+
def ActiveCount(cls) -> int: ...
|
1569
|
+
def DisposeAsync(self) -> ValueTask: ...
|
1570
|
+
# Skipped Change due to it being static, abstract and generic.
|
1571
|
+
|
1572
|
+
Change : Change_MethodGroup
|
1573
|
+
class Change_MethodGroup:
|
1574
|
+
@typing.overload
|
1575
|
+
def __call__(self, dueTime: int, period: int) -> bool:...
|
1576
|
+
# Method Change(dueTime : UInt32, period : UInt32) was skipped since it collides with above method
|
1577
|
+
# Method Change(dueTime : Int64, period : Int64) was skipped since it collides with above method
|
1578
|
+
@typing.overload
|
1579
|
+
def __call__(self, dueTime: TimeSpan, period: TimeSpan) -> bool:...
|
1580
|
+
|
1581
|
+
# Skipped Dispose due to it being static, abstract and generic.
|
1582
|
+
|
1583
|
+
Dispose : Dispose_MethodGroup
|
1584
|
+
class Dispose_MethodGroup:
|
1585
|
+
@typing.overload
|
1586
|
+
def __call__(self) -> None:...
|
1587
|
+
@typing.overload
|
1588
|
+
def __call__(self, notifyObject: WaitHandle) -> bool:...
|
1589
|
+
|
1590
|
+
|
1591
|
+
|
1592
|
+
class TimerCallback(MulticastDelegate):
|
1593
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
1594
|
+
@property
|
1595
|
+
def Method(self) -> MethodInfo: ...
|
1596
|
+
@property
|
1597
|
+
def Target(self) -> typing.Any: ...
|
1598
|
+
def BeginInvoke(self, state: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
1599
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
1600
|
+
def Invoke(self, state: typing.Any) -> None: ...
|
1601
|
+
|
1602
|
+
|
1603
|
+
class Volatile(abc.ABC):
|
1604
|
+
# Skipped Read due to it being static, abstract and generic.
|
1605
|
+
|
1606
|
+
Read : Read_MethodGroup
|
1607
|
+
class Read_MethodGroup:
|
1608
|
+
def __getitem__(self, t:typing.Type[Read_1_T1]) -> Read_1[Read_1_T1]: ...
|
1609
|
+
|
1610
|
+
Read_1_T1 = typing.TypeVar('Read_1_T1')
|
1611
|
+
class Read_1(typing.Generic[Read_1_T1]):
|
1612
|
+
Read_1_T = Volatile.Read_MethodGroup.Read_1_T1
|
1613
|
+
def __call__(self, location: clr.Reference[Read_1_T]) -> Read_1_T:...
|
1614
|
+
|
1615
|
+
@typing.overload
|
1616
|
+
def __call__(self, location: clr.Reference[float]) -> float:...
|
1617
|
+
# Method Read(location : Single&) was skipped since it collides with above method
|
1618
|
+
# Method Read(location : Byte&) was skipped since it collides with above method
|
1619
|
+
# Method Read(location : Int16&) was skipped since it collides with above method
|
1620
|
+
# Method Read(location : Int32&) was skipped since it collides with above method
|
1621
|
+
# Method Read(location : Int64&) was skipped since it collides with above method
|
1622
|
+
# Method Read(location : SByte&) was skipped since it collides with above method
|
1623
|
+
# Method Read(location : UInt16&) was skipped since it collides with above method
|
1624
|
+
# Method Read(location : UInt32&) was skipped since it collides with above method
|
1625
|
+
# Method Read(location : UInt64&) was skipped since it collides with above method
|
1626
|
+
# Method Read(location : IntPtr&) was skipped since it collides with above method
|
1627
|
+
@typing.overload
|
1628
|
+
def __call__(self, location: clr.Reference[UIntPtr]) -> UIntPtr:...
|
1629
|
+
# Method Read(location : Boolean&) was skipped since it collides with above method
|
1630
|
+
|
1631
|
+
# Skipped Write due to it being static, abstract and generic.
|
1632
|
+
|
1633
|
+
Write : Write_MethodGroup
|
1634
|
+
class Write_MethodGroup:
|
1635
|
+
def __getitem__(self, t:typing.Type[Write_1_T1]) -> Write_1[Write_1_T1]: ...
|
1636
|
+
|
1637
|
+
Write_1_T1 = typing.TypeVar('Write_1_T1')
|
1638
|
+
class Write_1(typing.Generic[Write_1_T1]):
|
1639
|
+
Write_1_T = Volatile.Write_MethodGroup.Write_1_T1
|
1640
|
+
def __call__(self, location: clr.Reference[Write_1_T], value: Write_1_T) -> None:...
|
1641
|
+
|
1642
|
+
@typing.overload
|
1643
|
+
def __call__(self, location: clr.Reference[float], value: float) -> None:...
|
1644
|
+
# Method Write(location : Single&, value : Single) was skipped since it collides with above method
|
1645
|
+
# Method Write(location : Byte&, value : Byte) was skipped since it collides with above method
|
1646
|
+
# Method Write(location : Int16&, value : Int16) was skipped since it collides with above method
|
1647
|
+
# Method Write(location : Int32&, value : Int32) was skipped since it collides with above method
|
1648
|
+
# Method Write(location : Int64&, value : Int64) was skipped since it collides with above method
|
1649
|
+
# Method Write(location : SByte&, value : SByte) was skipped since it collides with above method
|
1650
|
+
# Method Write(location : UInt16&, value : UInt16) was skipped since it collides with above method
|
1651
|
+
# Method Write(location : UInt32&, value : UInt32) was skipped since it collides with above method
|
1652
|
+
# Method Write(location : UInt64&, value : UInt64) was skipped since it collides with above method
|
1653
|
+
# Method Write(location : IntPtr&, value : IntPtr) was skipped since it collides with above method
|
1654
|
+
@typing.overload
|
1655
|
+
def __call__(self, location: clr.Reference[UIntPtr], value: UIntPtr) -> None:...
|
1656
|
+
# Method Write(location : Boolean&, value : Boolean) was skipped since it collides with above method
|
1657
|
+
|
1658
|
+
|
1659
|
+
|
1660
|
+
class WaitCallback(MulticastDelegate):
|
1661
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
1662
|
+
@property
|
1663
|
+
def Method(self) -> MethodInfo: ...
|
1664
|
+
@property
|
1665
|
+
def Target(self) -> typing.Any: ...
|
1666
|
+
def BeginInvoke(self, state: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
1667
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
1668
|
+
def Invoke(self, state: typing.Any) -> None: ...
|
1669
|
+
|
1670
|
+
|
1671
|
+
class WaitHandle(MarshalByRefObject, IDisposable):
|
1672
|
+
WaitTimeout : int
|
1673
|
+
@property
|
1674
|
+
def Handle(self) -> int: ...
|
1675
|
+
@Handle.setter
|
1676
|
+
def Handle(self, value: int) -> int: ...
|
1677
|
+
@property
|
1678
|
+
def SafeWaitHandle(self) -> SafeWaitHandle: ...
|
1679
|
+
@SafeWaitHandle.setter
|
1680
|
+
def SafeWaitHandle(self, value: SafeWaitHandle) -> SafeWaitHandle: ...
|
1681
|
+
def Close(self) -> None: ...
|
1682
|
+
def Dispose(self) -> None: ...
|
1683
|
+
# Skipped SignalAndWait due to it being static, abstract and generic.
|
1684
|
+
|
1685
|
+
SignalAndWait : SignalAndWait_MethodGroup
|
1686
|
+
class SignalAndWait_MethodGroup:
|
1687
|
+
@typing.overload
|
1688
|
+
def __call__(self, toSignal: WaitHandle, toWaitOn: WaitHandle) -> bool:...
|
1689
|
+
@typing.overload
|
1690
|
+
def __call__(self, toSignal: WaitHandle, toWaitOn: WaitHandle, millisecondsTimeout: int, exitContext: bool) -> bool:...
|
1691
|
+
@typing.overload
|
1692
|
+
def __call__(self, toSignal: WaitHandle, toWaitOn: WaitHandle, timeout: TimeSpan, exitContext: bool) -> bool:...
|
1693
|
+
|
1694
|
+
# Skipped WaitAll due to it being static, abstract and generic.
|
1695
|
+
|
1696
|
+
WaitAll : WaitAll_MethodGroup
|
1697
|
+
class WaitAll_MethodGroup:
|
1698
|
+
@typing.overload
|
1699
|
+
def __call__(self, waitHandles: Array_1[WaitHandle]) -> bool:...
|
1700
|
+
@typing.overload
|
1701
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], millisecondsTimeout: int) -> bool:...
|
1702
|
+
@typing.overload
|
1703
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], timeout: TimeSpan) -> bool:...
|
1704
|
+
@typing.overload
|
1705
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], millisecondsTimeout: int, exitContext: bool) -> bool:...
|
1706
|
+
@typing.overload
|
1707
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], timeout: TimeSpan, exitContext: bool) -> bool:...
|
1708
|
+
|
1709
|
+
# Skipped WaitAny due to it being static, abstract and generic.
|
1710
|
+
|
1711
|
+
WaitAny : WaitAny_MethodGroup
|
1712
|
+
class WaitAny_MethodGroup:
|
1713
|
+
@typing.overload
|
1714
|
+
def __call__(self, waitHandles: Array_1[WaitHandle]) -> int:...
|
1715
|
+
@typing.overload
|
1716
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], millisecondsTimeout: int) -> int:...
|
1717
|
+
@typing.overload
|
1718
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], timeout: TimeSpan) -> int:...
|
1719
|
+
@typing.overload
|
1720
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], millisecondsTimeout: int, exitContext: bool) -> int:...
|
1721
|
+
@typing.overload
|
1722
|
+
def __call__(self, waitHandles: Array_1[WaitHandle], timeout: TimeSpan, exitContext: bool) -> int:...
|
1723
|
+
|
1724
|
+
# Skipped WaitOne due to it being static, abstract and generic.
|
1725
|
+
|
1726
|
+
WaitOne : WaitOne_MethodGroup
|
1727
|
+
class WaitOne_MethodGroup:
|
1728
|
+
@typing.overload
|
1729
|
+
def __call__(self) -> bool:...
|
1730
|
+
@typing.overload
|
1731
|
+
def __call__(self, millisecondsTimeout: int) -> bool:...
|
1732
|
+
@typing.overload
|
1733
|
+
def __call__(self, timeout: TimeSpan) -> bool:...
|
1734
|
+
@typing.overload
|
1735
|
+
def __call__(self, millisecondsTimeout: int, exitContext: bool) -> bool:...
|
1736
|
+
@typing.overload
|
1737
|
+
def __call__(self, timeout: TimeSpan, exitContext: bool) -> bool:...
|
1738
|
+
|
1739
|
+
|
1740
|
+
|
1741
|
+
class WaitHandleCannotBeOpenedException(ApplicationException):
|
1742
|
+
@typing.overload
|
1743
|
+
def __init__(self) -> None: ...
|
1744
|
+
@typing.overload
|
1745
|
+
def __init__(self, message: str) -> None: ...
|
1746
|
+
@typing.overload
|
1747
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
1748
|
+
@property
|
1749
|
+
def Data(self) -> IDictionary: ...
|
1750
|
+
@property
|
1751
|
+
def HelpLink(self) -> str: ...
|
1752
|
+
@HelpLink.setter
|
1753
|
+
def HelpLink(self, value: str) -> str: ...
|
1754
|
+
@property
|
1755
|
+
def HResult(self) -> int: ...
|
1756
|
+
@HResult.setter
|
1757
|
+
def HResult(self, value: int) -> int: ...
|
1758
|
+
@property
|
1759
|
+
def InnerException(self) -> Exception: ...
|
1760
|
+
@property
|
1761
|
+
def Message(self) -> str: ...
|
1762
|
+
@property
|
1763
|
+
def Source(self) -> str: ...
|
1764
|
+
@Source.setter
|
1765
|
+
def Source(self, value: str) -> str: ...
|
1766
|
+
@property
|
1767
|
+
def StackTrace(self) -> str: ...
|
1768
|
+
@property
|
1769
|
+
def TargetSite(self) -> MethodBase: ...
|
1770
|
+
|
1771
|
+
|
1772
|
+
class WaitHandleExtensions(abc.ABC):
|
1773
|
+
@staticmethod
|
1774
|
+
def GetSafeWaitHandle(waitHandle: WaitHandle) -> SafeWaitHandle: ...
|
1775
|
+
@staticmethod
|
1776
|
+
def SetSafeWaitHandle(waitHandle: WaitHandle, value: SafeWaitHandle) -> None: ...
|
1777
|
+
|
1778
|
+
|
1779
|
+
class WaitOrTimerCallback(MulticastDelegate):
|
1780
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
1781
|
+
@property
|
1782
|
+
def Method(self) -> MethodInfo: ...
|
1783
|
+
@property
|
1784
|
+
def Target(self) -> typing.Any: ...
|
1785
|
+
def BeginInvoke(self, state: typing.Any, timedOut: bool, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
1786
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
1787
|
+
def Invoke(self, state: typing.Any, timedOut: bool) -> None: ...
|
1788
|
+
|