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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. PySimultan2/CHANGELOG.md +4 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +3 -3
  4. PySimultan2/default_types.py +39 -8
  5. PySimultan2/files.py +1 -1
  6. PySimultan2/object_mapper.py +2 -0
  7. PySimultan2/resources/BruTile.dll +0 -0
  8. PySimultan2/resources/ComponentBuilder.dll +0 -0
  9. PySimultan2/resources/ComponentBuilder.xml +93 -15
  10. PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  11. PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  12. PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  13. PySimultan2/resources/HelixToolkit.dll +0 -0
  14. PySimultan2/resources/Python.Runtime.dll +0 -0
  15. PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  16. PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
  17. PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  18. PySimultan2/resources/SIMULTAN.UI.xml +57 -0
  19. PySimultan2/resources/SIMULTAN.dll +0 -0
  20. PySimultan2/resources/SIMULTAN.xml +73 -3
  21. PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
  22. PySimultan2/resources/defaultsettings.xml +0 -0
  23. PySimultan2/simultan_object.py +6 -1
  24. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
  25. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
  26. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
  27. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
  28. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
  29. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
  30. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
  31. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
  32. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
  33. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
  34. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
  35. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
  36. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
  37. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
  38. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
  39. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
  40. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
  41. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
  42. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
  43. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
  44. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
  45. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
  46. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
  47. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
  48. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
  49. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
  50. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
  51. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
  52. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
  53. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
  54. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
  55. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
  56. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
  57. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
  58. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
  59. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
  60. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
  61. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
  62. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
  63. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
  64. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
  65. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
  66. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
  67. PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
  68. PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
  69. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
  70. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
  71. PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
  72. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
  73. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
  74. PySimultan2/typings/System/Collections/__init__.pyi +403 -0
  75. PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
  76. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
  77. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
  78. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
  79. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
  80. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
  81. PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
  82. PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
  83. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
  84. PySimultan2/typings/System/IO/__init__.pyi +2747 -0
  85. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
  86. PySimultan2/typings/System/Net/__init__.pyi +81 -0
  87. PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
  88. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
  89. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
  90. PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
  91. PySimultan2/typings/System/Resources/__init__.pyi +205 -0
  92. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
  93. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
  94. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
  95. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
  96. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
  97. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
  98. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
  99. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
  100. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
  101. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
  102. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
  103. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
  104. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
  105. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
  106. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
  107. PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
  108. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
  109. PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
  110. PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
  111. PySimultan2/typings/System/Security/__init__.pyi +347 -0
  112. PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
  113. PySimultan2/typings/System/Text/__init__.pyi +1590 -0
  114. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
  115. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
  116. PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
  117. PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
  118. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
  119. PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
  120. PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
  121. PySimultan2/typings/System/__init__.pyi +17821 -0
  122. PySimultan2/utils.py +9 -4
  123. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +1 -1
  124. pysimultan-0.6.0.1.dist-info/RECORD +174 -0
  125. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  126. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
  127. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  128. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
  129. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  130. PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
  131. pysimultan-0.5.9.7.dist-info/RECORD +0 -81
  132. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
  133. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,461 @@
1
+ import typing, clr, abc
2
+ from System import Span_1, Array_1, ReadOnlySpan_1, Attribute
3
+
4
+ class AnsiStringMarshaller(abc.ABC):
5
+ @staticmethod
6
+ def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
7
+ @staticmethod
8
+ def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
9
+ @staticmethod
10
+ def Free(unmanaged: clr.Reference[int]) -> None: ...
11
+
12
+ class ManagedToUnmanagedIn:
13
+ @classmethod
14
+ @property
15
+ def BufferSize(cls) -> int: ...
16
+ def Free(self) -> None: ...
17
+ def FromManaged(self, managed: str, buffer: Span_1[int]) -> None: ...
18
+ def ToUnmanaged(self) -> clr.Reference[int]: ...
19
+
20
+
21
+
22
+ class ArrayMarshaller_GenericClasses(abc.ABCMeta):
23
+ Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T = typing.TypeVar('Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T')
24
+ Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement')
25
+ def __getitem__(self, types : typing.Tuple[typing.Type[Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T], typing.Type[Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement]]) -> typing.Type[ArrayMarshaller_2[Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T, Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement]]: ...
26
+
27
+ ArrayMarshaller : ArrayMarshaller_GenericClasses
28
+
29
+ ArrayMarshaller_2_T = typing.TypeVar('ArrayMarshaller_2_T')
30
+ ArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('ArrayMarshaller_2_TUnmanagedElement')
31
+ class ArrayMarshaller_2(typing.Generic[ArrayMarshaller_2_T, ArrayMarshaller_2_TUnmanagedElement], abc.ABC):
32
+ @staticmethod
33
+ def AllocateContainerForManagedElements(unmanaged: clr.Reference[ArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Array_1[ArrayMarshaller_2_T]: ...
34
+ @staticmethod
35
+ def AllocateContainerForUnmanagedElements(managed: Array_1[ArrayMarshaller_2_T], numElements: clr.Reference[int]) -> clr.Reference[ArrayMarshaller_2_TUnmanagedElement]: ...
36
+ @staticmethod
37
+ def Free(unmanaged: clr.Reference[ArrayMarshaller_2_TUnmanagedElement]) -> None: ...
38
+ @staticmethod
39
+ def GetManagedValuesDestination(managed: Array_1[ArrayMarshaller_2_T]) -> Span_1[ArrayMarshaller_2_T]: ...
40
+ @staticmethod
41
+ def GetManagedValuesSource(managed: Array_1[ArrayMarshaller_2_T]) -> ReadOnlySpan_1[ArrayMarshaller_2_T]: ...
42
+ @staticmethod
43
+ def GetUnmanagedValuesDestination(unmanaged: clr.Reference[ArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[ArrayMarshaller_2_TUnmanagedElement]: ...
44
+ @staticmethod
45
+ def GetUnmanagedValuesSource(unmanagedValue: clr.Reference[ArrayMarshaller_2_TUnmanagedElement], numElements: int) -> ReadOnlySpan_1[ArrayMarshaller_2_TUnmanagedElement]: ...
46
+
47
+ ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T')
48
+ ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement')
49
+ class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement], abc.ABCMeta):
50
+ ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T = ArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T
51
+ ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement = ArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement
52
+ def __call__(self) -> ArrayMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement]: ...
53
+
54
+ ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[ArrayMarshaller_2_T, ArrayMarshaller_2_TUnmanagedElement]
55
+
56
+ ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
57
+ ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
58
+ class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
59
+ ManagedToUnmanagedIn_2_T = ArrayMarshaller_2.ManagedToUnmanagedIn_2_T
60
+ ManagedToUnmanagedIn_2_TUnmanagedElement = ArrayMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
61
+ @classmethod
62
+ @property
63
+ def BufferSize(cls) -> int: ...
64
+ def Free(self) -> None: ...
65
+ def FromManaged(self, array: Array_1[ManagedToUnmanagedIn_2_T], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
66
+ def GetManagedValuesSource(self) -> ReadOnlySpan_1[ManagedToUnmanagedIn_2_T]: ...
67
+ def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
68
+ def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
69
+ # Skipped GetPinnableReference due to it being static, abstract and generic.
70
+
71
+ GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
72
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
73
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
74
+ class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
75
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = ArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
76
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = ArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
77
+ @typing.overload
78
+ def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
79
+ @typing.overload
80
+ def __call__(self, array: Array_1[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]:...
81
+
82
+
83
+
84
+
85
+ class BStrStringMarshaller(abc.ABC):
86
+ @staticmethod
87
+ def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
88
+ @staticmethod
89
+ def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
90
+ @staticmethod
91
+ def Free(unmanaged: clr.Reference[int]) -> None: ...
92
+
93
+ class ManagedToUnmanagedIn:
94
+ @classmethod
95
+ @property
96
+ def BufferSize(cls) -> int: ...
97
+ def Free(self) -> None: ...
98
+ def FromManaged(self, managed: str, buffer: Span_1[int]) -> None: ...
99
+ def ToUnmanaged(self) -> clr.Reference[int]: ...
100
+
101
+
102
+
103
+ class ContiguousCollectionMarshallerAttribute(Attribute):
104
+ def __init__(self) -> None: ...
105
+ @property
106
+ def TypeId(self) -> typing.Any: ...
107
+
108
+
109
+ class CustomMarshallerAttribute(Attribute):
110
+ def __init__(self, managedType: typing.Type[typing.Any], marshalMode: MarshalMode, marshallerType: typing.Type[typing.Any]) -> None: ...
111
+ @property
112
+ def ManagedType(self) -> typing.Type[typing.Any]: ...
113
+ @property
114
+ def MarshallerType(self) -> typing.Type[typing.Any]: ...
115
+ @property
116
+ def MarshalMode(self) -> MarshalMode: ...
117
+ @property
118
+ def TypeId(self) -> typing.Any: ...
119
+
120
+ class GenericPlaceholder:
121
+ pass
122
+
123
+
124
+
125
+ class MarshalMode(typing.SupportsInt):
126
+ @typing.overload
127
+ def __init__(self, value : int) -> None: ...
128
+ @typing.overload
129
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
130
+ def __int__(self) -> int: ...
131
+
132
+ # Values:
133
+ Default : MarshalMode # 0
134
+ ManagedToUnmanagedIn : MarshalMode # 1
135
+ ManagedToUnmanagedRef : MarshalMode # 2
136
+ ManagedToUnmanagedOut : MarshalMode # 3
137
+ UnmanagedToManagedIn : MarshalMode # 4
138
+ UnmanagedToManagedRef : MarshalMode # 5
139
+ UnmanagedToManagedOut : MarshalMode # 6
140
+ ElementIn : MarshalMode # 7
141
+ ElementRef : MarshalMode # 8
142
+ ElementOut : MarshalMode # 9
143
+
144
+
145
+ class MarshalUsingAttribute(Attribute):
146
+ @typing.overload
147
+ def __init__(self) -> None: ...
148
+ @typing.overload
149
+ def __init__(self, nativeType: typing.Type[typing.Any]) -> None: ...
150
+ ReturnsCountValue : str
151
+ @property
152
+ def ConstantElementCount(self) -> int: ...
153
+ @ConstantElementCount.setter
154
+ def ConstantElementCount(self, value: int) -> int: ...
155
+ @property
156
+ def CountElementName(self) -> str: ...
157
+ @CountElementName.setter
158
+ def CountElementName(self, value: str) -> str: ...
159
+ @property
160
+ def ElementIndirectionDepth(self) -> int: ...
161
+ @ElementIndirectionDepth.setter
162
+ def ElementIndirectionDepth(self, value: int) -> int: ...
163
+ @property
164
+ def NativeType(self) -> typing.Type[typing.Any]: ...
165
+ @property
166
+ def TypeId(self) -> typing.Any: ...
167
+
168
+
169
+ class NativeMarshallingAttribute(Attribute):
170
+ def __init__(self, nativeType: typing.Type[typing.Any]) -> None: ...
171
+ @property
172
+ def NativeType(self) -> typing.Type[typing.Any]: ...
173
+ @property
174
+ def TypeId(self) -> typing.Any: ...
175
+
176
+
177
+ class PointerArrayMarshaller_GenericClasses(abc.ABCMeta):
178
+ Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T = typing.TypeVar('Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T')
179
+ Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement')
180
+ def __getitem__(self, types : typing.Tuple[typing.Type[Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T], typing.Type[Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement]]) -> typing.Type[PointerArrayMarshaller_2[Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T, Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement]]: ...
181
+
182
+ PointerArrayMarshaller : PointerArrayMarshaller_GenericClasses
183
+
184
+ PointerArrayMarshaller_2_T = typing.TypeVar('PointerArrayMarshaller_2_T')
185
+ PointerArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('PointerArrayMarshaller_2_TUnmanagedElement')
186
+ class PointerArrayMarshaller_2(typing.Generic[PointerArrayMarshaller_2_T, PointerArrayMarshaller_2_TUnmanagedElement], abc.ABC):
187
+ @staticmethod
188
+ def AllocateContainerForManagedElements(unmanaged: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Array_1[clr.Reference[PointerArrayMarshaller_2_T]]: ...
189
+ @staticmethod
190
+ def AllocateContainerForUnmanagedElements(managed: Array_1[clr.Reference[PointerArrayMarshaller_2_T]], numElements: clr.Reference[int]) -> clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement]: ...
191
+ @staticmethod
192
+ def Free(unmanaged: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement]) -> None: ...
193
+ @staticmethod
194
+ def GetManagedValuesDestination(managed: Array_1[clr.Reference[PointerArrayMarshaller_2_T]]) -> Span_1[int]: ...
195
+ @staticmethod
196
+ def GetManagedValuesSource(managed: Array_1[clr.Reference[PointerArrayMarshaller_2_T]]) -> ReadOnlySpan_1[int]: ...
197
+ @staticmethod
198
+ def GetUnmanagedValuesDestination(unmanaged: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[PointerArrayMarshaller_2_TUnmanagedElement]: ...
199
+ @staticmethod
200
+ def GetUnmanagedValuesSource(unmanagedValue: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement], numElements: int) -> ReadOnlySpan_1[PointerArrayMarshaller_2_TUnmanagedElement]: ...
201
+
202
+ ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T')
203
+ ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement')
204
+ class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement], abc.ABCMeta):
205
+ ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T = PointerArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T
206
+ ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement = PointerArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement
207
+ def __call__(self) -> PointerArrayMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement]: ...
208
+
209
+ ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[PointerArrayMarshaller_2_T, PointerArrayMarshaller_2_TUnmanagedElement]
210
+
211
+ ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
212
+ ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
213
+ class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
214
+ ManagedToUnmanagedIn_2_T = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2_T
215
+ ManagedToUnmanagedIn_2_TUnmanagedElement = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
216
+ @classmethod
217
+ @property
218
+ def BufferSize(cls) -> int: ...
219
+ def Free(self) -> None: ...
220
+ def FromManaged(self, array: Array_1[clr.Reference[ManagedToUnmanagedIn_2_T]], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
221
+ def GetManagedValuesSource(self) -> ReadOnlySpan_1[int]: ...
222
+ def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
223
+ def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
224
+ # Skipped GetPinnableReference due to it being static, abstract and generic.
225
+
226
+ GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
227
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
228
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
229
+ class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
230
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
231
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
232
+ @typing.overload
233
+ def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
234
+ @typing.overload
235
+ def __call__(self, array: Array_1[clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]]) -> clr.Reference[int]:...
236
+
237
+
238
+
239
+
240
+ class ReadOnlySpanMarshaller_GenericClasses(abc.ABCMeta):
241
+ Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T = typing.TypeVar('Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T')
242
+ Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement')
243
+ def __getitem__(self, types : typing.Tuple[typing.Type[Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T], typing.Type[Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]]) -> typing.Type[ReadOnlySpanMarshaller_2[Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T, Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]]: ...
244
+
245
+ ReadOnlySpanMarshaller : ReadOnlySpanMarshaller_GenericClasses
246
+
247
+ ReadOnlySpanMarshaller_2_T = typing.TypeVar('ReadOnlySpanMarshaller_2_T')
248
+ ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('ReadOnlySpanMarshaller_2_TUnmanagedElement')
249
+ class ReadOnlySpanMarshaller_2(typing.Generic[ReadOnlySpanMarshaller_2_T, ReadOnlySpanMarshaller_2_TUnmanagedElement], abc.ABC):
250
+
251
+ ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T')
252
+ ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement')
253
+ class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement], abc.ABCMeta):
254
+ ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T
255
+ ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement
256
+ def __call__(self) -> ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]: ...
257
+
258
+ ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[ReadOnlySpanMarshaller_2_T, ReadOnlySpanMarshaller_2_TUnmanagedElement]
259
+
260
+ ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
261
+ ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
262
+ class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
263
+ ManagedToUnmanagedIn_2_T = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2_T
264
+ ManagedToUnmanagedIn_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
265
+ @classmethod
266
+ @property
267
+ def BufferSize(cls) -> int: ...
268
+ def Free(self) -> None: ...
269
+ def FromManaged(self, managed: ReadOnlySpan_1[ManagedToUnmanagedIn_2_T], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
270
+ def GetManagedValuesSource(self) -> ReadOnlySpan_1[ManagedToUnmanagedIn_2_T]: ...
271
+ def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
272
+ def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
273
+ # Skipped GetPinnableReference due to it being static, abstract and generic.
274
+
275
+ GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
276
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
277
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
278
+ class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
279
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
280
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
281
+ @typing.overload
282
+ def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
283
+ @typing.overload
284
+ def __call__(self, managed: ReadOnlySpan_1[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]:...
285
+
286
+
287
+
288
+ UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T = typing.TypeVar('UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T')
289
+ UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement')
290
+ class UnmanagedToManagedOut_GenericClasses(typing.Generic[UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T, UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement], abc.ABCMeta):
291
+ UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T
292
+ UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement
293
+ def __call__(self) -> ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_2[UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T, UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]: ...
294
+
295
+ UnmanagedToManagedOut : UnmanagedToManagedOut_GenericClasses[ReadOnlySpanMarshaller_2_T, ReadOnlySpanMarshaller_2_TUnmanagedElement]
296
+
297
+ UnmanagedToManagedOut_2_T = typing.TypeVar('UnmanagedToManagedOut_2_T')
298
+ UnmanagedToManagedOut_2_TUnmanagedElement = typing.TypeVar('UnmanagedToManagedOut_2_TUnmanagedElement')
299
+ class UnmanagedToManagedOut_2(typing.Generic[UnmanagedToManagedOut_2_T, UnmanagedToManagedOut_2_TUnmanagedElement], abc.ABC):
300
+ UnmanagedToManagedOut_2_T = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_2_T
301
+ UnmanagedToManagedOut_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_2_TUnmanagedElement
302
+ @staticmethod
303
+ def AllocateContainerForUnmanagedElements(managed: ReadOnlySpan_1[UnmanagedToManagedOut_2_T], numElements: clr.Reference[int]) -> clr.Reference[UnmanagedToManagedOut_2_TUnmanagedElement]: ...
304
+ @staticmethod
305
+ def GetManagedValuesSource(managed: ReadOnlySpan_1[UnmanagedToManagedOut_2_T]) -> ReadOnlySpan_1[UnmanagedToManagedOut_2_T]: ...
306
+ @staticmethod
307
+ def GetUnmanagedValuesDestination(unmanaged: clr.Reference[UnmanagedToManagedOut_2_TUnmanagedElement], numElements: int) -> Span_1[UnmanagedToManagedOut_2_TUnmanagedElement]: ...
308
+
309
+
310
+
311
+ class SafeHandleMarshaller_GenericClasses(abc.ABCMeta):
312
+ Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T')
313
+ def __getitem__(self, types : typing.Type[Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T]) -> typing.Type[SafeHandleMarshaller_1[Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T]]: ...
314
+
315
+ SafeHandleMarshaller : SafeHandleMarshaller_GenericClasses
316
+
317
+ SafeHandleMarshaller_1_T = typing.TypeVar('SafeHandleMarshaller_1_T')
318
+ class SafeHandleMarshaller_1(typing.Generic[SafeHandleMarshaller_1_T], abc.ABC):
319
+
320
+ ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T')
321
+ class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T], abc.ABCMeta):
322
+ ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T
323
+ def __call__(self) -> SafeHandleMarshaller_1.ManagedToUnmanagedIn_1[ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T]: ...
324
+
325
+ ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[SafeHandleMarshaller_1_T]
326
+
327
+ ManagedToUnmanagedIn_1_T = typing.TypeVar('ManagedToUnmanagedIn_1_T')
328
+ class ManagedToUnmanagedIn_1(typing.Generic[ManagedToUnmanagedIn_1_T]):
329
+ ManagedToUnmanagedIn_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedIn_1_T
330
+ def Free(self) -> None: ...
331
+ def FromManaged(self, handle: ManagedToUnmanagedIn_1_T) -> None: ...
332
+ def ToUnmanaged(self) -> int: ...
333
+
334
+
335
+ ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T')
336
+ class ManagedToUnmanagedOut_GenericClasses(typing.Generic[ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T], abc.ABCMeta):
337
+ ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T
338
+ def __call__(self) -> SafeHandleMarshaller_1.ManagedToUnmanagedOut_1[ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T]: ...
339
+
340
+ ManagedToUnmanagedOut : ManagedToUnmanagedOut_GenericClasses[SafeHandleMarshaller_1_T]
341
+
342
+ ManagedToUnmanagedOut_1_T = typing.TypeVar('ManagedToUnmanagedOut_1_T')
343
+ class ManagedToUnmanagedOut_1(typing.Generic[ManagedToUnmanagedOut_1_T]):
344
+ ManagedToUnmanagedOut_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedOut_1_T
345
+ def __init__(self) -> None: ...
346
+ def Free(self) -> None: ...
347
+ def FromUnmanaged(self, value: int) -> None: ...
348
+ def ToManaged(self) -> ManagedToUnmanagedOut_1_T: ...
349
+
350
+
351
+ ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T')
352
+ class ManagedToUnmanagedRef_GenericClasses(typing.Generic[ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T], abc.ABCMeta):
353
+ ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T
354
+ def __call__(self) -> SafeHandleMarshaller_1.ManagedToUnmanagedRef_1[ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T]: ...
355
+
356
+ ManagedToUnmanagedRef : ManagedToUnmanagedRef_GenericClasses[SafeHandleMarshaller_1_T]
357
+
358
+ ManagedToUnmanagedRef_1_T = typing.TypeVar('ManagedToUnmanagedRef_1_T')
359
+ class ManagedToUnmanagedRef_1(typing.Generic[ManagedToUnmanagedRef_1_T]):
360
+ ManagedToUnmanagedRef_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedRef_1_T
361
+ def __init__(self) -> None: ...
362
+ def Free(self) -> None: ...
363
+ def FromManaged(self, handle: ManagedToUnmanagedRef_1_T) -> None: ...
364
+ def FromUnmanaged(self, value: int) -> None: ...
365
+ def OnInvoked(self) -> None: ...
366
+ def ToManagedFinally(self) -> ManagedToUnmanagedRef_1_T: ...
367
+ def ToUnmanaged(self) -> int: ...
368
+
369
+
370
+
371
+ class SpanMarshaller_GenericClasses(abc.ABCMeta):
372
+ Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T = typing.TypeVar('Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T')
373
+ Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement')
374
+ def __getitem__(self, types : typing.Tuple[typing.Type[Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T], typing.Type[Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement]]) -> typing.Type[SpanMarshaller_2[Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T, Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement]]: ...
375
+
376
+ SpanMarshaller : SpanMarshaller_GenericClasses
377
+
378
+ SpanMarshaller_2_T = typing.TypeVar('SpanMarshaller_2_T')
379
+ SpanMarshaller_2_TUnmanagedElement = typing.TypeVar('SpanMarshaller_2_TUnmanagedElement')
380
+ class SpanMarshaller_2(typing.Generic[SpanMarshaller_2_T, SpanMarshaller_2_TUnmanagedElement], abc.ABC):
381
+ @staticmethod
382
+ def AllocateContainerForManagedElements(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[SpanMarshaller_2_T]: ...
383
+ @staticmethod
384
+ def AllocateContainerForUnmanagedElements(managed: Span_1[SpanMarshaller_2_T], numElements: clr.Reference[int]) -> clr.Reference[SpanMarshaller_2_TUnmanagedElement]: ...
385
+ @staticmethod
386
+ def Free(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement]) -> None: ...
387
+ @staticmethod
388
+ def GetManagedValuesDestination(managed: Span_1[SpanMarshaller_2_T]) -> Span_1[SpanMarshaller_2_T]: ...
389
+ @staticmethod
390
+ def GetManagedValuesSource(managed: Span_1[SpanMarshaller_2_T]) -> ReadOnlySpan_1[SpanMarshaller_2_T]: ...
391
+ @staticmethod
392
+ def GetUnmanagedValuesDestination(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[SpanMarshaller_2_TUnmanagedElement]: ...
393
+ @staticmethod
394
+ def GetUnmanagedValuesSource(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement], numElements: int) -> ReadOnlySpan_1[SpanMarshaller_2_TUnmanagedElement]: ...
395
+
396
+ ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T')
397
+ ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement')
398
+ class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement], abc.ABCMeta):
399
+ ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T = SpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T
400
+ ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement = SpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement
401
+ def __call__(self) -> SpanMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement]: ...
402
+
403
+ ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[SpanMarshaller_2_T, SpanMarshaller_2_TUnmanagedElement]
404
+
405
+ ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
406
+ ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
407
+ class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
408
+ ManagedToUnmanagedIn_2_T = SpanMarshaller_2.ManagedToUnmanagedIn_2_T
409
+ ManagedToUnmanagedIn_2_TUnmanagedElement = SpanMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
410
+ @classmethod
411
+ @property
412
+ def BufferSize(cls) -> int: ...
413
+ def Free(self) -> None: ...
414
+ def FromManaged(self, managed: Span_1[ManagedToUnmanagedIn_2_T], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
415
+ def GetManagedValuesSource(self) -> ReadOnlySpan_1[ManagedToUnmanagedIn_2_T]: ...
416
+ def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
417
+ def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
418
+ # Skipped GetPinnableReference due to it being static, abstract and generic.
419
+
420
+ GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
421
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
422
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
423
+ class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
424
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = SpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
425
+ GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = SpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
426
+ @typing.overload
427
+ def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
428
+ @typing.overload
429
+ def __call__(self, managed: Span_1[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]:...
430
+
431
+
432
+
433
+
434
+ class Utf16StringMarshaller(abc.ABC):
435
+ @staticmethod
436
+ def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
437
+ @staticmethod
438
+ def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
439
+ @staticmethod
440
+ def Free(unmanaged: clr.Reference[int]) -> None: ...
441
+ @staticmethod
442
+ def GetPinnableReference(str: str) -> clr.Reference[str]: ...
443
+
444
+
445
+ class Utf8StringMarshaller(abc.ABC):
446
+ @staticmethod
447
+ def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
448
+ @staticmethod
449
+ def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
450
+ @staticmethod
451
+ def Free(unmanaged: clr.Reference[int]) -> None: ...
452
+
453
+ class ManagedToUnmanagedIn:
454
+ @classmethod
455
+ @property
456
+ def BufferSize(cls) -> int: ...
457
+ def Free(self) -> None: ...
458
+ def FromManaged(self, managed: str, buffer: Span_1[int]) -> None: ...
459
+ def ToUnmanaged(self) -> clr.Reference[int]: ...
460
+
461
+
@@ -0,0 +1,48 @@
1
+ import typing, clr, abc
2
+ from System.Runtime.InteropServices import GCHandle
3
+ from System import Span_1, Exception, MulticastDelegate, IAsyncResult, RuntimeMethodHandle, AsyncCallback, Attribute
4
+ from import
5
+ from System.Reflection import MethodInfo
6
+
7
+ class ObjectiveCMarshal(abc.ABC):
8
+ @staticmethod
9
+ def CreateReferenceTrackingHandle(obj: typing.Any, taggedMemory: clr.Reference[Span_1[int]]) -> GCHandle: ...
10
+ @staticmethod
11
+ def Initialize(beginEndCallback: , isReferencedCallback: , trackedObjectEnteredFinalization: , unhandledExceptionPropagationHandler: ObjectiveCMarshal.UnhandledExceptionPropagationHandler) -> None: ...
12
+ @staticmethod
13
+ def SetMessageSendCallback(msgSendFunction: ObjectiveCMarshal.MessageSendFunction, func: int) -> None: ...
14
+ @staticmethod
15
+ def SetMessageSendPendingException(exception: Exception) -> None: ...
16
+
17
+ class MessageSendFunction(typing.SupportsInt):
18
+ @typing.overload
19
+ def __init__(self, value : int) -> None: ...
20
+ @typing.overload
21
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
22
+ def __int__(self) -> int: ...
23
+
24
+ # Values:
25
+ MsgSend : ObjectiveCMarshal.MessageSendFunction # 0
26
+ MsgSendFpret : ObjectiveCMarshal.MessageSendFunction # 1
27
+ MsgSendStret : ObjectiveCMarshal.MessageSendFunction # 2
28
+ MsgSendSuper : ObjectiveCMarshal.MessageSendFunction # 3
29
+ MsgSendSuperStret : ObjectiveCMarshal.MessageSendFunction # 4
30
+
31
+
32
+ class UnhandledExceptionPropagationHandler(MulticastDelegate):
33
+ def __init__(self, object: typing.Any, method: int) -> None: ...
34
+ @property
35
+ def Method(self) -> MethodInfo: ...
36
+ @property
37
+ def Target(self) -> typing.Any: ...
38
+ def BeginInvoke(self, exception: Exception, lastMethod: RuntimeMethodHandle, context: clr.Reference[int], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
39
+ def EndInvoke(self, context: clr.Reference[int], result: IAsyncResult) -> : ...
40
+ def Invoke(self, exception: Exception, lastMethod: RuntimeMethodHandle, context: clr.Reference[int]) -> : ...
41
+
42
+
43
+
44
+ class ObjectiveCTrackedTypeAttribute(Attribute):
45
+ def __init__(self) -> None: ...
46
+ @property
47
+ def TypeId(self) -> typing.Any: ...
48
+