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,248 @@
|
|
1
|
+
import typing, clr, abc
|
2
|
+
from System import ReadOnlySpan_1, Half, Int128, UInt128, UIntPtr, Span_1
|
3
|
+
|
4
|
+
class BinaryPrimitives(abc.ABC):
|
5
|
+
@staticmethod
|
6
|
+
def ReadDoubleBigEndian(source: ReadOnlySpan_1[int]) -> float: ...
|
7
|
+
@staticmethod
|
8
|
+
def ReadDoubleLittleEndian(source: ReadOnlySpan_1[int]) -> float: ...
|
9
|
+
@staticmethod
|
10
|
+
def ReadHalfBigEndian(source: ReadOnlySpan_1[int]) -> Half: ...
|
11
|
+
@staticmethod
|
12
|
+
def ReadHalfLittleEndian(source: ReadOnlySpan_1[int]) -> Half: ...
|
13
|
+
@staticmethod
|
14
|
+
def ReadInt128BigEndian(source: ReadOnlySpan_1[int]) -> Int128: ...
|
15
|
+
@staticmethod
|
16
|
+
def ReadInt128LittleEndian(source: ReadOnlySpan_1[int]) -> Int128: ...
|
17
|
+
@staticmethod
|
18
|
+
def ReadInt16BigEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
19
|
+
@staticmethod
|
20
|
+
def ReadInt16LittleEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
21
|
+
@staticmethod
|
22
|
+
def ReadInt32BigEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
23
|
+
@staticmethod
|
24
|
+
def ReadInt32LittleEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
25
|
+
@staticmethod
|
26
|
+
def ReadInt64BigEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
27
|
+
@staticmethod
|
28
|
+
def ReadInt64LittleEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
29
|
+
@staticmethod
|
30
|
+
def ReadIntPtrBigEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
31
|
+
@staticmethod
|
32
|
+
def ReadIntPtrLittleEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
33
|
+
@staticmethod
|
34
|
+
def ReadSingleBigEndian(source: ReadOnlySpan_1[int]) -> float: ...
|
35
|
+
@staticmethod
|
36
|
+
def ReadSingleLittleEndian(source: ReadOnlySpan_1[int]) -> float: ...
|
37
|
+
@staticmethod
|
38
|
+
def ReadUInt128BigEndian(source: ReadOnlySpan_1[int]) -> UInt128: ...
|
39
|
+
@staticmethod
|
40
|
+
def ReadUInt128LittleEndian(source: ReadOnlySpan_1[int]) -> UInt128: ...
|
41
|
+
@staticmethod
|
42
|
+
def ReadUInt16BigEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
43
|
+
@staticmethod
|
44
|
+
def ReadUInt16LittleEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
45
|
+
@staticmethod
|
46
|
+
def ReadUInt32BigEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
47
|
+
@staticmethod
|
48
|
+
def ReadUInt32LittleEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
49
|
+
@staticmethod
|
50
|
+
def ReadUInt64BigEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
51
|
+
@staticmethod
|
52
|
+
def ReadUInt64LittleEndian(source: ReadOnlySpan_1[int]) -> int: ...
|
53
|
+
@staticmethod
|
54
|
+
def ReadUIntPtrBigEndian(source: ReadOnlySpan_1[int]) -> UIntPtr: ...
|
55
|
+
@staticmethod
|
56
|
+
def ReadUIntPtrLittleEndian(source: ReadOnlySpan_1[int]) -> UIntPtr: ...
|
57
|
+
@staticmethod
|
58
|
+
def TryReadDoubleBigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[float]) -> bool: ...
|
59
|
+
@staticmethod
|
60
|
+
def TryReadDoubleLittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[float]) -> bool: ...
|
61
|
+
@staticmethod
|
62
|
+
def TryReadHalfBigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[Half]) -> bool: ...
|
63
|
+
@staticmethod
|
64
|
+
def TryReadHalfLittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[Half]) -> bool: ...
|
65
|
+
@staticmethod
|
66
|
+
def TryReadInt128BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[Int128]) -> bool: ...
|
67
|
+
@staticmethod
|
68
|
+
def TryReadInt128LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[Int128]) -> bool: ...
|
69
|
+
@staticmethod
|
70
|
+
def TryReadInt16BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
71
|
+
@staticmethod
|
72
|
+
def TryReadInt16LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
73
|
+
@staticmethod
|
74
|
+
def TryReadInt32BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
75
|
+
@staticmethod
|
76
|
+
def TryReadInt32LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
77
|
+
@staticmethod
|
78
|
+
def TryReadInt64BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
79
|
+
@staticmethod
|
80
|
+
def TryReadInt64LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
81
|
+
@staticmethod
|
82
|
+
def TryReadIntPtrBigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
83
|
+
@staticmethod
|
84
|
+
def TryReadIntPtrLittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
85
|
+
@staticmethod
|
86
|
+
def TryReadSingleBigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[float]) -> bool: ...
|
87
|
+
@staticmethod
|
88
|
+
def TryReadSingleLittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[float]) -> bool: ...
|
89
|
+
@staticmethod
|
90
|
+
def TryReadUInt128BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[UInt128]) -> bool: ...
|
91
|
+
@staticmethod
|
92
|
+
def TryReadUInt128LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[UInt128]) -> bool: ...
|
93
|
+
@staticmethod
|
94
|
+
def TryReadUInt16BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
95
|
+
@staticmethod
|
96
|
+
def TryReadUInt16LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
97
|
+
@staticmethod
|
98
|
+
def TryReadUInt32BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
99
|
+
@staticmethod
|
100
|
+
def TryReadUInt32LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
101
|
+
@staticmethod
|
102
|
+
def TryReadUInt64BigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
103
|
+
@staticmethod
|
104
|
+
def TryReadUInt64LittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[int]) -> bool: ...
|
105
|
+
@staticmethod
|
106
|
+
def TryReadUIntPtrBigEndian(source: ReadOnlySpan_1[int], value: clr.Reference[UIntPtr]) -> bool: ...
|
107
|
+
@staticmethod
|
108
|
+
def TryReadUIntPtrLittleEndian(source: ReadOnlySpan_1[int], value: clr.Reference[UIntPtr]) -> bool: ...
|
109
|
+
@staticmethod
|
110
|
+
def TryWriteDoubleBigEndian(destination: Span_1[int], value: float) -> bool: ...
|
111
|
+
@staticmethod
|
112
|
+
def TryWriteDoubleLittleEndian(destination: Span_1[int], value: float) -> bool: ...
|
113
|
+
@staticmethod
|
114
|
+
def TryWriteHalfBigEndian(destination: Span_1[int], value: Half) -> bool: ...
|
115
|
+
@staticmethod
|
116
|
+
def TryWriteHalfLittleEndian(destination: Span_1[int], value: Half) -> bool: ...
|
117
|
+
@staticmethod
|
118
|
+
def TryWriteInt128BigEndian(destination: Span_1[int], value: Int128) -> bool: ...
|
119
|
+
@staticmethod
|
120
|
+
def TryWriteInt128LittleEndian(destination: Span_1[int], value: Int128) -> bool: ...
|
121
|
+
@staticmethod
|
122
|
+
def TryWriteInt16BigEndian(destination: Span_1[int], value: int) -> bool: ...
|
123
|
+
@staticmethod
|
124
|
+
def TryWriteInt16LittleEndian(destination: Span_1[int], value: int) -> bool: ...
|
125
|
+
@staticmethod
|
126
|
+
def TryWriteInt32BigEndian(destination: Span_1[int], value: int) -> bool: ...
|
127
|
+
@staticmethod
|
128
|
+
def TryWriteInt32LittleEndian(destination: Span_1[int], value: int) -> bool: ...
|
129
|
+
@staticmethod
|
130
|
+
def TryWriteInt64BigEndian(destination: Span_1[int], value: int) -> bool: ...
|
131
|
+
@staticmethod
|
132
|
+
def TryWriteInt64LittleEndian(destination: Span_1[int], value: int) -> bool: ...
|
133
|
+
@staticmethod
|
134
|
+
def TryWriteIntPtrBigEndian(destination: Span_1[int], value: int) -> bool: ...
|
135
|
+
@staticmethod
|
136
|
+
def TryWriteIntPtrLittleEndian(destination: Span_1[int], value: int) -> bool: ...
|
137
|
+
@staticmethod
|
138
|
+
def TryWriteSingleBigEndian(destination: Span_1[int], value: float) -> bool: ...
|
139
|
+
@staticmethod
|
140
|
+
def TryWriteSingleLittleEndian(destination: Span_1[int], value: float) -> bool: ...
|
141
|
+
@staticmethod
|
142
|
+
def TryWriteUInt128BigEndian(destination: Span_1[int], value: UInt128) -> bool: ...
|
143
|
+
@staticmethod
|
144
|
+
def TryWriteUInt128LittleEndian(destination: Span_1[int], value: UInt128) -> bool: ...
|
145
|
+
@staticmethod
|
146
|
+
def TryWriteUInt16BigEndian(destination: Span_1[int], value: int) -> bool: ...
|
147
|
+
@staticmethod
|
148
|
+
def TryWriteUInt16LittleEndian(destination: Span_1[int], value: int) -> bool: ...
|
149
|
+
@staticmethod
|
150
|
+
def TryWriteUInt32BigEndian(destination: Span_1[int], value: int) -> bool: ...
|
151
|
+
@staticmethod
|
152
|
+
def TryWriteUInt32LittleEndian(destination: Span_1[int], value: int) -> bool: ...
|
153
|
+
@staticmethod
|
154
|
+
def TryWriteUInt64BigEndian(destination: Span_1[int], value: int) -> bool: ...
|
155
|
+
@staticmethod
|
156
|
+
def TryWriteUInt64LittleEndian(destination: Span_1[int], value: int) -> bool: ...
|
157
|
+
@staticmethod
|
158
|
+
def TryWriteUIntPtrBigEndian(destination: Span_1[int], value: UIntPtr) -> bool: ...
|
159
|
+
@staticmethod
|
160
|
+
def TryWriteUIntPtrLittleEndian(destination: Span_1[int], value: UIntPtr) -> bool: ...
|
161
|
+
@staticmethod
|
162
|
+
def WriteDoubleBigEndian(destination: Span_1[int], value: float) -> None: ...
|
163
|
+
@staticmethod
|
164
|
+
def WriteDoubleLittleEndian(destination: Span_1[int], value: float) -> None: ...
|
165
|
+
@staticmethod
|
166
|
+
def WriteHalfBigEndian(destination: Span_1[int], value: Half) -> None: ...
|
167
|
+
@staticmethod
|
168
|
+
def WriteHalfLittleEndian(destination: Span_1[int], value: Half) -> None: ...
|
169
|
+
@staticmethod
|
170
|
+
def WriteInt128BigEndian(destination: Span_1[int], value: Int128) -> None: ...
|
171
|
+
@staticmethod
|
172
|
+
def WriteInt128LittleEndian(destination: Span_1[int], value: Int128) -> None: ...
|
173
|
+
@staticmethod
|
174
|
+
def WriteInt16BigEndian(destination: Span_1[int], value: int) -> None: ...
|
175
|
+
@staticmethod
|
176
|
+
def WriteInt16LittleEndian(destination: Span_1[int], value: int) -> None: ...
|
177
|
+
@staticmethod
|
178
|
+
def WriteInt32BigEndian(destination: Span_1[int], value: int) -> None: ...
|
179
|
+
@staticmethod
|
180
|
+
def WriteInt32LittleEndian(destination: Span_1[int], value: int) -> None: ...
|
181
|
+
@staticmethod
|
182
|
+
def WriteInt64BigEndian(destination: Span_1[int], value: int) -> None: ...
|
183
|
+
@staticmethod
|
184
|
+
def WriteInt64LittleEndian(destination: Span_1[int], value: int) -> None: ...
|
185
|
+
@staticmethod
|
186
|
+
def WriteIntPtrBigEndian(destination: Span_1[int], value: int) -> None: ...
|
187
|
+
@staticmethod
|
188
|
+
def WriteIntPtrLittleEndian(destination: Span_1[int], value: int) -> None: ...
|
189
|
+
@staticmethod
|
190
|
+
def WriteSingleBigEndian(destination: Span_1[int], value: float) -> None: ...
|
191
|
+
@staticmethod
|
192
|
+
def WriteSingleLittleEndian(destination: Span_1[int], value: float) -> None: ...
|
193
|
+
@staticmethod
|
194
|
+
def WriteUInt128BigEndian(destination: Span_1[int], value: UInt128) -> None: ...
|
195
|
+
@staticmethod
|
196
|
+
def WriteUInt128LittleEndian(destination: Span_1[int], value: UInt128) -> None: ...
|
197
|
+
@staticmethod
|
198
|
+
def WriteUInt16BigEndian(destination: Span_1[int], value: int) -> None: ...
|
199
|
+
@staticmethod
|
200
|
+
def WriteUInt16LittleEndian(destination: Span_1[int], value: int) -> None: ...
|
201
|
+
@staticmethod
|
202
|
+
def WriteUInt32BigEndian(destination: Span_1[int], value: int) -> None: ...
|
203
|
+
@staticmethod
|
204
|
+
def WriteUInt32LittleEndian(destination: Span_1[int], value: int) -> None: ...
|
205
|
+
@staticmethod
|
206
|
+
def WriteUInt64BigEndian(destination: Span_1[int], value: int) -> None: ...
|
207
|
+
@staticmethod
|
208
|
+
def WriteUInt64LittleEndian(destination: Span_1[int], value: int) -> None: ...
|
209
|
+
@staticmethod
|
210
|
+
def WriteUIntPtrBigEndian(destination: Span_1[int], value: UIntPtr) -> None: ...
|
211
|
+
@staticmethod
|
212
|
+
def WriteUIntPtrLittleEndian(destination: Span_1[int], value: UIntPtr) -> None: ...
|
213
|
+
# Skipped ReverseEndianness due to it being static, abstract and generic.
|
214
|
+
|
215
|
+
ReverseEndianness : ReverseEndianness_MethodGroup
|
216
|
+
class ReverseEndianness_MethodGroup:
|
217
|
+
@typing.overload
|
218
|
+
def __call__(self, value: int) -> int:...
|
219
|
+
# Method ReverseEndianness(value : Int16) was skipped since it collides with above method
|
220
|
+
# Method ReverseEndianness(value : Int32) was skipped since it collides with above method
|
221
|
+
# Method ReverseEndianness(value : Int64) was skipped since it collides with above method
|
222
|
+
@typing.overload
|
223
|
+
def __call__(self, value: Int128) -> Int128:...
|
224
|
+
# Method ReverseEndianness(value : Byte) was skipped since it collides with above method
|
225
|
+
# Method ReverseEndianness(value : UInt16) was skipped since it collides with above method
|
226
|
+
# Method ReverseEndianness(value : UInt32) was skipped since it collides with above method
|
227
|
+
# Method ReverseEndianness(value : UInt64) was skipped since it collides with above method
|
228
|
+
@typing.overload
|
229
|
+
def __call__(self, value: UInt128) -> UInt128:...
|
230
|
+
# Method ReverseEndianness(value : IntPtr) was skipped since it collides with above method
|
231
|
+
@typing.overload
|
232
|
+
def __call__(self, value: UIntPtr) -> UIntPtr:...
|
233
|
+
@typing.overload
|
234
|
+
def __call__(self, source: ReadOnlySpan_1[int], destination: Span_1[int]) -> None:...
|
235
|
+
# Method ReverseEndianness(source : ReadOnlySpan`1, destination : Span`1) was skipped since it collides with above method
|
236
|
+
# Method ReverseEndianness(source : ReadOnlySpan`1, destination : Span`1) was skipped since it collides with above method
|
237
|
+
# Method ReverseEndianness(source : ReadOnlySpan`1, destination : Span`1) was skipped since it collides with above method
|
238
|
+
# Method ReverseEndianness(source : ReadOnlySpan`1, destination : Span`1) was skipped since it collides with above method
|
239
|
+
# Method ReverseEndianness(source : ReadOnlySpan`1, destination : Span`1) was skipped since it collides with above method
|
240
|
+
@typing.overload
|
241
|
+
def __call__(self, source: ReadOnlySpan_1[UInt128], destination: Span_1[UInt128]) -> None:...
|
242
|
+
@typing.overload
|
243
|
+
def __call__(self, source: ReadOnlySpan_1[Int128], destination: Span_1[Int128]) -> None:...
|
244
|
+
@typing.overload
|
245
|
+
def __call__(self, source: ReadOnlySpan_1[UIntPtr], destination: Span_1[UIntPtr]) -> None:...
|
246
|
+
# Method ReverseEndianness(source : ReadOnlySpan`1, destination : Span`1) was skipped since it collides with above method
|
247
|
+
|
248
|
+
|
@@ -0,0 +1,91 @@
|
|
1
|
+
import typing, clr, abc
|
2
|
+
from System.Buffers import OperationStatus, StandardFormat
|
3
|
+
from System import ReadOnlySpan_1, Span_1, Decimal, DateTimeOffset, DateTime, Guid, TimeSpan
|
4
|
+
|
5
|
+
class Base64(abc.ABC):
|
6
|
+
@staticmethod
|
7
|
+
def DecodeFromUtf8(utf8: ReadOnlySpan_1[int], bytes: Span_1[int], bytesConsumed: clr.Reference[int], bytesWritten: clr.Reference[int], isFinalBlock: bool = ...) -> OperationStatus: ...
|
8
|
+
@staticmethod
|
9
|
+
def DecodeFromUtf8InPlace(buffer: Span_1[int], bytesWritten: clr.Reference[int]) -> OperationStatus: ...
|
10
|
+
@staticmethod
|
11
|
+
def EncodeToUtf8(bytes: ReadOnlySpan_1[int], utf8: Span_1[int], bytesConsumed: clr.Reference[int], bytesWritten: clr.Reference[int], isFinalBlock: bool = ...) -> OperationStatus: ...
|
12
|
+
@staticmethod
|
13
|
+
def EncodeToUtf8InPlace(buffer: Span_1[int], dataLength: int, bytesWritten: clr.Reference[int]) -> OperationStatus: ...
|
14
|
+
@staticmethod
|
15
|
+
def GetMaxDecodedFromUtf8Length(length: int) -> int: ...
|
16
|
+
@staticmethod
|
17
|
+
def GetMaxEncodedToUtf8Length(length: int) -> int: ...
|
18
|
+
# Skipped IsValid due to it being static, abstract and generic.
|
19
|
+
|
20
|
+
IsValid : IsValid_MethodGroup
|
21
|
+
class IsValid_MethodGroup:
|
22
|
+
@typing.overload
|
23
|
+
def __call__(self, base64Text: ReadOnlySpan_1[str]) -> bool:...
|
24
|
+
@typing.overload
|
25
|
+
def __call__(self, base64TextUtf8: ReadOnlySpan_1[int]) -> bool:...
|
26
|
+
@typing.overload
|
27
|
+
def __call__(self, base64TextUtf8: ReadOnlySpan_1[int], decodedLength: clr.Reference[int]) -> bool:...
|
28
|
+
@typing.overload
|
29
|
+
def __call__(self, base64Text: ReadOnlySpan_1[str], decodedLength: clr.Reference[int]) -> bool:...
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
class Utf8Formatter(abc.ABC):
|
34
|
+
# Skipped TryFormat due to it being static, abstract and generic.
|
35
|
+
|
36
|
+
TryFormat : TryFormat_MethodGroup
|
37
|
+
class TryFormat_MethodGroup:
|
38
|
+
@typing.overload
|
39
|
+
def __call__(self, value: float, destination: Span_1[int], bytesWritten: clr.Reference[int], format: StandardFormat = ...) -> bool:...
|
40
|
+
# Method TryFormat(value : Single, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
41
|
+
# Method TryFormat(value : Byte, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
42
|
+
# Method TryFormat(value : SByte, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
43
|
+
# Method TryFormat(value : UInt16, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
44
|
+
# Method TryFormat(value : Int16, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
45
|
+
# Method TryFormat(value : UInt32, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
46
|
+
# Method TryFormat(value : Int32, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
47
|
+
# Method TryFormat(value : UInt64, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
48
|
+
# Method TryFormat(value : Int64, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
49
|
+
@typing.overload
|
50
|
+
def __call__(self, value: Decimal, destination: Span_1[int], bytesWritten: clr.Reference[int], format: StandardFormat = ...) -> bool:...
|
51
|
+
# Method TryFormat(value : Boolean, destination : Span`1, bytesWritten : Int32&, format : StandardFormat) was skipped since it collides with above method
|
52
|
+
@typing.overload
|
53
|
+
def __call__(self, value: DateTimeOffset, destination: Span_1[int], bytesWritten: clr.Reference[int], format: StandardFormat = ...) -> bool:...
|
54
|
+
@typing.overload
|
55
|
+
def __call__(self, value: DateTime, destination: Span_1[int], bytesWritten: clr.Reference[int], format: StandardFormat = ...) -> bool:...
|
56
|
+
@typing.overload
|
57
|
+
def __call__(self, value: Guid, destination: Span_1[int], bytesWritten: clr.Reference[int], format: StandardFormat = ...) -> bool:...
|
58
|
+
@typing.overload
|
59
|
+
def __call__(self, value: TimeSpan, destination: Span_1[int], bytesWritten: clr.Reference[int], format: StandardFormat = ...) -> bool:...
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
class Utf8Parser(abc.ABC):
|
64
|
+
# Skipped TryParse due to it being static, abstract and generic.
|
65
|
+
|
66
|
+
TryParse : TryParse_MethodGroup
|
67
|
+
class TryParse_MethodGroup:
|
68
|
+
@typing.overload
|
69
|
+
def __call__(self, source: ReadOnlySpan_1[int], value: clr.Reference[float], bytesConsumed: clr.Reference[int], standardFormat: str = ...) -> bool:...
|
70
|
+
# Method TryParse(source : ReadOnlySpan`1, value : Double&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
71
|
+
# Method TryParse(source : ReadOnlySpan`1, value : SByte&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
72
|
+
# Method TryParse(source : ReadOnlySpan`1, value : Int16&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
73
|
+
# Method TryParse(source : ReadOnlySpan`1, value : Int32&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
74
|
+
# Method TryParse(source : ReadOnlySpan`1, value : Int64&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
75
|
+
# Method TryParse(source : ReadOnlySpan`1, value : Byte&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
76
|
+
# Method TryParse(source : ReadOnlySpan`1, value : UInt16&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
77
|
+
# Method TryParse(source : ReadOnlySpan`1, value : UInt32&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
78
|
+
# Method TryParse(source : ReadOnlySpan`1, value : UInt64&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
79
|
+
@typing.overload
|
80
|
+
def __call__(self, source: ReadOnlySpan_1[int], value: clr.Reference[Decimal], bytesConsumed: clr.Reference[int], standardFormat: str = ...) -> bool:...
|
81
|
+
# Method TryParse(source : ReadOnlySpan`1, value : Boolean&, bytesConsumed : Int32&, standardFormat : Char) was skipped since it collides with above method
|
82
|
+
@typing.overload
|
83
|
+
def __call__(self, source: ReadOnlySpan_1[int], value: clr.Reference[DateTime], bytesConsumed: clr.Reference[int], standardFormat: str = ...) -> bool:...
|
84
|
+
@typing.overload
|
85
|
+
def __call__(self, source: ReadOnlySpan_1[int], value: clr.Reference[DateTimeOffset], bytesConsumed: clr.Reference[int], standardFormat: str = ...) -> bool:...
|
86
|
+
@typing.overload
|
87
|
+
def __call__(self, source: ReadOnlySpan_1[int], value: clr.Reference[Guid], bytesConsumed: clr.Reference[int], standardFormat: str = ...) -> bool:...
|
88
|
+
@typing.overload
|
89
|
+
def __call__(self, source: ReadOnlySpan_1[int], value: clr.Reference[TimeSpan], bytesConsumed: clr.Reference[int], standardFormat: str = ...) -> bool:...
|
90
|
+
|
91
|
+
|
@@ -0,0 +1,192 @@
|
|
1
|
+
import typing, clr, abc
|
2
|
+
from System import Array_1, IDisposable, Memory_1, Span_1, MulticastDelegate, IAsyncResult, ReadOnlySpan_1, AsyncCallback, IEquatable_1
|
3
|
+
from System.Runtime.InteropServices import GCHandle
|
4
|
+
from System.Reflection import MethodInfo
|
5
|
+
|
6
|
+
class ArrayPool_GenericClasses(abc.ABCMeta):
|
7
|
+
Generic_ArrayPool_GenericClasses_ArrayPool_1_T = typing.TypeVar('Generic_ArrayPool_GenericClasses_ArrayPool_1_T')
|
8
|
+
def __getitem__(self, types : typing.Type[Generic_ArrayPool_GenericClasses_ArrayPool_1_T]) -> typing.Type[ArrayPool_1[Generic_ArrayPool_GenericClasses_ArrayPool_1_T]]: ...
|
9
|
+
|
10
|
+
ArrayPool : ArrayPool_GenericClasses
|
11
|
+
|
12
|
+
ArrayPool_1_T = typing.TypeVar('ArrayPool_1_T')
|
13
|
+
class ArrayPool_1(typing.Generic[ArrayPool_1_T], abc.ABC):
|
14
|
+
@classmethod
|
15
|
+
@property
|
16
|
+
def Shared(cls) -> ArrayPool_1[ArrayPool_1_T]: ...
|
17
|
+
@abc.abstractmethod
|
18
|
+
def Rent(self, minimumLength: int) -> Array_1[ArrayPool_1_T]: ...
|
19
|
+
@abc.abstractmethod
|
20
|
+
def Return(self, array: Array_1[ArrayPool_1_T], clearArray: bool = ...) -> None: ...
|
21
|
+
# Skipped Create due to it being static, abstract and generic.
|
22
|
+
|
23
|
+
Create : Create_MethodGroup[ArrayPool_1_T]
|
24
|
+
Create_MethodGroup_ArrayPool_1_T = typing.TypeVar('Create_MethodGroup_ArrayPool_1_T')
|
25
|
+
class Create_MethodGroup(typing.Generic[Create_MethodGroup_ArrayPool_1_T]):
|
26
|
+
Create_MethodGroup_ArrayPool_1_T = ArrayPool_1.Create_MethodGroup_ArrayPool_1_T
|
27
|
+
@typing.overload
|
28
|
+
def __call__(self) -> ArrayPool_1[Create_MethodGroup_ArrayPool_1_T]:...
|
29
|
+
@typing.overload
|
30
|
+
def __call__(self, maxArrayLength: int, maxArraysPerBucket: int) -> ArrayPool_1[Create_MethodGroup_ArrayPool_1_T]:...
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
class IMemoryOwner_GenericClasses(abc.ABCMeta):
|
35
|
+
Generic_IMemoryOwner_GenericClasses_IMemoryOwner_1_T = typing.TypeVar('Generic_IMemoryOwner_GenericClasses_IMemoryOwner_1_T')
|
36
|
+
def __getitem__(self, types : typing.Type[Generic_IMemoryOwner_GenericClasses_IMemoryOwner_1_T]) -> typing.Type[IMemoryOwner_1[Generic_IMemoryOwner_GenericClasses_IMemoryOwner_1_T]]: ...
|
37
|
+
|
38
|
+
IMemoryOwner : IMemoryOwner_GenericClasses
|
39
|
+
|
40
|
+
IMemoryOwner_1_T = typing.TypeVar('IMemoryOwner_1_T')
|
41
|
+
class IMemoryOwner_1(typing.Generic[IMemoryOwner_1_T], IDisposable, typing.Protocol):
|
42
|
+
@property
|
43
|
+
def Memory(self) -> Memory_1[IMemoryOwner_1_T]: ...
|
44
|
+
|
45
|
+
|
46
|
+
class IPinnable(typing.Protocol):
|
47
|
+
@abc.abstractmethod
|
48
|
+
def Pin(self, elementIndex: int) -> MemoryHandle: ...
|
49
|
+
@abc.abstractmethod
|
50
|
+
def Unpin(self) -> None: ...
|
51
|
+
|
52
|
+
|
53
|
+
class MemoryHandle(IDisposable):
|
54
|
+
def __init__(self, pointer: clr.Reference[None], handle: GCHandle = ..., pinnable: IPinnable = ...) -> None: ...
|
55
|
+
@property
|
56
|
+
def Pointer(self) -> clr.Reference[None]: ...
|
57
|
+
def Dispose(self) -> None: ...
|
58
|
+
|
59
|
+
|
60
|
+
class MemoryManager_GenericClasses(abc.ABCMeta):
|
61
|
+
Generic_MemoryManager_GenericClasses_MemoryManager_1_T = typing.TypeVar('Generic_MemoryManager_GenericClasses_MemoryManager_1_T')
|
62
|
+
def __getitem__(self, types : typing.Type[Generic_MemoryManager_GenericClasses_MemoryManager_1_T]) -> typing.Type[MemoryManager_1[Generic_MemoryManager_GenericClasses_MemoryManager_1_T]]: ...
|
63
|
+
|
64
|
+
MemoryManager : MemoryManager_GenericClasses
|
65
|
+
|
66
|
+
MemoryManager_1_T = typing.TypeVar('MemoryManager_1_T')
|
67
|
+
class MemoryManager_1(typing.Generic[MemoryManager_1_T], IMemoryOwner_1[MemoryManager_1_T], IPinnable, abc.ABC):
|
68
|
+
@property
|
69
|
+
def Memory(self) -> Memory_1[MemoryManager_1_T]: ...
|
70
|
+
@abc.abstractmethod
|
71
|
+
def GetSpan(self) -> Span_1[MemoryManager_1_T]: ...
|
72
|
+
@abc.abstractmethod
|
73
|
+
def Pin(self, elementIndex: int = ...) -> MemoryHandle: ...
|
74
|
+
@abc.abstractmethod
|
75
|
+
def Unpin(self) -> None: ...
|
76
|
+
|
77
|
+
|
78
|
+
class OperationStatus(typing.SupportsInt):
|
79
|
+
@typing.overload
|
80
|
+
def __init__(self, value : int) -> None: ...
|
81
|
+
@typing.overload
|
82
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
83
|
+
def __int__(self) -> int: ...
|
84
|
+
|
85
|
+
# Values:
|
86
|
+
Done : OperationStatus # 0
|
87
|
+
DestinationTooSmall : OperationStatus # 1
|
88
|
+
NeedMoreData : OperationStatus # 2
|
89
|
+
InvalidData : OperationStatus # 3
|
90
|
+
|
91
|
+
|
92
|
+
class ReadOnlySpanAction_GenericClasses(abc.ABCMeta):
|
93
|
+
Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_T = typing.TypeVar('Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_T')
|
94
|
+
Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_TArg = typing.TypeVar('Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_TArg')
|
95
|
+
def __getitem__(self, types : typing.Tuple[typing.Type[Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_T], typing.Type[Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_TArg]]) -> typing.Type[ReadOnlySpanAction_2[Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_T, Generic_ReadOnlySpanAction_GenericClasses_ReadOnlySpanAction_2_TArg]]: ...
|
96
|
+
|
97
|
+
ReadOnlySpanAction : ReadOnlySpanAction_GenericClasses
|
98
|
+
|
99
|
+
ReadOnlySpanAction_2_T = typing.TypeVar('ReadOnlySpanAction_2_T')
|
100
|
+
ReadOnlySpanAction_2_TArg = typing.TypeVar('ReadOnlySpanAction_2_TArg', contravariant=True)
|
101
|
+
class ReadOnlySpanAction_2(typing.Generic[ReadOnlySpanAction_2_T, ReadOnlySpanAction_2_TArg], MulticastDelegate):
|
102
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
103
|
+
@property
|
104
|
+
def Method(self) -> MethodInfo: ...
|
105
|
+
@property
|
106
|
+
def Target(self) -> typing.Any: ...
|
107
|
+
def BeginInvoke(self, span: ReadOnlySpan_1[ReadOnlySpanAction_2_T], arg: ReadOnlySpanAction_2_TArg, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
108
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
109
|
+
def Invoke(self, span: ReadOnlySpan_1[ReadOnlySpanAction_2_T], arg: ReadOnlySpanAction_2_TArg) -> None: ...
|
110
|
+
|
111
|
+
|
112
|
+
class SearchValues_GenericClasses(abc.ABCMeta):
|
113
|
+
Generic_SearchValues_GenericClasses_SearchValues_1_T = typing.TypeVar('Generic_SearchValues_GenericClasses_SearchValues_1_T')
|
114
|
+
def __getitem__(self, types : typing.Type[Generic_SearchValues_GenericClasses_SearchValues_1_T]) -> typing.Type[SearchValues_1[Generic_SearchValues_GenericClasses_SearchValues_1_T]]: ...
|
115
|
+
|
116
|
+
class SearchValues(SearchValues_0, metaclass =SearchValues_GenericClasses): ...
|
117
|
+
|
118
|
+
class SearchValues_0(abc.ABC):
|
119
|
+
# Skipped Create due to it being static, abstract and generic.
|
120
|
+
|
121
|
+
Create : Create_MethodGroup
|
122
|
+
class Create_MethodGroup:
|
123
|
+
@typing.overload
|
124
|
+
def __call__(self, values: ReadOnlySpan_1[int]) -> SearchValues_1[int]:...
|
125
|
+
@typing.overload
|
126
|
+
def __call__(self, values: ReadOnlySpan_1[str]) -> SearchValues_1[str]:...
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
SearchValues_1_T = typing.TypeVar('SearchValues_1_T')
|
131
|
+
class SearchValues_1(typing.Generic[SearchValues_1_T]):
|
132
|
+
def Contains(self, value: SearchValues_1_T) -> bool: ...
|
133
|
+
|
134
|
+
|
135
|
+
class SpanAction_GenericClasses(abc.ABCMeta):
|
136
|
+
Generic_SpanAction_GenericClasses_SpanAction_2_T = typing.TypeVar('Generic_SpanAction_GenericClasses_SpanAction_2_T')
|
137
|
+
Generic_SpanAction_GenericClasses_SpanAction_2_TArg = typing.TypeVar('Generic_SpanAction_GenericClasses_SpanAction_2_TArg')
|
138
|
+
def __getitem__(self, types : typing.Tuple[typing.Type[Generic_SpanAction_GenericClasses_SpanAction_2_T], typing.Type[Generic_SpanAction_GenericClasses_SpanAction_2_TArg]]) -> typing.Type[SpanAction_2[Generic_SpanAction_GenericClasses_SpanAction_2_T, Generic_SpanAction_GenericClasses_SpanAction_2_TArg]]: ...
|
139
|
+
|
140
|
+
SpanAction : SpanAction_GenericClasses
|
141
|
+
|
142
|
+
SpanAction_2_T = typing.TypeVar('SpanAction_2_T')
|
143
|
+
SpanAction_2_TArg = typing.TypeVar('SpanAction_2_TArg', contravariant=True)
|
144
|
+
class SpanAction_2(typing.Generic[SpanAction_2_T, SpanAction_2_TArg], MulticastDelegate):
|
145
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
146
|
+
@property
|
147
|
+
def Method(self) -> MethodInfo: ...
|
148
|
+
@property
|
149
|
+
def Target(self) -> typing.Any: ...
|
150
|
+
def BeginInvoke(self, span: Span_1[SpanAction_2_T], arg: SpanAction_2_TArg, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
151
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
152
|
+
def Invoke(self, span: Span_1[SpanAction_2_T], arg: SpanAction_2_TArg) -> None: ...
|
153
|
+
|
154
|
+
|
155
|
+
class StandardFormat(IEquatable_1[StandardFormat]):
|
156
|
+
def __init__(self, symbol: str, precision: int = ...) -> None: ...
|
157
|
+
MaxPrecision : int
|
158
|
+
NoPrecision : int
|
159
|
+
@property
|
160
|
+
def HasPrecision(self) -> bool: ...
|
161
|
+
@property
|
162
|
+
def IsDefault(self) -> bool: ...
|
163
|
+
@property
|
164
|
+
def Precision(self) -> int: ...
|
165
|
+
@property
|
166
|
+
def Symbol(self) -> str: ...
|
167
|
+
def GetHashCode(self) -> int: ...
|
168
|
+
def __eq__(self, left: StandardFormat, right: StandardFormat) -> bool: ...
|
169
|
+
# Operator not supported op_Implicit(symbol: Char)
|
170
|
+
def __ne__(self, left: StandardFormat, right: StandardFormat) -> bool: ...
|
171
|
+
def ToString(self) -> str: ...
|
172
|
+
@staticmethod
|
173
|
+
def TryParse(format: ReadOnlySpan_1[str], result: clr.Reference[StandardFormat]) -> bool: ...
|
174
|
+
# Skipped Equals due to it being static, abstract and generic.
|
175
|
+
|
176
|
+
Equals : Equals_MethodGroup
|
177
|
+
class Equals_MethodGroup:
|
178
|
+
@typing.overload
|
179
|
+
def __call__(self, other: StandardFormat) -> bool:...
|
180
|
+
@typing.overload
|
181
|
+
def __call__(self, obj: typing.Any) -> bool:...
|
182
|
+
|
183
|
+
# Skipped Parse due to it being static, abstract and generic.
|
184
|
+
|
185
|
+
Parse : Parse_MethodGroup
|
186
|
+
class Parse_MethodGroup:
|
187
|
+
@typing.overload
|
188
|
+
def __call__(self, format: ReadOnlySpan_1[str]) -> StandardFormat:...
|
189
|
+
@typing.overload
|
190
|
+
def __call__(self, format: str) -> StandardFormat:...
|
191
|
+
|
192
|
+
|
@@ -0,0 +1,137 @@
|
|
1
|
+
import typing
|
2
|
+
from System import Attribute, IFormatProvider, Array_1, ReadOnlyMemory_1
|
3
|
+
from System.IO import TextWriter
|
4
|
+
from System.Text import Encoding, StringBuilder
|
5
|
+
from System.Threading.Tasks import ValueTask, Task
|
6
|
+
from System.Threading import CancellationToken
|
7
|
+
|
8
|
+
class GeneratedCodeAttribute(Attribute):
|
9
|
+
def __init__(self, tool: str, version: str) -> None: ...
|
10
|
+
@property
|
11
|
+
def Tool(self) -> str: ...
|
12
|
+
@property
|
13
|
+
def TypeId(self) -> typing.Any: ...
|
14
|
+
@property
|
15
|
+
def Version(self) -> str: ...
|
16
|
+
|
17
|
+
|
18
|
+
class IndentedTextWriter(TextWriter):
|
19
|
+
@typing.overload
|
20
|
+
def __init__(self, writer: TextWriter) -> None: ...
|
21
|
+
@typing.overload
|
22
|
+
def __init__(self, writer: TextWriter, tabString: str) -> None: ...
|
23
|
+
DefaultTabString : str
|
24
|
+
@property
|
25
|
+
def Encoding(self) -> Encoding: ...
|
26
|
+
@property
|
27
|
+
def FormatProvider(self) -> IFormatProvider: ...
|
28
|
+
@property
|
29
|
+
def Indent(self) -> int: ...
|
30
|
+
@Indent.setter
|
31
|
+
def Indent(self, value: int) -> int: ...
|
32
|
+
@property
|
33
|
+
def InnerWriter(self) -> TextWriter: ...
|
34
|
+
@property
|
35
|
+
def NewLine(self) -> str: ...
|
36
|
+
@NewLine.setter
|
37
|
+
def NewLine(self, value: str) -> str: ...
|
38
|
+
def Close(self) -> None: ...
|
39
|
+
def DisposeAsync(self) -> ValueTask: ...
|
40
|
+
def Flush(self) -> None: ...
|
41
|
+
def WriteLineNoTabs(self, s: str) -> None: ...
|
42
|
+
def WriteLineNoTabsAsync(self, s: str) -> Task: ...
|
43
|
+
# Skipped FlushAsync due to it being static, abstract and generic.
|
44
|
+
|
45
|
+
FlushAsync : FlushAsync_MethodGroup
|
46
|
+
class FlushAsync_MethodGroup:
|
47
|
+
@typing.overload
|
48
|
+
def __call__(self) -> Task:...
|
49
|
+
@typing.overload
|
50
|
+
def __call__(self, cancellationToken: CancellationToken) -> Task:...
|
51
|
+
|
52
|
+
# Skipped Write due to it being static, abstract and generic.
|
53
|
+
|
54
|
+
Write : Write_MethodGroup
|
55
|
+
class Write_MethodGroup:
|
56
|
+
@typing.overload
|
57
|
+
def __call__(self, value: float) -> None:...
|
58
|
+
# Method Write(value : Single) was skipped since it collides with above method
|
59
|
+
@typing.overload
|
60
|
+
def __call__(self, s: str) -> None:...
|
61
|
+
# Method Write(value : Char) was skipped since it collides with above method
|
62
|
+
# Method Write(value : Int32) was skipped since it collides with above method
|
63
|
+
# Method Write(value : Int64) was skipped since it collides with above method
|
64
|
+
@typing.overload
|
65
|
+
def __call__(self, buffer: Array_1[str]) -> None:...
|
66
|
+
# Method Write(value : Boolean) was skipped since it collides with above method
|
67
|
+
@typing.overload
|
68
|
+
def __call__(self, value: typing.Any) -> None:...
|
69
|
+
@typing.overload
|
70
|
+
def __call__(self, format: str, arg: Array_1[typing.Any]) -> None:...
|
71
|
+
@typing.overload
|
72
|
+
def __call__(self, format: str, arg0: typing.Any) -> None:...
|
73
|
+
@typing.overload
|
74
|
+
def __call__(self, buffer: Array_1[str], index: int, count: int) -> None:...
|
75
|
+
@typing.overload
|
76
|
+
def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any) -> None:...
|
77
|
+
|
78
|
+
# Skipped WriteAsync due to it being static, abstract and generic.
|
79
|
+
|
80
|
+
WriteAsync : WriteAsync_MethodGroup
|
81
|
+
class WriteAsync_MethodGroup:
|
82
|
+
@typing.overload
|
83
|
+
def __call__(self, value: str) -> Task:...
|
84
|
+
# Method WriteAsync(value : String) was skipped since it collides with above method
|
85
|
+
@typing.overload
|
86
|
+
def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
|
87
|
+
@typing.overload
|
88
|
+
def __call__(self, value: StringBuilder, cancellationToken: CancellationToken = ...) -> Task:...
|
89
|
+
@typing.overload
|
90
|
+
def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
|
91
|
+
|
92
|
+
# Skipped WriteLine due to it being static, abstract and generic.
|
93
|
+
|
94
|
+
WriteLine : WriteLine_MethodGroup
|
95
|
+
class WriteLine_MethodGroup:
|
96
|
+
@typing.overload
|
97
|
+
def __call__(self) -> None:...
|
98
|
+
@typing.overload
|
99
|
+
def __call__(self, value: float) -> None:...
|
100
|
+
# Method WriteLine(value : Single) was skipped since it collides with above method
|
101
|
+
@typing.overload
|
102
|
+
def __call__(self, value: str) -> None:...
|
103
|
+
# Method WriteLine(value : Int32) was skipped since it collides with above method
|
104
|
+
# Method WriteLine(value : Int64) was skipped since it collides with above method
|
105
|
+
# Method WriteLine(value : UInt32) was skipped since it collides with above method
|
106
|
+
@typing.overload
|
107
|
+
def __call__(self, buffer: Array_1[str]) -> None:...
|
108
|
+
# Method WriteLine(s : String) was skipped since it collides with above method
|
109
|
+
# Method WriteLine(value : Boolean) was skipped since it collides with above method
|
110
|
+
@typing.overload
|
111
|
+
def __call__(self, value: typing.Any) -> None:...
|
112
|
+
@typing.overload
|
113
|
+
def __call__(self, format: str, arg: Array_1[typing.Any]) -> None:...
|
114
|
+
@typing.overload
|
115
|
+
def __call__(self, format: str, arg0: typing.Any) -> None:...
|
116
|
+
@typing.overload
|
117
|
+
def __call__(self, buffer: Array_1[str], index: int, count: int) -> None:...
|
118
|
+
@typing.overload
|
119
|
+
def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any) -> None:...
|
120
|
+
|
121
|
+
# Skipped WriteLineAsync due to it being static, abstract and generic.
|
122
|
+
|
123
|
+
WriteLineAsync : WriteLineAsync_MethodGroup
|
124
|
+
class WriteLineAsync_MethodGroup:
|
125
|
+
@typing.overload
|
126
|
+
def __call__(self) -> Task:...
|
127
|
+
@typing.overload
|
128
|
+
def __call__(self, value: str) -> Task:...
|
129
|
+
# Method WriteLineAsync(value : String) was skipped since it collides with above method
|
130
|
+
@typing.overload
|
131
|
+
def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
|
132
|
+
@typing.overload
|
133
|
+
def __call__(self, value: StringBuilder, cancellationToken: CancellationToken = ...) -> Task:...
|
134
|
+
@typing.overload
|
135
|
+
def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
|
136
|
+
|
137
|
+
|