PySimultan 0.5.9.6__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 +9 -0
- PySimultan2/__about__.py +1 -1
- PySimultan2/data_model.py +12 -5
- PySimultan2/default_types.py +39 -8
- PySimultan2/files.py +1 -1
- PySimultan2/object_mapper.py +31 -3
- 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/taxonomy_maps.py +45 -27
- 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 +10 -5
- {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +5 -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.6.dist-info/RECORD +0 -81
- {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
- {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
import typing
|
2
|
+
from System.Reflection import AssemblyName, Assembly
|
3
|
+
from System.Collections.Generic import IEnumerable_1
|
4
|
+
from System.IO import Stream
|
5
|
+
from System import IDisposable
|
6
|
+
|
7
|
+
class AssemblyDependencyResolver:
|
8
|
+
def __init__(self, componentAssemblyPath: str) -> None: ...
|
9
|
+
def ResolveAssemblyToPath(self, assemblyName: AssemblyName) -> str: ...
|
10
|
+
def ResolveUnmanagedDllToPath(self, unmanagedDllName: str) -> str: ...
|
11
|
+
|
12
|
+
|
13
|
+
class AssemblyLoadContext:
|
14
|
+
def __init__(self, name: str, isCollectible: bool = ...) -> None: ...
|
15
|
+
@classmethod
|
16
|
+
@property
|
17
|
+
def All(cls) -> IEnumerable_1[AssemblyLoadContext]: ...
|
18
|
+
@property
|
19
|
+
def Assemblies(self) -> IEnumerable_1[Assembly]: ...
|
20
|
+
@classmethod
|
21
|
+
@property
|
22
|
+
def CurrentContextualReflectionContext(cls) -> AssemblyLoadContext: ...
|
23
|
+
@classmethod
|
24
|
+
@property
|
25
|
+
def Default(cls) -> AssemblyLoadContext: ...
|
26
|
+
@property
|
27
|
+
def IsCollectible(self) -> bool: ...
|
28
|
+
@property
|
29
|
+
def Name(self) -> str: ...
|
30
|
+
@staticmethod
|
31
|
+
def GetAssemblyName(assemblyPath: str) -> AssemblyName: ...
|
32
|
+
@staticmethod
|
33
|
+
def GetLoadContext(assembly: Assembly) -> AssemblyLoadContext: ...
|
34
|
+
def LoadFromAssemblyName(self, assemblyName: AssemblyName) -> Assembly: ...
|
35
|
+
def LoadFromAssemblyPath(self, assemblyPath: str) -> Assembly: ...
|
36
|
+
def LoadFromNativeImagePath(self, nativeImagePath: str, assemblyPath: str) -> Assembly: ...
|
37
|
+
def SetProfileOptimizationRoot(self, directoryPath: str) -> None: ...
|
38
|
+
def StartProfileOptimization(self, profile: str) -> None: ...
|
39
|
+
def ToString(self) -> str: ...
|
40
|
+
def Unload(self) -> None: ...
|
41
|
+
# Skipped EnterContextualReflection due to it being static, abstract and generic.
|
42
|
+
|
43
|
+
EnterContextualReflection : EnterContextualReflection_MethodGroup
|
44
|
+
class EnterContextualReflection_MethodGroup:
|
45
|
+
@typing.overload
|
46
|
+
def __call__(self) -> AssemblyLoadContext.ContextualReflectionScope:...
|
47
|
+
@typing.overload
|
48
|
+
def __call__(self, activating: Assembly) -> AssemblyLoadContext.ContextualReflectionScope:...
|
49
|
+
|
50
|
+
# Skipped LoadFromStream due to it being static, abstract and generic.
|
51
|
+
|
52
|
+
LoadFromStream : LoadFromStream_MethodGroup
|
53
|
+
class LoadFromStream_MethodGroup:
|
54
|
+
@typing.overload
|
55
|
+
def __call__(self, assembly: Stream) -> Assembly:...
|
56
|
+
@typing.overload
|
57
|
+
def __call__(self, assembly: Stream, assemblySymbols: Stream) -> Assembly:...
|
58
|
+
|
59
|
+
|
60
|
+
class ContextualReflectionScope(IDisposable):
|
61
|
+
def Dispose(self) -> None: ...
|
62
|
+
|
63
|
+
|
@@ -0,0 +1,269 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System import IDisposable, DateTime, Decimal, TypeCode, Attribute, EventArgs, SystemException, Exception
|
3
|
+
from System.Collections import IDictionary, IEnumerator
|
4
|
+
from System.Reflection import MethodBase
|
5
|
+
|
6
|
+
class DeserializationToken(IDisposable):
|
7
|
+
def Dispose(self) -> None: ...
|
8
|
+
|
9
|
+
|
10
|
+
class IDeserializationCallback(typing.Protocol):
|
11
|
+
@abc.abstractmethod
|
12
|
+
def OnDeserialization(self, sender: typing.Any) -> None: ...
|
13
|
+
|
14
|
+
|
15
|
+
class IFormatterConverter(typing.Protocol):
|
16
|
+
@abc.abstractmethod
|
17
|
+
def ToBoolean(self, value: typing.Any) -> bool: ...
|
18
|
+
@abc.abstractmethod
|
19
|
+
def ToByte(self, value: typing.Any) -> int: ...
|
20
|
+
@abc.abstractmethod
|
21
|
+
def ToChar(self, value: typing.Any) -> str: ...
|
22
|
+
@abc.abstractmethod
|
23
|
+
def ToDateTime(self, value: typing.Any) -> DateTime: ...
|
24
|
+
@abc.abstractmethod
|
25
|
+
def ToDecimal(self, value: typing.Any) -> Decimal: ...
|
26
|
+
@abc.abstractmethod
|
27
|
+
def ToDouble(self, value: typing.Any) -> float: ...
|
28
|
+
@abc.abstractmethod
|
29
|
+
def ToInt16(self, value: typing.Any) -> int: ...
|
30
|
+
@abc.abstractmethod
|
31
|
+
def ToInt32(self, value: typing.Any) -> int: ...
|
32
|
+
@abc.abstractmethod
|
33
|
+
def ToInt64(self, value: typing.Any) -> int: ...
|
34
|
+
@abc.abstractmethod
|
35
|
+
def ToSByte(self, value: typing.Any) -> int: ...
|
36
|
+
@abc.abstractmethod
|
37
|
+
def ToSingle(self, value: typing.Any) -> float: ...
|
38
|
+
@abc.abstractmethod
|
39
|
+
def ToString(self, value: typing.Any) -> str: ...
|
40
|
+
@abc.abstractmethod
|
41
|
+
def ToUInt16(self, value: typing.Any) -> int: ...
|
42
|
+
@abc.abstractmethod
|
43
|
+
def ToUInt32(self, value: typing.Any) -> int: ...
|
44
|
+
@abc.abstractmethod
|
45
|
+
def ToUInt64(self, value: typing.Any) -> int: ...
|
46
|
+
# Skipped Convert due to it being static, abstract and generic.
|
47
|
+
|
48
|
+
Convert : Convert_MethodGroup
|
49
|
+
class Convert_MethodGroup:
|
50
|
+
@typing.overload
|
51
|
+
def __call__(self, value: typing.Any, typeCode: TypeCode) -> typing.Any:...
|
52
|
+
@typing.overload
|
53
|
+
def __call__(self, value: typing.Any, type: typing.Type[typing.Any]) -> typing.Any:...
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
class IObjectReference(typing.Protocol):
|
58
|
+
@abc.abstractmethod
|
59
|
+
def GetRealObject(self, context: StreamingContext) -> typing.Any: ...
|
60
|
+
|
61
|
+
|
62
|
+
class ISafeSerializationData(typing.Protocol):
|
63
|
+
@abc.abstractmethod
|
64
|
+
def CompleteDeserialization(self, deserialized: typing.Any) -> None: ...
|
65
|
+
|
66
|
+
|
67
|
+
class ISerializable(typing.Protocol):
|
68
|
+
@abc.abstractmethod
|
69
|
+
def GetObjectData(self, info: SerializationInfo, context: StreamingContext) -> None: ...
|
70
|
+
|
71
|
+
|
72
|
+
class OnDeserializedAttribute(Attribute):
|
73
|
+
def __init__(self) -> None: ...
|
74
|
+
@property
|
75
|
+
def TypeId(self) -> typing.Any: ...
|
76
|
+
|
77
|
+
|
78
|
+
class OnDeserializingAttribute(Attribute):
|
79
|
+
def __init__(self) -> None: ...
|
80
|
+
@property
|
81
|
+
def TypeId(self) -> typing.Any: ...
|
82
|
+
|
83
|
+
|
84
|
+
class OnSerializedAttribute(Attribute):
|
85
|
+
def __init__(self) -> None: ...
|
86
|
+
@property
|
87
|
+
def TypeId(self) -> typing.Any: ...
|
88
|
+
|
89
|
+
|
90
|
+
class OnSerializingAttribute(Attribute):
|
91
|
+
def __init__(self) -> None: ...
|
92
|
+
@property
|
93
|
+
def TypeId(self) -> typing.Any: ...
|
94
|
+
|
95
|
+
|
96
|
+
class OptionalFieldAttribute(Attribute):
|
97
|
+
def __init__(self) -> None: ...
|
98
|
+
@property
|
99
|
+
def TypeId(self) -> typing.Any: ...
|
100
|
+
@property
|
101
|
+
def VersionAdded(self) -> int: ...
|
102
|
+
@VersionAdded.setter
|
103
|
+
def VersionAdded(self, value: int) -> int: ...
|
104
|
+
|
105
|
+
|
106
|
+
class SafeSerializationEventArgs(EventArgs):
|
107
|
+
@property
|
108
|
+
def StreamingContext(self) -> StreamingContext: ...
|
109
|
+
def AddSerializedState(self, serializedState: ISafeSerializationData) -> None: ...
|
110
|
+
|
111
|
+
|
112
|
+
class SerializationEntry:
|
113
|
+
@property
|
114
|
+
def Name(self) -> str: ...
|
115
|
+
@property
|
116
|
+
def ObjectType(self) -> typing.Type[typing.Any]: ...
|
117
|
+
@property
|
118
|
+
def Value(self) -> typing.Any: ...
|
119
|
+
|
120
|
+
|
121
|
+
class SerializationException(SystemException):
|
122
|
+
@typing.overload
|
123
|
+
def __init__(self) -> None: ...
|
124
|
+
@typing.overload
|
125
|
+
def __init__(self, message: str) -> None: ...
|
126
|
+
@typing.overload
|
127
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
128
|
+
@property
|
129
|
+
def Data(self) -> IDictionary: ...
|
130
|
+
@property
|
131
|
+
def HelpLink(self) -> str: ...
|
132
|
+
@HelpLink.setter
|
133
|
+
def HelpLink(self, value: str) -> str: ...
|
134
|
+
@property
|
135
|
+
def HResult(self) -> int: ...
|
136
|
+
@HResult.setter
|
137
|
+
def HResult(self, value: int) -> int: ...
|
138
|
+
@property
|
139
|
+
def InnerException(self) -> Exception: ...
|
140
|
+
@property
|
141
|
+
def Message(self) -> str: ...
|
142
|
+
@property
|
143
|
+
def Source(self) -> str: ...
|
144
|
+
@Source.setter
|
145
|
+
def Source(self, value: str) -> str: ...
|
146
|
+
@property
|
147
|
+
def StackTrace(self) -> str: ...
|
148
|
+
@property
|
149
|
+
def TargetSite(self) -> MethodBase: ...
|
150
|
+
|
151
|
+
|
152
|
+
class SerializationInfo:
|
153
|
+
@typing.overload
|
154
|
+
def __init__(self, type: typing.Type[typing.Any], converter: IFormatterConverter) -> None: ...
|
155
|
+
@typing.overload
|
156
|
+
def __init__(self, type: typing.Type[typing.Any], converter: IFormatterConverter, requireSameTokenInPartialTrust: bool) -> None: ...
|
157
|
+
@property
|
158
|
+
def AssemblyName(self) -> str: ...
|
159
|
+
@AssemblyName.setter
|
160
|
+
def AssemblyName(self, value: str) -> str: ...
|
161
|
+
@property
|
162
|
+
def FullTypeName(self) -> str: ...
|
163
|
+
@FullTypeName.setter
|
164
|
+
def FullTypeName(self, value: str) -> str: ...
|
165
|
+
@property
|
166
|
+
def IsAssemblyNameSetExplicit(self) -> bool: ...
|
167
|
+
@IsAssemblyNameSetExplicit.setter
|
168
|
+
def IsAssemblyNameSetExplicit(self, value: bool) -> bool: ...
|
169
|
+
@property
|
170
|
+
def IsFullTypeNameSetExplicit(self) -> bool: ...
|
171
|
+
@IsFullTypeNameSetExplicit.setter
|
172
|
+
def IsFullTypeNameSetExplicit(self, value: bool) -> bool: ...
|
173
|
+
@property
|
174
|
+
def MemberCount(self) -> int: ...
|
175
|
+
@property
|
176
|
+
def ObjectType(self) -> typing.Type[typing.Any]: ...
|
177
|
+
def GetBoolean(self, name: str) -> bool: ...
|
178
|
+
def GetByte(self, name: str) -> int: ...
|
179
|
+
def GetChar(self, name: str) -> str: ...
|
180
|
+
def GetDateTime(self, name: str) -> DateTime: ...
|
181
|
+
def GetDecimal(self, name: str) -> Decimal: ...
|
182
|
+
def GetDouble(self, name: str) -> float: ...
|
183
|
+
def GetEnumerator(self) -> SerializationInfoEnumerator: ...
|
184
|
+
def GetInt16(self, name: str) -> int: ...
|
185
|
+
def GetInt32(self, name: str) -> int: ...
|
186
|
+
def GetInt64(self, name: str) -> int: ...
|
187
|
+
def GetSByte(self, name: str) -> int: ...
|
188
|
+
def GetSingle(self, name: str) -> float: ...
|
189
|
+
def GetString(self, name: str) -> str: ...
|
190
|
+
def GetUInt16(self, name: str) -> int: ...
|
191
|
+
def GetUInt32(self, name: str) -> int: ...
|
192
|
+
def GetUInt64(self, name: str) -> int: ...
|
193
|
+
def GetValue(self, name: str, type: typing.Type[typing.Any]) -> typing.Any: ...
|
194
|
+
def SetType(self, type: typing.Type[typing.Any]) -> None: ...
|
195
|
+
@staticmethod
|
196
|
+
def StartDeserialization() -> DeserializationToken: ...
|
197
|
+
# Skipped AddValue due to it being static, abstract and generic.
|
198
|
+
|
199
|
+
AddValue : AddValue_MethodGroup
|
200
|
+
class AddValue_MethodGroup:
|
201
|
+
@typing.overload
|
202
|
+
def __call__(self, name: str, value: float) -> None:...
|
203
|
+
# Method AddValue(name : String, value : Double) was skipped since it collides with above method
|
204
|
+
@typing.overload
|
205
|
+
def __call__(self, name: str, value: str) -> None:...
|
206
|
+
# Method AddValue(name : String, value : SByte) was skipped since it collides with above method
|
207
|
+
# Method AddValue(name : String, value : Byte) was skipped since it collides with above method
|
208
|
+
# Method AddValue(name : String, value : Int16) was skipped since it collides with above method
|
209
|
+
# Method AddValue(name : String, value : UInt16) was skipped since it collides with above method
|
210
|
+
# Method AddValue(name : String, value : Int32) was skipped since it collides with above method
|
211
|
+
# Method AddValue(name : String, value : UInt32) was skipped since it collides with above method
|
212
|
+
# Method AddValue(name : String, value : Int64) was skipped since it collides with above method
|
213
|
+
# Method AddValue(name : String, value : UInt64) was skipped since it collides with above method
|
214
|
+
@typing.overload
|
215
|
+
def __call__(self, name: str, value: Decimal) -> None:...
|
216
|
+
# Method AddValue(name : String, value : Boolean) was skipped since it collides with above method
|
217
|
+
@typing.overload
|
218
|
+
def __call__(self, name: str, value: DateTime) -> None:...
|
219
|
+
@typing.overload
|
220
|
+
def __call__(self, name: str, value: typing.Any) -> None:...
|
221
|
+
@typing.overload
|
222
|
+
def __call__(self, name: str, value: typing.Any, type: typing.Type[typing.Any]) -> None:...
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
class SerializationInfoEnumerator(IEnumerator):
|
227
|
+
@property
|
228
|
+
def Current(self) -> SerializationEntry: ...
|
229
|
+
@property
|
230
|
+
def Name(self) -> str: ...
|
231
|
+
@property
|
232
|
+
def ObjectType(self) -> typing.Type[typing.Any]: ...
|
233
|
+
@property
|
234
|
+
def Value(self) -> typing.Any: ...
|
235
|
+
def MoveNext(self) -> bool: ...
|
236
|
+
def Reset(self) -> None: ...
|
237
|
+
|
238
|
+
|
239
|
+
class StreamingContext:
|
240
|
+
@typing.overload
|
241
|
+
def __init__(self, state: StreamingContextStates) -> None: ...
|
242
|
+
@typing.overload
|
243
|
+
def __init__(self, state: StreamingContextStates, additional: typing.Any) -> None: ...
|
244
|
+
@property
|
245
|
+
def Context(self) -> typing.Any: ...
|
246
|
+
@property
|
247
|
+
def State(self) -> StreamingContextStates: ...
|
248
|
+
def Equals(self, obj: typing.Any) -> bool: ...
|
249
|
+
def GetHashCode(self) -> int: ...
|
250
|
+
|
251
|
+
|
252
|
+
class StreamingContextStates(typing.SupportsInt):
|
253
|
+
@typing.overload
|
254
|
+
def __init__(self, value : int) -> None: ...
|
255
|
+
@typing.overload
|
256
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
257
|
+
def __int__(self) -> int: ...
|
258
|
+
|
259
|
+
# Values:
|
260
|
+
CrossProcess : StreamingContextStates # 1
|
261
|
+
CrossMachine : StreamingContextStates # 2
|
262
|
+
File : StreamingContextStates # 4
|
263
|
+
Persistence : StreamingContextStates # 8
|
264
|
+
Remoting : StreamingContextStates # 16
|
265
|
+
Other : StreamingContextStates # 32
|
266
|
+
Clone : StreamingContextStates # 64
|
267
|
+
CrossAppDomain : StreamingContextStates # 128
|
268
|
+
All : StreamingContextStates # 255
|
269
|
+
|
@@ -0,0 +1,200 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System import Attribute, IEquatable_1, Version
|
3
|
+
|
4
|
+
class ComponentGuaranteesAttribute(Attribute):
|
5
|
+
def __init__(self, guarantees: ComponentGuaranteesOptions) -> None: ...
|
6
|
+
@property
|
7
|
+
def Guarantees(self) -> ComponentGuaranteesOptions: ...
|
8
|
+
@property
|
9
|
+
def TypeId(self) -> typing.Any: ...
|
10
|
+
|
11
|
+
|
12
|
+
class ComponentGuaranteesOptions(typing.SupportsInt):
|
13
|
+
@typing.overload
|
14
|
+
def __init__(self, value : int) -> None: ...
|
15
|
+
@typing.overload
|
16
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
17
|
+
def __int__(self) -> int: ...
|
18
|
+
|
19
|
+
# Values:
|
20
|
+
None_ : ComponentGuaranteesOptions # 0
|
21
|
+
Exchange : ComponentGuaranteesOptions # 1
|
22
|
+
Stable : ComponentGuaranteesOptions # 2
|
23
|
+
SideBySide : ComponentGuaranteesOptions # 4
|
24
|
+
|
25
|
+
|
26
|
+
class FrameworkName(IEquatable_1[FrameworkName]):
|
27
|
+
@typing.overload
|
28
|
+
def __init__(self, frameworkName: str) -> None: ...
|
29
|
+
@typing.overload
|
30
|
+
def __init__(self, identifier: str, version: Version) -> None: ...
|
31
|
+
@typing.overload
|
32
|
+
def __init__(self, identifier: str, version: Version, profile: str) -> None: ...
|
33
|
+
@property
|
34
|
+
def FullName(self) -> str: ...
|
35
|
+
@property
|
36
|
+
def Identifier(self) -> str: ...
|
37
|
+
@property
|
38
|
+
def Profile(self) -> str: ...
|
39
|
+
@property
|
40
|
+
def Version(self) -> Version: ...
|
41
|
+
def GetHashCode(self) -> int: ...
|
42
|
+
def __eq__(self, left: FrameworkName, right: FrameworkName) -> bool: ...
|
43
|
+
def __ne__(self, left: FrameworkName, right: FrameworkName) -> bool: ...
|
44
|
+
def ToString(self) -> str: ...
|
45
|
+
# Skipped Equals due to it being static, abstract and generic.
|
46
|
+
|
47
|
+
Equals : Equals_MethodGroup
|
48
|
+
class Equals_MethodGroup:
|
49
|
+
@typing.overload
|
50
|
+
def __call__(self, other: FrameworkName) -> bool:...
|
51
|
+
@typing.overload
|
52
|
+
def __call__(self, obj: typing.Any) -> bool:...
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
class ObsoletedOSPlatformAttribute(OSPlatformAttribute):
|
57
|
+
@typing.overload
|
58
|
+
def __init__(self, platformName: str) -> None: ...
|
59
|
+
@typing.overload
|
60
|
+
def __init__(self, platformName: str, message: str) -> None: ...
|
61
|
+
@property
|
62
|
+
def Message(self) -> str: ...
|
63
|
+
@property
|
64
|
+
def PlatformName(self) -> str: ...
|
65
|
+
@property
|
66
|
+
def TypeId(self) -> typing.Any: ...
|
67
|
+
@property
|
68
|
+
def Url(self) -> str: ...
|
69
|
+
@Url.setter
|
70
|
+
def Url(self, value: str) -> str: ...
|
71
|
+
|
72
|
+
|
73
|
+
class OSPlatformAttribute(Attribute):
|
74
|
+
@property
|
75
|
+
def PlatformName(self) -> str: ...
|
76
|
+
@property
|
77
|
+
def TypeId(self) -> typing.Any: ...
|
78
|
+
|
79
|
+
|
80
|
+
class RequiresPreviewFeaturesAttribute(Attribute):
|
81
|
+
@typing.overload
|
82
|
+
def __init__(self) -> None: ...
|
83
|
+
@typing.overload
|
84
|
+
def __init__(self, message: str) -> None: ...
|
85
|
+
@property
|
86
|
+
def Message(self) -> str: ...
|
87
|
+
@property
|
88
|
+
def TypeId(self) -> typing.Any: ...
|
89
|
+
@property
|
90
|
+
def Url(self) -> str: ...
|
91
|
+
@Url.setter
|
92
|
+
def Url(self, value: str) -> str: ...
|
93
|
+
|
94
|
+
|
95
|
+
class ResourceConsumptionAttribute(Attribute):
|
96
|
+
@typing.overload
|
97
|
+
def __init__(self, resourceScope: ResourceScope) -> None: ...
|
98
|
+
@typing.overload
|
99
|
+
def __init__(self, resourceScope: ResourceScope, consumptionScope: ResourceScope) -> None: ...
|
100
|
+
@property
|
101
|
+
def ConsumptionScope(self) -> ResourceScope: ...
|
102
|
+
@property
|
103
|
+
def ResourceScope(self) -> ResourceScope: ...
|
104
|
+
@property
|
105
|
+
def TypeId(self) -> typing.Any: ...
|
106
|
+
|
107
|
+
|
108
|
+
class ResourceExposureAttribute(Attribute):
|
109
|
+
def __init__(self, exposureLevel: ResourceScope) -> None: ...
|
110
|
+
@property
|
111
|
+
def ResourceExposureLevel(self) -> ResourceScope: ...
|
112
|
+
@property
|
113
|
+
def TypeId(self) -> typing.Any: ...
|
114
|
+
|
115
|
+
|
116
|
+
class ResourceScope(typing.SupportsInt):
|
117
|
+
@typing.overload
|
118
|
+
def __init__(self, value : int) -> None: ...
|
119
|
+
@typing.overload
|
120
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
121
|
+
def __int__(self) -> int: ...
|
122
|
+
|
123
|
+
# Values:
|
124
|
+
None_ : ResourceScope # 0
|
125
|
+
Machine : ResourceScope # 1
|
126
|
+
Process : ResourceScope # 2
|
127
|
+
AppDomain : ResourceScope # 4
|
128
|
+
Library : ResourceScope # 8
|
129
|
+
Private : ResourceScope # 16
|
130
|
+
Assembly : ResourceScope # 32
|
131
|
+
|
132
|
+
|
133
|
+
class SupportedOSPlatformAttribute(OSPlatformAttribute):
|
134
|
+
def __init__(self, platformName: str) -> None: ...
|
135
|
+
@property
|
136
|
+
def PlatformName(self) -> str: ...
|
137
|
+
@property
|
138
|
+
def TypeId(self) -> typing.Any: ...
|
139
|
+
|
140
|
+
|
141
|
+
class SupportedOSPlatformGuardAttribute(OSPlatformAttribute):
|
142
|
+
def __init__(self, platformName: str) -> None: ...
|
143
|
+
@property
|
144
|
+
def PlatformName(self) -> str: ...
|
145
|
+
@property
|
146
|
+
def TypeId(self) -> typing.Any: ...
|
147
|
+
|
148
|
+
|
149
|
+
class TargetFrameworkAttribute(Attribute):
|
150
|
+
def __init__(self, frameworkName: str) -> None: ...
|
151
|
+
@property
|
152
|
+
def FrameworkDisplayName(self) -> str: ...
|
153
|
+
@FrameworkDisplayName.setter
|
154
|
+
def FrameworkDisplayName(self, value: str) -> str: ...
|
155
|
+
@property
|
156
|
+
def FrameworkName(self) -> str: ...
|
157
|
+
@property
|
158
|
+
def TypeId(self) -> typing.Any: ...
|
159
|
+
|
160
|
+
|
161
|
+
class TargetPlatformAttribute(OSPlatformAttribute):
|
162
|
+
def __init__(self, platformName: str) -> None: ...
|
163
|
+
@property
|
164
|
+
def PlatformName(self) -> str: ...
|
165
|
+
@property
|
166
|
+
def TypeId(self) -> typing.Any: ...
|
167
|
+
|
168
|
+
|
169
|
+
class UnsupportedOSPlatformAttribute(OSPlatformAttribute):
|
170
|
+
@typing.overload
|
171
|
+
def __init__(self, platformName: str) -> None: ...
|
172
|
+
@typing.overload
|
173
|
+
def __init__(self, platformName: str, message: str) -> None: ...
|
174
|
+
@property
|
175
|
+
def Message(self) -> str: ...
|
176
|
+
@property
|
177
|
+
def PlatformName(self) -> str: ...
|
178
|
+
@property
|
179
|
+
def TypeId(self) -> typing.Any: ...
|
180
|
+
|
181
|
+
|
182
|
+
class UnsupportedOSPlatformGuardAttribute(OSPlatformAttribute):
|
183
|
+
def __init__(self, platformName: str) -> None: ...
|
184
|
+
@property
|
185
|
+
def PlatformName(self) -> str: ...
|
186
|
+
@property
|
187
|
+
def TypeId(self) -> typing.Any: ...
|
188
|
+
|
189
|
+
|
190
|
+
class VersioningHelper(abc.ABC):
|
191
|
+
# Skipped MakeVersionSafeName due to it being static, abstract and generic.
|
192
|
+
|
193
|
+
MakeVersionSafeName : MakeVersionSafeName_MethodGroup
|
194
|
+
class MakeVersionSafeName_MethodGroup:
|
195
|
+
@typing.overload
|
196
|
+
def __call__(self, name: str, from_: ResourceScope, to: ResourceScope) -> str:...
|
197
|
+
@typing.overload
|
198
|
+
def __call__(self, name: str, from_: ResourceScope, to: ResourceScope, type: typing.Type[typing.Any]) -> str:...
|
199
|
+
|
200
|
+
|
@@ -0,0 +1,141 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System import Exception, Attribute, Action, IDisposable, ValueTuple_2, TimeSpan
|
3
|
+
from System.Collections import IDictionary
|
4
|
+
from System.Reflection import MethodBase
|
5
|
+
from System.Threading import CancellationToken
|
6
|
+
from System.Runtime.ConstrainedExecution import CriticalFinalizerObject
|
7
|
+
|
8
|
+
class AmbiguousImplementationException(Exception):
|
9
|
+
@typing.overload
|
10
|
+
def __init__(self) -> None: ...
|
11
|
+
@typing.overload
|
12
|
+
def __init__(self, message: str) -> None: ...
|
13
|
+
@typing.overload
|
14
|
+
def __init__(self, message: str, innerException: Exception) -> None: ...
|
15
|
+
@property
|
16
|
+
def Data(self) -> IDictionary: ...
|
17
|
+
@property
|
18
|
+
def HelpLink(self) -> str: ...
|
19
|
+
@HelpLink.setter
|
20
|
+
def HelpLink(self, value: str) -> str: ...
|
21
|
+
@property
|
22
|
+
def HResult(self) -> int: ...
|
23
|
+
@HResult.setter
|
24
|
+
def HResult(self, value: int) -> int: ...
|
25
|
+
@property
|
26
|
+
def InnerException(self) -> Exception: ...
|
27
|
+
@property
|
28
|
+
def Message(self) -> str: ...
|
29
|
+
@property
|
30
|
+
def Source(self) -> str: ...
|
31
|
+
@Source.setter
|
32
|
+
def Source(self, value: str) -> str: ...
|
33
|
+
@property
|
34
|
+
def StackTrace(self) -> str: ...
|
35
|
+
@property
|
36
|
+
def TargetSite(self) -> MethodBase: ...
|
37
|
+
|
38
|
+
|
39
|
+
class AssemblyTargetedPatchBandAttribute(Attribute):
|
40
|
+
def __init__(self, targetedPatchBand: str) -> None: ...
|
41
|
+
@property
|
42
|
+
def TargetedPatchBand(self) -> str: ...
|
43
|
+
@property
|
44
|
+
def TypeId(self) -> typing.Any: ...
|
45
|
+
|
46
|
+
|
47
|
+
class ControlledExecution(abc.ABC):
|
48
|
+
@staticmethod
|
49
|
+
def Run(action: Action, cancellationToken: CancellationToken) -> None: ...
|
50
|
+
|
51
|
+
|
52
|
+
class DependentHandle(IDisposable):
|
53
|
+
def __init__(self, target: typing.Any, dependent: typing.Any) -> None: ...
|
54
|
+
@property
|
55
|
+
def Dependent(self) -> typing.Any: ...
|
56
|
+
@Dependent.setter
|
57
|
+
def Dependent(self, value: typing.Any) -> typing.Any: ...
|
58
|
+
@property
|
59
|
+
def IsAllocated(self) -> bool: ...
|
60
|
+
@property
|
61
|
+
def Target(self) -> typing.Any: ...
|
62
|
+
@Target.setter
|
63
|
+
def Target(self, value: typing.Any) -> typing.Any: ...
|
64
|
+
@property
|
65
|
+
def TargetAndDependent(self) -> ValueTuple_2[typing.Any, typing.Any]: ...
|
66
|
+
def Dispose(self) -> None: ...
|
67
|
+
|
68
|
+
|
69
|
+
class GCLargeObjectHeapCompactionMode(typing.SupportsInt):
|
70
|
+
@typing.overload
|
71
|
+
def __init__(self, value : int) -> None: ...
|
72
|
+
@typing.overload
|
73
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
74
|
+
def __int__(self) -> int: ...
|
75
|
+
|
76
|
+
# Values:
|
77
|
+
Default : GCLargeObjectHeapCompactionMode # 1
|
78
|
+
CompactOnce : GCLargeObjectHeapCompactionMode # 2
|
79
|
+
|
80
|
+
|
81
|
+
class GCLatencyMode(typing.SupportsInt):
|
82
|
+
@typing.overload
|
83
|
+
def __init__(self, value : int) -> None: ...
|
84
|
+
@typing.overload
|
85
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
86
|
+
def __int__(self) -> int: ...
|
87
|
+
|
88
|
+
# Values:
|
89
|
+
Batch : GCLatencyMode # 0
|
90
|
+
Interactive : GCLatencyMode # 1
|
91
|
+
LowLatency : GCLatencyMode # 2
|
92
|
+
SustainedLowLatency : GCLatencyMode # 3
|
93
|
+
NoGCRegion : GCLatencyMode # 4
|
94
|
+
|
95
|
+
|
96
|
+
class GCSettings(abc.ABC):
|
97
|
+
@classmethod
|
98
|
+
@property
|
99
|
+
def IsServerGC(cls) -> bool: ...
|
100
|
+
@classmethod
|
101
|
+
@property
|
102
|
+
def LargeObjectHeapCompactionMode(cls) -> GCLargeObjectHeapCompactionMode: ...
|
103
|
+
@classmethod
|
104
|
+
@LargeObjectHeapCompactionMode.setter
|
105
|
+
def LargeObjectHeapCompactionMode(cls, value: GCLargeObjectHeapCompactionMode) -> GCLargeObjectHeapCompactionMode: ...
|
106
|
+
@classmethod
|
107
|
+
@property
|
108
|
+
def LatencyMode(cls) -> GCLatencyMode: ...
|
109
|
+
@classmethod
|
110
|
+
@LatencyMode.setter
|
111
|
+
def LatencyMode(cls, value: GCLatencyMode) -> GCLatencyMode: ...
|
112
|
+
|
113
|
+
|
114
|
+
class JitInfo(abc.ABC):
|
115
|
+
@staticmethod
|
116
|
+
def GetCompilationTime(currentThread: bool = ...) -> TimeSpan: ...
|
117
|
+
@staticmethod
|
118
|
+
def GetCompiledILBytes(currentThread: bool = ...) -> int: ...
|
119
|
+
@staticmethod
|
120
|
+
def GetCompiledMethodCount(currentThread: bool = ...) -> int: ...
|
121
|
+
|
122
|
+
|
123
|
+
class MemoryFailPoint(CriticalFinalizerObject, IDisposable):
|
124
|
+
def __init__(self, sizeInMegabytes: int) -> None: ...
|
125
|
+
def Dispose(self) -> None: ...
|
126
|
+
|
127
|
+
|
128
|
+
class ProfileOptimization(abc.ABC):
|
129
|
+
@staticmethod
|
130
|
+
def SetProfileRoot(directoryPath: str) -> None: ...
|
131
|
+
@staticmethod
|
132
|
+
def StartProfile(profile: str) -> None: ...
|
133
|
+
|
134
|
+
|
135
|
+
class TargetedPatchingOptOutAttribute(Attribute):
|
136
|
+
def __init__(self, reason: str) -> None: ...
|
137
|
+
@property
|
138
|
+
def Reason(self) -> str: ...
|
139
|
+
@property
|
140
|
+
def TypeId(self) -> typing.Any: ...
|
141
|
+
|