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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. PySimultan2/CHANGELOG.md +3 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/default_types.py +7 -0
  4. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/METADATA +1 -1
  5. pysimultan-0.6.0.2.dist-info/RECORD +76 -0
  6. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +0 -616
  7. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +0 -2538
  8. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +0 -499
  9. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +0 -2219
  10. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +0 -682
  11. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +0 -1654
  12. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +0 -442
  13. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +0 -193
  14. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +0 -367
  15. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +0 -116
  16. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +0 -212
  17. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +0 -232
  18. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +0 -916
  19. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +0 -15
  20. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +0 -268
  21. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +0 -32
  22. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +0 -116
  23. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +0 -433
  24. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +0 -435
  25. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +0 -103
  26. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +0 -122
  27. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +0 -1335
  28. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +0 -48
  29. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +0 -562
  30. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +0 -11
  31. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +0 -21
  32. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +0 -11
  33. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +0 -112
  34. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +0 -5
  35. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +0 -13
  36. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +0 -54
  37. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +0 -46
  38. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +0 -22
  39. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +0 -32
  40. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +0 -43
  41. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +0 -216
  42. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +0 -66
  43. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +0 -48
  44. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +0 -11
  45. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +0 -59
  46. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +0 -133
  47. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +0 -570
  48. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +0 -248
  49. PySimultan2/typings/System/Buffers/Text/__init__.pyi +0 -91
  50. PySimultan2/typings/System/Buffers/__init__.pyi +0 -192
  51. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +0 -137
  52. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +0 -47
  53. PySimultan2/typings/System/Collections/Generic/__init__.pyi +0 -1293
  54. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +0 -166
  55. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +0 -82
  56. PySimultan2/typings/System/Collections/__init__.pyi +0 -403
  57. PySimultan2/typings/System/ComponentModel/__init__.pyi +0 -582
  58. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +0 -30
  59. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +0 -315
  60. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +0 -297
  61. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +0 -9
  62. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +0 -641
  63. PySimultan2/typings/System/Diagnostics/__init__.pyi +0 -1101
  64. PySimultan2/typings/System/Globalization/__init__.pyi +0 -1675
  65. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +0 -125
  66. PySimultan2/typings/System/IO/__init__.pyi +0 -2747
  67. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +0 -1815
  68. PySimultan2/typings/System/Net/__init__.pyi +0 -81
  69. PySimultan2/typings/System/Numerics/__init__.pyi +0 -2853
  70. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +0 -1945
  71. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +0 -24
  72. PySimultan2/typings/System/Reflection/__init__.pyi +0 -2724
  73. PySimultan2/typings/System/Resources/__init__.pyi +0 -205
  74. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +0 -1926
  75. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +0 -49
  76. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +0 -34
  77. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +0 -758
  78. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +0 -461
  79. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +0 -48
  80. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +0 -2632
  81. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +0 -4757
  82. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +0 -844
  83. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +0 -5642
  84. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +0 -4504
  85. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +0 -63
  86. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +0 -7
  87. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +0 -269
  88. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +0 -200
  89. PySimultan2/typings/System/Runtime/__init__.pyi +0 -141
  90. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +0 -39
  91. PySimultan2/typings/System/Security/Permissions/__init__.pyi +0 -163
  92. PySimultan2/typings/System/Security/Principal/__init__.pyi +0 -45
  93. PySimultan2/typings/System/Security/__init__.pyi +0 -347
  94. PySimultan2/typings/System/Text/Unicode/__init__.pyi +0 -62
  95. PySimultan2/typings/System/Text/__init__.pyi +0 -1590
  96. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +0 -76
  97. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +0 -1403
  98. PySimultan2/typings/System/Threading/__init__.pyi +0 -1788
  99. PySimultan2/typings/System/Xml/Schema/__init__.pyi +0 -1255
  100. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +0 -16
  101. PySimultan2/typings/System/Xml/XPath/__init__.pyi +0 -474
  102. PySimultan2/typings/System/Xml/__init__.pyi +0 -2410
  103. PySimultan2/typings/System/__init__.pyi +0 -17821
  104. pysimultan-0.6.0.1.dist-info/RECORD +0 -174
  105. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/WHEEL +0 -0
  106. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,2747 +0,0 @@
1
- import typing, clr, abc
2
- from System import IDisposable, Array_1, Decimal, Half, Span_1, IAsyncDisposable, ReadOnlySpan_1, IAsyncResult, AsyncCallback, Memory_1, ReadOnlyMemory_1, DateTime, Exception, MarshalByRefObject, SystemException, ArraySegment_1, IFormatProvider
3
- from System.Text import Encoding, StringBuilder
4
- from System.Threading.Tasks import ValueTask, Task, ValueTask_1, Task_1
5
- from System.Threading import CancellationToken
6
- from System.Collections.Generic import IEnumerable_1, IAsyncEnumerable_1, IReadOnlyList_1
7
- from System.Collections import IDictionary
8
- from System.Reflection import MethodBase
9
- from Microsoft.Win32.SafeHandles import SafeFileHandle
10
- from System.Runtime.Serialization import SerializationInfo, StreamingContext, ISerializable
11
- from System.Runtime.InteropServices import SafeBuffer
12
-
13
- class BinaryReader(IDisposable):
14
- @typing.overload
15
- def __init__(self, input: Stream) -> None: ...
16
- @typing.overload
17
- def __init__(self, input: Stream, encoding: Encoding) -> None: ...
18
- @typing.overload
19
- def __init__(self, input: Stream, encoding: Encoding, leaveOpen: bool) -> None: ...
20
- @property
21
- def BaseStream(self) -> Stream: ...
22
- def Close(self) -> None: ...
23
- def Dispose(self) -> None: ...
24
- def PeekChar(self) -> int: ...
25
- def Read7BitEncodedInt(self) -> int: ...
26
- def Read7BitEncodedInt64(self) -> int: ...
27
- def ReadBoolean(self) -> bool: ...
28
- def ReadByte(self) -> int: ...
29
- def ReadBytes(self, count: int) -> Array_1[int]: ...
30
- def ReadChar(self) -> str: ...
31
- def ReadChars(self, count: int) -> Array_1[str]: ...
32
- def ReadDecimal(self) -> Decimal: ...
33
- def ReadDouble(self) -> float: ...
34
- def ReadHalf(self) -> Half: ...
35
- def ReadInt16(self) -> int: ...
36
- def ReadInt32(self) -> int: ...
37
- def ReadInt64(self) -> int: ...
38
- def ReadSByte(self) -> int: ...
39
- def ReadSingle(self) -> float: ...
40
- def ReadString(self) -> str: ...
41
- def ReadUInt16(self) -> int: ...
42
- def ReadUInt32(self) -> int: ...
43
- def ReadUInt64(self) -> int: ...
44
- # Skipped Read due to it being static, abstract and generic.
45
-
46
- Read : Read_MethodGroup
47
- class Read_MethodGroup:
48
- @typing.overload
49
- def __call__(self) -> int:...
50
- @typing.overload
51
- def __call__(self, buffer: Span_1[str]) -> int:...
52
- @typing.overload
53
- def __call__(self, buffer: Span_1[int]) -> int:...
54
- @typing.overload
55
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> int:...
56
- @typing.overload
57
- def __call__(self, buffer: Array_1[int], index: int, count: int) -> int:...
58
-
59
-
60
-
61
- class BinaryWriter(IAsyncDisposable, IDisposable):
62
- @typing.overload
63
- def __init__(self, output: Stream) -> None: ...
64
- @typing.overload
65
- def __init__(self, output: Stream, encoding: Encoding) -> None: ...
66
- @typing.overload
67
- def __init__(self, output: Stream, encoding: Encoding, leaveOpen: bool) -> None: ...
68
- Null : BinaryWriter
69
- @property
70
- def BaseStream(self) -> Stream: ...
71
- def Close(self) -> None: ...
72
- def Dispose(self) -> None: ...
73
- def DisposeAsync(self) -> ValueTask: ...
74
- def Flush(self) -> None: ...
75
- def Seek(self, offset: int, origin: SeekOrigin) -> int: ...
76
- def Write7BitEncodedInt(self, value: int) -> None: ...
77
- def Write7BitEncodedInt64(self, value: int) -> None: ...
78
- # Skipped Write due to it being static, abstract and generic.
79
-
80
- Write : Write_MethodGroup
81
- class Write_MethodGroup:
82
- @typing.overload
83
- def __call__(self, value: float) -> None:...
84
- # Method Write(value : Single) was skipped since it collides with above method
85
- @typing.overload
86
- def __call__(self, value: Half) -> None:...
87
- @typing.overload
88
- def __call__(self, ch: str) -> None:...
89
- # Method Write(value : Byte) was skipped since it collides with above method
90
- # Method Write(value : SByte) was skipped since it collides with above method
91
- # Method Write(value : Int16) was skipped since it collides with above method
92
- # Method Write(value : UInt16) was skipped since it collides with above method
93
- # Method Write(value : Int32) was skipped since it collides with above method
94
- # Method Write(value : UInt32) was skipped since it collides with above method
95
- # Method Write(value : Int64) was skipped since it collides with above method
96
- # Method Write(value : UInt64) was skipped since it collides with above method
97
- @typing.overload
98
- def __call__(self, value: Decimal) -> None:...
99
- @typing.overload
100
- def __call__(self, buffer: Array_1[int]) -> None:...
101
- @typing.overload
102
- def __call__(self, chars: Array_1[str]) -> None:...
103
- @typing.overload
104
- def __call__(self, buffer: ReadOnlySpan_1[int]) -> None:...
105
- @typing.overload
106
- def __call__(self, chars: ReadOnlySpan_1[str]) -> None:...
107
- # Method Write(value : Boolean) was skipped since it collides with above method
108
- # Method Write(value : String) was skipped since it collides with above method
109
- @typing.overload
110
- def __call__(self, buffer: Array_1[int], index: int, count: int) -> None:...
111
- @typing.overload
112
- def __call__(self, chars: Array_1[str], index: int, count: int) -> None:...
113
-
114
-
115
-
116
- class BufferedStream(Stream):
117
- @typing.overload
118
- def __init__(self, stream: Stream) -> None: ...
119
- @typing.overload
120
- def __init__(self, stream: Stream, bufferSize: int) -> None: ...
121
- @property
122
- def BufferSize(self) -> int: ...
123
- @property
124
- def CanRead(self) -> bool: ...
125
- @property
126
- def CanSeek(self) -> bool: ...
127
- @property
128
- def CanTimeout(self) -> bool: ...
129
- @property
130
- def CanWrite(self) -> bool: ...
131
- @property
132
- def Length(self) -> int: ...
133
- @property
134
- def Position(self) -> int: ...
135
- @Position.setter
136
- def Position(self, value: int) -> int: ...
137
- @property
138
- def ReadTimeout(self) -> int: ...
139
- @ReadTimeout.setter
140
- def ReadTimeout(self, value: int) -> int: ...
141
- @property
142
- def UnderlyingStream(self) -> Stream: ...
143
- @property
144
- def WriteTimeout(self) -> int: ...
145
- @WriteTimeout.setter
146
- def WriteTimeout(self, value: int) -> int: ...
147
- def BeginRead(self, buffer: Array_1[int], offset: int, count: int, callback: AsyncCallback, state: typing.Any) -> IAsyncResult: ...
148
- def BeginWrite(self, buffer: Array_1[int], offset: int, count: int, callback: AsyncCallback, state: typing.Any) -> IAsyncResult: ...
149
- def CopyTo(self, destination: Stream, bufferSize: int) -> None: ...
150
- def CopyToAsync(self, destination: Stream, bufferSize: int, cancellationToken: CancellationToken) -> Task: ...
151
- def DisposeAsync(self) -> ValueTask: ...
152
- def EndRead(self, asyncResult: IAsyncResult) -> int: ...
153
- def EndWrite(self, asyncResult: IAsyncResult) -> None: ...
154
- def Flush(self) -> None: ...
155
- def FlushAsync(self, cancellationToken: CancellationToken) -> Task: ...
156
- def ReadByte(self) -> int: ...
157
- def Seek(self, offset: int, origin: SeekOrigin) -> int: ...
158
- def SetLength(self, value: int) -> None: ...
159
- def WriteByte(self, value: int) -> None: ...
160
- # Skipped Read due to it being static, abstract and generic.
161
-
162
- Read : Read_MethodGroup
163
- class Read_MethodGroup:
164
- @typing.overload
165
- def __call__(self, destination: Span_1[int]) -> int:...
166
- @typing.overload
167
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> int:...
168
-
169
- # Skipped ReadAsync due to it being static, abstract and generic.
170
-
171
- ReadAsync : ReadAsync_MethodGroup
172
- class ReadAsync_MethodGroup:
173
- @typing.overload
174
- def __call__(self, buffer: Memory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
175
- @typing.overload
176
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task_1[int]:...
177
-
178
- # Skipped Write due to it being static, abstract and generic.
179
-
180
- Write : Write_MethodGroup
181
- class Write_MethodGroup:
182
- @typing.overload
183
- def __call__(self, buffer: ReadOnlySpan_1[int]) -> None:...
184
- @typing.overload
185
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> None:...
186
-
187
- # Skipped WriteAsync due to it being static, abstract and generic.
188
-
189
- WriteAsync : WriteAsync_MethodGroup
190
- class WriteAsync_MethodGroup:
191
- @typing.overload
192
- def __call__(self, buffer: ReadOnlyMemory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask:...
193
- @typing.overload
194
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task:...
195
-
196
-
197
-
198
- class Directory(abc.ABC):
199
- @staticmethod
200
- def CreateSymbolicLink(path: str, pathToTarget: str) -> FileSystemInfo: ...
201
- @staticmethod
202
- def CreateTempSubdirectory(prefix: str = ...) -> DirectoryInfo: ...
203
- @staticmethod
204
- def Exists(path: str) -> bool: ...
205
- @staticmethod
206
- def GetCreationTime(path: str) -> DateTime: ...
207
- @staticmethod
208
- def GetCreationTimeUtc(path: str) -> DateTime: ...
209
- @staticmethod
210
- def GetCurrentDirectory() -> str: ...
211
- @staticmethod
212
- def GetDirectoryRoot(path: str) -> str: ...
213
- @staticmethod
214
- def GetLastAccessTime(path: str) -> DateTime: ...
215
- @staticmethod
216
- def GetLastAccessTimeUtc(path: str) -> DateTime: ...
217
- @staticmethod
218
- def GetLastWriteTime(path: str) -> DateTime: ...
219
- @staticmethod
220
- def GetLastWriteTimeUtc(path: str) -> DateTime: ...
221
- @staticmethod
222
- def GetLogicalDrives() -> Array_1[str]: ...
223
- @staticmethod
224
- def GetParent(path: str) -> DirectoryInfo: ...
225
- @staticmethod
226
- def Move(sourceDirName: str, destDirName: str) -> None: ...
227
- @staticmethod
228
- def ResolveLinkTarget(linkPath: str, returnFinalTarget: bool) -> FileSystemInfo: ...
229
- @staticmethod
230
- def SetCreationTime(path: str, creationTime: DateTime) -> None: ...
231
- @staticmethod
232
- def SetCreationTimeUtc(path: str, creationTimeUtc: DateTime) -> None: ...
233
- @staticmethod
234
- def SetCurrentDirectory(path: str) -> None: ...
235
- @staticmethod
236
- def SetLastAccessTime(path: str, lastAccessTime: DateTime) -> None: ...
237
- @staticmethod
238
- def SetLastAccessTimeUtc(path: str, lastAccessTimeUtc: DateTime) -> None: ...
239
- @staticmethod
240
- def SetLastWriteTime(path: str, lastWriteTime: DateTime) -> None: ...
241
- @staticmethod
242
- def SetLastWriteTimeUtc(path: str, lastWriteTimeUtc: DateTime) -> None: ...
243
- # Skipped CreateDirectory due to it being static, abstract and generic.
244
-
245
- CreateDirectory : CreateDirectory_MethodGroup
246
- class CreateDirectory_MethodGroup:
247
- @typing.overload
248
- def __call__(self, path: str) -> DirectoryInfo:...
249
- @typing.overload
250
- def __call__(self, path: str, unixCreateMode: UnixFileMode) -> DirectoryInfo:...
251
-
252
- # Skipped Delete due to it being static, abstract and generic.
253
-
254
- Delete : Delete_MethodGroup
255
- class Delete_MethodGroup:
256
- @typing.overload
257
- def __call__(self, path: str) -> None:...
258
- @typing.overload
259
- def __call__(self, path: str, recursive: bool) -> None:...
260
-
261
- # Skipped EnumerateDirectories due to it being static, abstract and generic.
262
-
263
- EnumerateDirectories : EnumerateDirectories_MethodGroup
264
- class EnumerateDirectories_MethodGroup:
265
- @typing.overload
266
- def __call__(self, path: str) -> IEnumerable_1[str]:...
267
- @typing.overload
268
- def __call__(self, path: str, searchPattern: str) -> IEnumerable_1[str]:...
269
- @typing.overload
270
- def __call__(self, path: str, searchPattern: str, searchOption: SearchOption) -> IEnumerable_1[str]:...
271
- @typing.overload
272
- def __call__(self, path: str, searchPattern: str, enumerationOptions: EnumerationOptions) -> IEnumerable_1[str]:...
273
-
274
- # Skipped EnumerateFiles due to it being static, abstract and generic.
275
-
276
- EnumerateFiles : EnumerateFiles_MethodGroup
277
- class EnumerateFiles_MethodGroup:
278
- @typing.overload
279
- def __call__(self, path: str) -> IEnumerable_1[str]:...
280
- @typing.overload
281
- def __call__(self, path: str, searchPattern: str) -> IEnumerable_1[str]:...
282
- @typing.overload
283
- def __call__(self, path: str, searchPattern: str, searchOption: SearchOption) -> IEnumerable_1[str]:...
284
- @typing.overload
285
- def __call__(self, path: str, searchPattern: str, enumerationOptions: EnumerationOptions) -> IEnumerable_1[str]:...
286
-
287
- # Skipped EnumerateFileSystemEntries due to it being static, abstract and generic.
288
-
289
- EnumerateFileSystemEntries : EnumerateFileSystemEntries_MethodGroup
290
- class EnumerateFileSystemEntries_MethodGroup:
291
- @typing.overload
292
- def __call__(self, path: str) -> IEnumerable_1[str]:...
293
- @typing.overload
294
- def __call__(self, path: str, searchPattern: str) -> IEnumerable_1[str]:...
295
- @typing.overload
296
- def __call__(self, path: str, searchPattern: str, searchOption: SearchOption) -> IEnumerable_1[str]:...
297
- @typing.overload
298
- def __call__(self, path: str, searchPattern: str, enumerationOptions: EnumerationOptions) -> IEnumerable_1[str]:...
299
-
300
- # Skipped GetDirectories due to it being static, abstract and generic.
301
-
302
- GetDirectories : GetDirectories_MethodGroup
303
- class GetDirectories_MethodGroup:
304
- @typing.overload
305
- def __call__(self, path: str) -> Array_1[str]:...
306
- @typing.overload
307
- def __call__(self, path: str, searchPattern: str) -> Array_1[str]:...
308
- @typing.overload
309
- def __call__(self, path: str, searchPattern: str, searchOption: SearchOption) -> Array_1[str]:...
310
- @typing.overload
311
- def __call__(self, path: str, searchPattern: str, enumerationOptions: EnumerationOptions) -> Array_1[str]:...
312
-
313
- # Skipped GetFiles due to it being static, abstract and generic.
314
-
315
- GetFiles : GetFiles_MethodGroup
316
- class GetFiles_MethodGroup:
317
- @typing.overload
318
- def __call__(self, path: str) -> Array_1[str]:...
319
- @typing.overload
320
- def __call__(self, path: str, searchPattern: str) -> Array_1[str]:...
321
- @typing.overload
322
- def __call__(self, path: str, searchPattern: str, searchOption: SearchOption) -> Array_1[str]:...
323
- @typing.overload
324
- def __call__(self, path: str, searchPattern: str, enumerationOptions: EnumerationOptions) -> Array_1[str]:...
325
-
326
- # Skipped GetFileSystemEntries due to it being static, abstract and generic.
327
-
328
- GetFileSystemEntries : GetFileSystemEntries_MethodGroup
329
- class GetFileSystemEntries_MethodGroup:
330
- @typing.overload
331
- def __call__(self, path: str) -> Array_1[str]:...
332
- @typing.overload
333
- def __call__(self, path: str, searchPattern: str) -> Array_1[str]:...
334
- @typing.overload
335
- def __call__(self, path: str, searchPattern: str, searchOption: SearchOption) -> Array_1[str]:...
336
- @typing.overload
337
- def __call__(self, path: str, searchPattern: str, enumerationOptions: EnumerationOptions) -> Array_1[str]:...
338
-
339
-
340
-
341
- class DirectoryInfo(FileSystemInfo):
342
- def __init__(self, path: str) -> None: ...
343
- @property
344
- def Attributes(self) -> FileAttributes: ...
345
- @Attributes.setter
346
- def Attributes(self, value: FileAttributes) -> FileAttributes: ...
347
- @property
348
- def CreationTime(self) -> DateTime: ...
349
- @CreationTime.setter
350
- def CreationTime(self, value: DateTime) -> DateTime: ...
351
- @property
352
- def CreationTimeUtc(self) -> DateTime: ...
353
- @CreationTimeUtc.setter
354
- def CreationTimeUtc(self, value: DateTime) -> DateTime: ...
355
- @property
356
- def Exists(self) -> bool: ...
357
- @property
358
- def Extension(self) -> str: ...
359
- @property
360
- def FullName(self) -> str: ...
361
- @property
362
- def LastAccessTime(self) -> DateTime: ...
363
- @LastAccessTime.setter
364
- def LastAccessTime(self, value: DateTime) -> DateTime: ...
365
- @property
366
- def LastAccessTimeUtc(self) -> DateTime: ...
367
- @LastAccessTimeUtc.setter
368
- def LastAccessTimeUtc(self, value: DateTime) -> DateTime: ...
369
- @property
370
- def LastWriteTime(self) -> DateTime: ...
371
- @LastWriteTime.setter
372
- def LastWriteTime(self, value: DateTime) -> DateTime: ...
373
- @property
374
- def LastWriteTimeUtc(self) -> DateTime: ...
375
- @LastWriteTimeUtc.setter
376
- def LastWriteTimeUtc(self, value: DateTime) -> DateTime: ...
377
- @property
378
- def LinkTarget(self) -> str: ...
379
- @property
380
- def Name(self) -> str: ...
381
- @property
382
- def Parent(self) -> DirectoryInfo: ...
383
- @property
384
- def Root(self) -> DirectoryInfo: ...
385
- @property
386
- def UnixFileMode(self) -> UnixFileMode: ...
387
- @UnixFileMode.setter
388
- def UnixFileMode(self, value: UnixFileMode) -> UnixFileMode: ...
389
- def Create(self) -> None: ...
390
- def CreateSubdirectory(self, path: str) -> DirectoryInfo: ...
391
- def MoveTo(self, destDirName: str) -> None: ...
392
- # Skipped Delete due to it being static, abstract and generic.
393
-
394
- Delete : Delete_MethodGroup
395
- class Delete_MethodGroup:
396
- @typing.overload
397
- def __call__(self) -> None:...
398
- @typing.overload
399
- def __call__(self, recursive: bool) -> None:...
400
-
401
- # Skipped EnumerateDirectories due to it being static, abstract and generic.
402
-
403
- EnumerateDirectories : EnumerateDirectories_MethodGroup
404
- class EnumerateDirectories_MethodGroup:
405
- @typing.overload
406
- def __call__(self) -> IEnumerable_1[DirectoryInfo]:...
407
- @typing.overload
408
- def __call__(self, searchPattern: str) -> IEnumerable_1[DirectoryInfo]:...
409
- @typing.overload
410
- def __call__(self, searchPattern: str, searchOption: SearchOption) -> IEnumerable_1[DirectoryInfo]:...
411
- @typing.overload
412
- def __call__(self, searchPattern: str, enumerationOptions: EnumerationOptions) -> IEnumerable_1[DirectoryInfo]:...
413
-
414
- # Skipped EnumerateFiles due to it being static, abstract and generic.
415
-
416
- EnumerateFiles : EnumerateFiles_MethodGroup
417
- class EnumerateFiles_MethodGroup:
418
- @typing.overload
419
- def __call__(self) -> IEnumerable_1[FileInfo]:...
420
- @typing.overload
421
- def __call__(self, searchPattern: str) -> IEnumerable_1[FileInfo]:...
422
- @typing.overload
423
- def __call__(self, searchPattern: str, searchOption: SearchOption) -> IEnumerable_1[FileInfo]:...
424
- @typing.overload
425
- def __call__(self, searchPattern: str, enumerationOptions: EnumerationOptions) -> IEnumerable_1[FileInfo]:...
426
-
427
- # Skipped EnumerateFileSystemInfos due to it being static, abstract and generic.
428
-
429
- EnumerateFileSystemInfos : EnumerateFileSystemInfos_MethodGroup
430
- class EnumerateFileSystemInfos_MethodGroup:
431
- @typing.overload
432
- def __call__(self) -> IEnumerable_1[FileSystemInfo]:...
433
- @typing.overload
434
- def __call__(self, searchPattern: str) -> IEnumerable_1[FileSystemInfo]:...
435
- @typing.overload
436
- def __call__(self, searchPattern: str, searchOption: SearchOption) -> IEnumerable_1[FileSystemInfo]:...
437
- @typing.overload
438
- def __call__(self, searchPattern: str, enumerationOptions: EnumerationOptions) -> IEnumerable_1[FileSystemInfo]:...
439
-
440
- # Skipped GetDirectories due to it being static, abstract and generic.
441
-
442
- GetDirectories : GetDirectories_MethodGroup
443
- class GetDirectories_MethodGroup:
444
- @typing.overload
445
- def __call__(self) -> Array_1[DirectoryInfo]:...
446
- @typing.overload
447
- def __call__(self, searchPattern: str) -> Array_1[DirectoryInfo]:...
448
- @typing.overload
449
- def __call__(self, searchPattern: str, searchOption: SearchOption) -> Array_1[DirectoryInfo]:...
450
- @typing.overload
451
- def __call__(self, searchPattern: str, enumerationOptions: EnumerationOptions) -> Array_1[DirectoryInfo]:...
452
-
453
- # Skipped GetFiles due to it being static, abstract and generic.
454
-
455
- GetFiles : GetFiles_MethodGroup
456
- class GetFiles_MethodGroup:
457
- @typing.overload
458
- def __call__(self) -> Array_1[FileInfo]:...
459
- @typing.overload
460
- def __call__(self, searchPattern: str) -> Array_1[FileInfo]:...
461
- @typing.overload
462
- def __call__(self, searchPattern: str, searchOption: SearchOption) -> Array_1[FileInfo]:...
463
- @typing.overload
464
- def __call__(self, searchPattern: str, enumerationOptions: EnumerationOptions) -> Array_1[FileInfo]:...
465
-
466
- # Skipped GetFileSystemInfos due to it being static, abstract and generic.
467
-
468
- GetFileSystemInfos : GetFileSystemInfos_MethodGroup
469
- class GetFileSystemInfos_MethodGroup:
470
- @typing.overload
471
- def __call__(self) -> Array_1[FileSystemInfo]:...
472
- @typing.overload
473
- def __call__(self, searchPattern: str) -> Array_1[FileSystemInfo]:...
474
- @typing.overload
475
- def __call__(self, searchPattern: str, searchOption: SearchOption) -> Array_1[FileSystemInfo]:...
476
- @typing.overload
477
- def __call__(self, searchPattern: str, enumerationOptions: EnumerationOptions) -> Array_1[FileSystemInfo]:...
478
-
479
-
480
-
481
- class DirectoryNotFoundException(IOException):
482
- @typing.overload
483
- def __init__(self) -> None: ...
484
- @typing.overload
485
- def __init__(self, message: str) -> None: ...
486
- @typing.overload
487
- def __init__(self, message: str, innerException: Exception) -> None: ...
488
- @property
489
- def Data(self) -> IDictionary: ...
490
- @property
491
- def HelpLink(self) -> str: ...
492
- @HelpLink.setter
493
- def HelpLink(self, value: str) -> str: ...
494
- @property
495
- def HResult(self) -> int: ...
496
- @HResult.setter
497
- def HResult(self, value: int) -> int: ...
498
- @property
499
- def InnerException(self) -> Exception: ...
500
- @property
501
- def Message(self) -> str: ...
502
- @property
503
- def Source(self) -> str: ...
504
- @Source.setter
505
- def Source(self, value: str) -> str: ...
506
- @property
507
- def StackTrace(self) -> str: ...
508
- @property
509
- def TargetSite(self) -> MethodBase: ...
510
-
511
-
512
- class EndOfStreamException(IOException):
513
- @typing.overload
514
- def __init__(self) -> None: ...
515
- @typing.overload
516
- def __init__(self, message: str) -> None: ...
517
- @typing.overload
518
- def __init__(self, message: str, innerException: Exception) -> None: ...
519
- @property
520
- def Data(self) -> IDictionary: ...
521
- @property
522
- def HelpLink(self) -> str: ...
523
- @HelpLink.setter
524
- def HelpLink(self, value: str) -> str: ...
525
- @property
526
- def HResult(self) -> int: ...
527
- @HResult.setter
528
- def HResult(self, value: int) -> int: ...
529
- @property
530
- def InnerException(self) -> Exception: ...
531
- @property
532
- def Message(self) -> str: ...
533
- @property
534
- def Source(self) -> str: ...
535
- @Source.setter
536
- def Source(self, value: str) -> str: ...
537
- @property
538
- def StackTrace(self) -> str: ...
539
- @property
540
- def TargetSite(self) -> MethodBase: ...
541
-
542
-
543
- class EnumerationOptions:
544
- def __init__(self) -> None: ...
545
- @property
546
- def AttributesToSkip(self) -> FileAttributes: ...
547
- @AttributesToSkip.setter
548
- def AttributesToSkip(self, value: FileAttributes) -> FileAttributes: ...
549
- @property
550
- def BufferSize(self) -> int: ...
551
- @BufferSize.setter
552
- def BufferSize(self, value: int) -> int: ...
553
- @property
554
- def IgnoreInaccessible(self) -> bool: ...
555
- @IgnoreInaccessible.setter
556
- def IgnoreInaccessible(self, value: bool) -> bool: ...
557
- @property
558
- def MatchCasing(self) -> MatchCasing: ...
559
- @MatchCasing.setter
560
- def MatchCasing(self, value: MatchCasing) -> MatchCasing: ...
561
- @property
562
- def MatchType(self) -> MatchType: ...
563
- @MatchType.setter
564
- def MatchType(self, value: MatchType) -> MatchType: ...
565
- @property
566
- def MaxRecursionDepth(self) -> int: ...
567
- @MaxRecursionDepth.setter
568
- def MaxRecursionDepth(self, value: int) -> int: ...
569
- @property
570
- def RecurseSubdirectories(self) -> bool: ...
571
- @RecurseSubdirectories.setter
572
- def RecurseSubdirectories(self, value: bool) -> bool: ...
573
- @property
574
- def ReturnSpecialDirectories(self) -> bool: ...
575
- @ReturnSpecialDirectories.setter
576
- def ReturnSpecialDirectories(self, value: bool) -> bool: ...
577
-
578
-
579
- class File(abc.ABC):
580
- @staticmethod
581
- def AppendText(path: str) -> StreamWriter: ...
582
- @staticmethod
583
- def CreateSymbolicLink(path: str, pathToTarget: str) -> FileSystemInfo: ...
584
- @staticmethod
585
- def CreateText(path: str) -> StreamWriter: ...
586
- @staticmethod
587
- def Decrypt(path: str) -> None: ...
588
- @staticmethod
589
- def Delete(path: str) -> None: ...
590
- @staticmethod
591
- def Encrypt(path: str) -> None: ...
592
- @staticmethod
593
- def Exists(path: str) -> bool: ...
594
- @staticmethod
595
- def OpenHandle(path: str, mode: FileMode = ..., access: FileAccess = ..., share: FileShare = ..., options: FileOptions = ..., preallocationSize: int = ...) -> SafeFileHandle: ...
596
- @staticmethod
597
- def OpenRead(path: str) -> FileStream: ...
598
- @staticmethod
599
- def OpenText(path: str) -> StreamReader: ...
600
- @staticmethod
601
- def OpenWrite(path: str) -> FileStream: ...
602
- @staticmethod
603
- def ReadAllBytes(path: str) -> Array_1[int]: ...
604
- @staticmethod
605
- def ReadAllBytesAsync(path: str, cancellationToken: CancellationToken = ...) -> Task_1[Array_1[int]]: ...
606
- @staticmethod
607
- def ResolveLinkTarget(linkPath: str, returnFinalTarget: bool) -> FileSystemInfo: ...
608
- @staticmethod
609
- def WriteAllBytes(path: str, bytes: Array_1[int]) -> None: ...
610
- @staticmethod
611
- def WriteAllBytesAsync(path: str, bytes: Array_1[int], cancellationToken: CancellationToken = ...) -> Task: ...
612
- # Skipped AppendAllLines due to it being static, abstract and generic.
613
-
614
- AppendAllLines : AppendAllLines_MethodGroup
615
- class AppendAllLines_MethodGroup:
616
- @typing.overload
617
- def __call__(self, path: str, contents: IEnumerable_1[str]) -> None:...
618
- @typing.overload
619
- def __call__(self, path: str, contents: IEnumerable_1[str], encoding: Encoding) -> None:...
620
-
621
- # Skipped AppendAllLinesAsync due to it being static, abstract and generic.
622
-
623
- AppendAllLinesAsync : AppendAllLinesAsync_MethodGroup
624
- class AppendAllLinesAsync_MethodGroup:
625
- @typing.overload
626
- def __call__(self, path: str, contents: IEnumerable_1[str], cancellationToken: CancellationToken = ...) -> Task:...
627
- @typing.overload
628
- def __call__(self, path: str, contents: IEnumerable_1[str], encoding: Encoding, cancellationToken: CancellationToken = ...) -> Task:...
629
-
630
- # Skipped AppendAllText due to it being static, abstract and generic.
631
-
632
- AppendAllText : AppendAllText_MethodGroup
633
- class AppendAllText_MethodGroup:
634
- @typing.overload
635
- def __call__(self, path: str, contents: str) -> None:...
636
- @typing.overload
637
- def __call__(self, path: str, contents: str, encoding: Encoding) -> None:...
638
-
639
- # Skipped AppendAllTextAsync due to it being static, abstract and generic.
640
-
641
- AppendAllTextAsync : AppendAllTextAsync_MethodGroup
642
- class AppendAllTextAsync_MethodGroup:
643
- @typing.overload
644
- def __call__(self, path: str, contents: str, cancellationToken: CancellationToken = ...) -> Task:...
645
- @typing.overload
646
- def __call__(self, path: str, contents: str, encoding: Encoding, cancellationToken: CancellationToken = ...) -> Task:...
647
-
648
- # Skipped Copy due to it being static, abstract and generic.
649
-
650
- Copy : Copy_MethodGroup
651
- class Copy_MethodGroup:
652
- @typing.overload
653
- def __call__(self, sourceFileName: str, destFileName: str) -> None:...
654
- @typing.overload
655
- def __call__(self, sourceFileName: str, destFileName: str, overwrite: bool) -> None:...
656
-
657
- # Skipped Create due to it being static, abstract and generic.
658
-
659
- Create : Create_MethodGroup
660
- class Create_MethodGroup:
661
- @typing.overload
662
- def __call__(self, path: str) -> FileStream:...
663
- @typing.overload
664
- def __call__(self, path: str, bufferSize: int) -> FileStream:...
665
- @typing.overload
666
- def __call__(self, path: str, bufferSize: int, options: FileOptions) -> FileStream:...
667
-
668
- # Skipped GetAttributes due to it being static, abstract and generic.
669
-
670
- GetAttributes : GetAttributes_MethodGroup
671
- class GetAttributes_MethodGroup:
672
- @typing.overload
673
- def __call__(self, fileHandle: SafeFileHandle) -> FileAttributes:...
674
- @typing.overload
675
- def __call__(self, path: str) -> FileAttributes:...
676
-
677
- # Skipped GetCreationTime due to it being static, abstract and generic.
678
-
679
- GetCreationTime : GetCreationTime_MethodGroup
680
- class GetCreationTime_MethodGroup:
681
- @typing.overload
682
- def __call__(self, fileHandle: SafeFileHandle) -> DateTime:...
683
- @typing.overload
684
- def __call__(self, path: str) -> DateTime:...
685
-
686
- # Skipped GetCreationTimeUtc due to it being static, abstract and generic.
687
-
688
- GetCreationTimeUtc : GetCreationTimeUtc_MethodGroup
689
- class GetCreationTimeUtc_MethodGroup:
690
- @typing.overload
691
- def __call__(self, fileHandle: SafeFileHandle) -> DateTime:...
692
- @typing.overload
693
- def __call__(self, path: str) -> DateTime:...
694
-
695
- # Skipped GetLastAccessTime due to it being static, abstract and generic.
696
-
697
- GetLastAccessTime : GetLastAccessTime_MethodGroup
698
- class GetLastAccessTime_MethodGroup:
699
- @typing.overload
700
- def __call__(self, fileHandle: SafeFileHandle) -> DateTime:...
701
- @typing.overload
702
- def __call__(self, path: str) -> DateTime:...
703
-
704
- # Skipped GetLastAccessTimeUtc due to it being static, abstract and generic.
705
-
706
- GetLastAccessTimeUtc : GetLastAccessTimeUtc_MethodGroup
707
- class GetLastAccessTimeUtc_MethodGroup:
708
- @typing.overload
709
- def __call__(self, fileHandle: SafeFileHandle) -> DateTime:...
710
- @typing.overload
711
- def __call__(self, path: str) -> DateTime:...
712
-
713
- # Skipped GetLastWriteTime due to it being static, abstract and generic.
714
-
715
- GetLastWriteTime : GetLastWriteTime_MethodGroup
716
- class GetLastWriteTime_MethodGroup:
717
- @typing.overload
718
- def __call__(self, fileHandle: SafeFileHandle) -> DateTime:...
719
- @typing.overload
720
- def __call__(self, path: str) -> DateTime:...
721
-
722
- # Skipped GetLastWriteTimeUtc due to it being static, abstract and generic.
723
-
724
- GetLastWriteTimeUtc : GetLastWriteTimeUtc_MethodGroup
725
- class GetLastWriteTimeUtc_MethodGroup:
726
- @typing.overload
727
- def __call__(self, fileHandle: SafeFileHandle) -> DateTime:...
728
- @typing.overload
729
- def __call__(self, path: str) -> DateTime:...
730
-
731
- # Skipped GetUnixFileMode due to it being static, abstract and generic.
732
-
733
- GetUnixFileMode : GetUnixFileMode_MethodGroup
734
- class GetUnixFileMode_MethodGroup:
735
- @typing.overload
736
- def __call__(self, fileHandle: SafeFileHandle) -> UnixFileMode:...
737
- @typing.overload
738
- def __call__(self, path: str) -> UnixFileMode:...
739
-
740
- # Skipped Move due to it being static, abstract and generic.
741
-
742
- Move : Move_MethodGroup
743
- class Move_MethodGroup:
744
- @typing.overload
745
- def __call__(self, sourceFileName: str, destFileName: str) -> None:...
746
- @typing.overload
747
- def __call__(self, sourceFileName: str, destFileName: str, overwrite: bool) -> None:...
748
-
749
- # Skipped Open due to it being static, abstract and generic.
750
-
751
- Open : Open_MethodGroup
752
- class Open_MethodGroup:
753
- @typing.overload
754
- def __call__(self, path: str, mode: FileMode) -> FileStream:...
755
- @typing.overload
756
- def __call__(self, path: str, options: FileStreamOptions) -> FileStream:...
757
- @typing.overload
758
- def __call__(self, path: str, mode: FileMode, access: FileAccess) -> FileStream:...
759
- @typing.overload
760
- def __call__(self, path: str, mode: FileMode, access: FileAccess, share: FileShare) -> FileStream:...
761
-
762
- # Skipped ReadAllLines due to it being static, abstract and generic.
763
-
764
- ReadAllLines : ReadAllLines_MethodGroup
765
- class ReadAllLines_MethodGroup:
766
- @typing.overload
767
- def __call__(self, path: str) -> Array_1[str]:...
768
- @typing.overload
769
- def __call__(self, path: str, encoding: Encoding) -> Array_1[str]:...
770
-
771
- # Skipped ReadAllLinesAsync due to it being static, abstract and generic.
772
-
773
- ReadAllLinesAsync : ReadAllLinesAsync_MethodGroup
774
- class ReadAllLinesAsync_MethodGroup:
775
- @typing.overload
776
- def __call__(self, path: str, cancellationToken: CancellationToken = ...) -> Task_1[Array_1[str]]:...
777
- @typing.overload
778
- def __call__(self, path: str, encoding: Encoding, cancellationToken: CancellationToken = ...) -> Task_1[Array_1[str]]:...
779
-
780
- # Skipped ReadAllText due to it being static, abstract and generic.
781
-
782
- ReadAllText : ReadAllText_MethodGroup
783
- class ReadAllText_MethodGroup:
784
- @typing.overload
785
- def __call__(self, path: str) -> str:...
786
- @typing.overload
787
- def __call__(self, path: str, encoding: Encoding) -> str:...
788
-
789
- # Skipped ReadAllTextAsync due to it being static, abstract and generic.
790
-
791
- ReadAllTextAsync : ReadAllTextAsync_MethodGroup
792
- class ReadAllTextAsync_MethodGroup:
793
- @typing.overload
794
- def __call__(self, path: str, cancellationToken: CancellationToken = ...) -> Task_1[str]:...
795
- @typing.overload
796
- def __call__(self, path: str, encoding: Encoding, cancellationToken: CancellationToken = ...) -> Task_1[str]:...
797
-
798
- # Skipped ReadLines due to it being static, abstract and generic.
799
-
800
- ReadLines : ReadLines_MethodGroup
801
- class ReadLines_MethodGroup:
802
- @typing.overload
803
- def __call__(self, path: str) -> IEnumerable_1[str]:...
804
- @typing.overload
805
- def __call__(self, path: str, encoding: Encoding) -> IEnumerable_1[str]:...
806
-
807
- # Skipped ReadLinesAsync due to it being static, abstract and generic.
808
-
809
- ReadLinesAsync : ReadLinesAsync_MethodGroup
810
- class ReadLinesAsync_MethodGroup:
811
- @typing.overload
812
- def __call__(self, path: str, cancellationToken: CancellationToken = ...) -> IAsyncEnumerable_1[str]:...
813
- @typing.overload
814
- def __call__(self, path: str, encoding: Encoding, cancellationToken: CancellationToken = ...) -> IAsyncEnumerable_1[str]:...
815
-
816
- # Skipped Replace due to it being static, abstract and generic.
817
-
818
- Replace : Replace_MethodGroup
819
- class Replace_MethodGroup:
820
- @typing.overload
821
- def __call__(self, sourceFileName: str, destinationFileName: str, destinationBackupFileName: str) -> None:...
822
- @typing.overload
823
- def __call__(self, sourceFileName: str, destinationFileName: str, destinationBackupFileName: str, ignoreMetadataErrors: bool) -> None:...
824
-
825
- # Skipped SetAttributes due to it being static, abstract and generic.
826
-
827
- SetAttributes : SetAttributes_MethodGroup
828
- class SetAttributes_MethodGroup:
829
- @typing.overload
830
- def __call__(self, fileHandle: SafeFileHandle, fileAttributes: FileAttributes) -> None:...
831
- @typing.overload
832
- def __call__(self, path: str, fileAttributes: FileAttributes) -> None:...
833
-
834
- # Skipped SetCreationTime due to it being static, abstract and generic.
835
-
836
- SetCreationTime : SetCreationTime_MethodGroup
837
- class SetCreationTime_MethodGroup:
838
- @typing.overload
839
- def __call__(self, fileHandle: SafeFileHandle, creationTime: DateTime) -> None:...
840
- @typing.overload
841
- def __call__(self, path: str, creationTime: DateTime) -> None:...
842
-
843
- # Skipped SetCreationTimeUtc due to it being static, abstract and generic.
844
-
845
- SetCreationTimeUtc : SetCreationTimeUtc_MethodGroup
846
- class SetCreationTimeUtc_MethodGroup:
847
- @typing.overload
848
- def __call__(self, fileHandle: SafeFileHandle, creationTimeUtc: DateTime) -> None:...
849
- @typing.overload
850
- def __call__(self, path: str, creationTimeUtc: DateTime) -> None:...
851
-
852
- # Skipped SetLastAccessTime due to it being static, abstract and generic.
853
-
854
- SetLastAccessTime : SetLastAccessTime_MethodGroup
855
- class SetLastAccessTime_MethodGroup:
856
- @typing.overload
857
- def __call__(self, fileHandle: SafeFileHandle, lastAccessTime: DateTime) -> None:...
858
- @typing.overload
859
- def __call__(self, path: str, lastAccessTime: DateTime) -> None:...
860
-
861
- # Skipped SetLastAccessTimeUtc due to it being static, abstract and generic.
862
-
863
- SetLastAccessTimeUtc : SetLastAccessTimeUtc_MethodGroup
864
- class SetLastAccessTimeUtc_MethodGroup:
865
- @typing.overload
866
- def __call__(self, fileHandle: SafeFileHandle, lastAccessTimeUtc: DateTime) -> None:...
867
- @typing.overload
868
- def __call__(self, path: str, lastAccessTimeUtc: DateTime) -> None:...
869
-
870
- # Skipped SetLastWriteTime due to it being static, abstract and generic.
871
-
872
- SetLastWriteTime : SetLastWriteTime_MethodGroup
873
- class SetLastWriteTime_MethodGroup:
874
- @typing.overload
875
- def __call__(self, fileHandle: SafeFileHandle, lastWriteTime: DateTime) -> None:...
876
- @typing.overload
877
- def __call__(self, path: str, lastWriteTime: DateTime) -> None:...
878
-
879
- # Skipped SetLastWriteTimeUtc due to it being static, abstract and generic.
880
-
881
- SetLastWriteTimeUtc : SetLastWriteTimeUtc_MethodGroup
882
- class SetLastWriteTimeUtc_MethodGroup:
883
- @typing.overload
884
- def __call__(self, fileHandle: SafeFileHandle, lastWriteTimeUtc: DateTime) -> None:...
885
- @typing.overload
886
- def __call__(self, path: str, lastWriteTimeUtc: DateTime) -> None:...
887
-
888
- # Skipped SetUnixFileMode due to it being static, abstract and generic.
889
-
890
- SetUnixFileMode : SetUnixFileMode_MethodGroup
891
- class SetUnixFileMode_MethodGroup:
892
- @typing.overload
893
- def __call__(self, fileHandle: SafeFileHandle, mode: UnixFileMode) -> None:...
894
- @typing.overload
895
- def __call__(self, path: str, mode: UnixFileMode) -> None:...
896
-
897
- # Skipped WriteAllLines due to it being static, abstract and generic.
898
-
899
- WriteAllLines : WriteAllLines_MethodGroup
900
- class WriteAllLines_MethodGroup:
901
- @typing.overload
902
- def __call__(self, path: str, contents: Array_1[str]) -> None:...
903
- @typing.overload
904
- def __call__(self, path: str, contents: IEnumerable_1[str]) -> None:...
905
- @typing.overload
906
- def __call__(self, path: str, contents: Array_1[str], encoding: Encoding) -> None:...
907
- @typing.overload
908
- def __call__(self, path: str, contents: IEnumerable_1[str], encoding: Encoding) -> None:...
909
-
910
- # Skipped WriteAllLinesAsync due to it being static, abstract and generic.
911
-
912
- WriteAllLinesAsync : WriteAllLinesAsync_MethodGroup
913
- class WriteAllLinesAsync_MethodGroup:
914
- @typing.overload
915
- def __call__(self, path: str, contents: IEnumerable_1[str], cancellationToken: CancellationToken = ...) -> Task:...
916
- @typing.overload
917
- def __call__(self, path: str, contents: IEnumerable_1[str], encoding: Encoding, cancellationToken: CancellationToken = ...) -> Task:...
918
-
919
- # Skipped WriteAllText due to it being static, abstract and generic.
920
-
921
- WriteAllText : WriteAllText_MethodGroup
922
- class WriteAllText_MethodGroup:
923
- @typing.overload
924
- def __call__(self, path: str, contents: str) -> None:...
925
- @typing.overload
926
- def __call__(self, path: str, contents: str, encoding: Encoding) -> None:...
927
-
928
- # Skipped WriteAllTextAsync due to it being static, abstract and generic.
929
-
930
- WriteAllTextAsync : WriteAllTextAsync_MethodGroup
931
- class WriteAllTextAsync_MethodGroup:
932
- @typing.overload
933
- def __call__(self, path: str, contents: str, cancellationToken: CancellationToken = ...) -> Task:...
934
- @typing.overload
935
- def __call__(self, path: str, contents: str, encoding: Encoding, cancellationToken: CancellationToken = ...) -> Task:...
936
-
937
-
938
-
939
- class FileAccess(typing.SupportsInt):
940
- @typing.overload
941
- def __init__(self, value : int) -> None: ...
942
- @typing.overload
943
- def __init__(self, value : int, force_if_true: bool) -> None: ...
944
- def __int__(self) -> int: ...
945
-
946
- # Values:
947
- Read : FileAccess # 1
948
- Write : FileAccess # 2
949
- ReadWrite : FileAccess # 3
950
-
951
-
952
- class FileAttributes(typing.SupportsInt):
953
- @typing.overload
954
- def __init__(self, value : int) -> None: ...
955
- @typing.overload
956
- def __init__(self, value : int, force_if_true: bool) -> None: ...
957
- def __int__(self) -> int: ...
958
-
959
- # Values:
960
- None_ : FileAttributes # 0
961
- ReadOnly : FileAttributes # 1
962
- Hidden : FileAttributes # 2
963
- System : FileAttributes # 4
964
- Directory : FileAttributes # 16
965
- Archive : FileAttributes # 32
966
- Device : FileAttributes # 64
967
- Normal : FileAttributes # 128
968
- Temporary : FileAttributes # 256
969
- SparseFile : FileAttributes # 512
970
- ReparsePoint : FileAttributes # 1024
971
- Compressed : FileAttributes # 2048
972
- Offline : FileAttributes # 4096
973
- NotContentIndexed : FileAttributes # 8192
974
- Encrypted : FileAttributes # 16384
975
- IntegrityStream : FileAttributes # 32768
976
- NoScrubData : FileAttributes # 131072
977
-
978
-
979
- class FileInfo(FileSystemInfo):
980
- def __init__(self, fileName: str) -> None: ...
981
- @property
982
- def Attributes(self) -> FileAttributes: ...
983
- @Attributes.setter
984
- def Attributes(self, value: FileAttributes) -> FileAttributes: ...
985
- @property
986
- def CreationTime(self) -> DateTime: ...
987
- @CreationTime.setter
988
- def CreationTime(self, value: DateTime) -> DateTime: ...
989
- @property
990
- def CreationTimeUtc(self) -> DateTime: ...
991
- @CreationTimeUtc.setter
992
- def CreationTimeUtc(self, value: DateTime) -> DateTime: ...
993
- @property
994
- def Directory(self) -> DirectoryInfo: ...
995
- @property
996
- def DirectoryName(self) -> str: ...
997
- @property
998
- def Exists(self) -> bool: ...
999
- @property
1000
- def Extension(self) -> str: ...
1001
- @property
1002
- def FullName(self) -> str: ...
1003
- @property
1004
- def IsReadOnly(self) -> bool: ...
1005
- @IsReadOnly.setter
1006
- def IsReadOnly(self, value: bool) -> bool: ...
1007
- @property
1008
- def LastAccessTime(self) -> DateTime: ...
1009
- @LastAccessTime.setter
1010
- def LastAccessTime(self, value: DateTime) -> DateTime: ...
1011
- @property
1012
- def LastAccessTimeUtc(self) -> DateTime: ...
1013
- @LastAccessTimeUtc.setter
1014
- def LastAccessTimeUtc(self, value: DateTime) -> DateTime: ...
1015
- @property
1016
- def LastWriteTime(self) -> DateTime: ...
1017
- @LastWriteTime.setter
1018
- def LastWriteTime(self, value: DateTime) -> DateTime: ...
1019
- @property
1020
- def LastWriteTimeUtc(self) -> DateTime: ...
1021
- @LastWriteTimeUtc.setter
1022
- def LastWriteTimeUtc(self, value: DateTime) -> DateTime: ...
1023
- @property
1024
- def Length(self) -> int: ...
1025
- @property
1026
- def LinkTarget(self) -> str: ...
1027
- @property
1028
- def Name(self) -> str: ...
1029
- @property
1030
- def UnixFileMode(self) -> UnixFileMode: ...
1031
- @UnixFileMode.setter
1032
- def UnixFileMode(self, value: UnixFileMode) -> UnixFileMode: ...
1033
- def AppendText(self) -> StreamWriter: ...
1034
- def Create(self) -> FileStream: ...
1035
- def CreateText(self) -> StreamWriter: ...
1036
- def Decrypt(self) -> None: ...
1037
- def Delete(self) -> None: ...
1038
- def Encrypt(self) -> None: ...
1039
- def OpenRead(self) -> FileStream: ...
1040
- def OpenText(self) -> StreamReader: ...
1041
- def OpenWrite(self) -> FileStream: ...
1042
- # Skipped CopyTo due to it being static, abstract and generic.
1043
-
1044
- CopyTo : CopyTo_MethodGroup
1045
- class CopyTo_MethodGroup:
1046
- @typing.overload
1047
- def __call__(self, destFileName: str) -> FileInfo:...
1048
- @typing.overload
1049
- def __call__(self, destFileName: str, overwrite: bool) -> FileInfo:...
1050
-
1051
- # Skipped MoveTo due to it being static, abstract and generic.
1052
-
1053
- MoveTo : MoveTo_MethodGroup
1054
- class MoveTo_MethodGroup:
1055
- @typing.overload
1056
- def __call__(self, destFileName: str) -> None:...
1057
- @typing.overload
1058
- def __call__(self, destFileName: str, overwrite: bool) -> None:...
1059
-
1060
- # Skipped Open due to it being static, abstract and generic.
1061
-
1062
- Open : Open_MethodGroup
1063
- class Open_MethodGroup:
1064
- @typing.overload
1065
- def __call__(self, mode: FileMode) -> FileStream:...
1066
- @typing.overload
1067
- def __call__(self, options: FileStreamOptions) -> FileStream:...
1068
- @typing.overload
1069
- def __call__(self, mode: FileMode, access: FileAccess) -> FileStream:...
1070
- @typing.overload
1071
- def __call__(self, mode: FileMode, access: FileAccess, share: FileShare) -> FileStream:...
1072
-
1073
- # Skipped Replace due to it being static, abstract and generic.
1074
-
1075
- Replace : Replace_MethodGroup
1076
- class Replace_MethodGroup:
1077
- @typing.overload
1078
- def __call__(self, destinationFileName: str, destinationBackupFileName: str) -> FileInfo:...
1079
- @typing.overload
1080
- def __call__(self, destinationFileName: str, destinationBackupFileName: str, ignoreMetadataErrors: bool) -> FileInfo:...
1081
-
1082
-
1083
-
1084
- class FileLoadException(IOException):
1085
- @typing.overload
1086
- def __init__(self) -> None: ...
1087
- @typing.overload
1088
- def __init__(self, message: str) -> None: ...
1089
- @typing.overload
1090
- def __init__(self, message: str, fileName: str) -> None: ...
1091
- @typing.overload
1092
- def __init__(self, message: str, fileName: str, inner: Exception) -> None: ...
1093
- @typing.overload
1094
- def __init__(self, message: str, inner: Exception) -> None: ...
1095
- @property
1096
- def Data(self) -> IDictionary: ...
1097
- @property
1098
- def FileName(self) -> str: ...
1099
- @property
1100
- def FusionLog(self) -> str: ...
1101
- @property
1102
- def HelpLink(self) -> str: ...
1103
- @HelpLink.setter
1104
- def HelpLink(self, value: str) -> str: ...
1105
- @property
1106
- def HResult(self) -> int: ...
1107
- @HResult.setter
1108
- def HResult(self, value: int) -> int: ...
1109
- @property
1110
- def InnerException(self) -> Exception: ...
1111
- @property
1112
- def Message(self) -> str: ...
1113
- @property
1114
- def Source(self) -> str: ...
1115
- @Source.setter
1116
- def Source(self, value: str) -> str: ...
1117
- @property
1118
- def StackTrace(self) -> str: ...
1119
- @property
1120
- def TargetSite(self) -> MethodBase: ...
1121
- def GetObjectData(self, info: SerializationInfo, context: StreamingContext) -> None: ...
1122
- def ToString(self) -> str: ...
1123
-
1124
-
1125
- class FileMode(typing.SupportsInt):
1126
- @typing.overload
1127
- def __init__(self, value : int) -> None: ...
1128
- @typing.overload
1129
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1130
- def __int__(self) -> int: ...
1131
-
1132
- # Values:
1133
- CreateNew : FileMode # 1
1134
- Create : FileMode # 2
1135
- Open : FileMode # 3
1136
- OpenOrCreate : FileMode # 4
1137
- Truncate : FileMode # 5
1138
- Append : FileMode # 6
1139
-
1140
-
1141
- class FileNotFoundException(IOException):
1142
- @typing.overload
1143
- def __init__(self) -> None: ...
1144
- @typing.overload
1145
- def __init__(self, message: str) -> None: ...
1146
- @typing.overload
1147
- def __init__(self, message: str, fileName: str) -> None: ...
1148
- @typing.overload
1149
- def __init__(self, message: str, fileName: str, innerException: Exception) -> None: ...
1150
- @typing.overload
1151
- def __init__(self, message: str, innerException: Exception) -> None: ...
1152
- @property
1153
- def Data(self) -> IDictionary: ...
1154
- @property
1155
- def FileName(self) -> str: ...
1156
- @property
1157
- def FusionLog(self) -> str: ...
1158
- @property
1159
- def HelpLink(self) -> str: ...
1160
- @HelpLink.setter
1161
- def HelpLink(self, value: str) -> str: ...
1162
- @property
1163
- def HResult(self) -> int: ...
1164
- @HResult.setter
1165
- def HResult(self, value: int) -> int: ...
1166
- @property
1167
- def InnerException(self) -> Exception: ...
1168
- @property
1169
- def Message(self) -> str: ...
1170
- @property
1171
- def Source(self) -> str: ...
1172
- @Source.setter
1173
- def Source(self, value: str) -> str: ...
1174
- @property
1175
- def StackTrace(self) -> str: ...
1176
- @property
1177
- def TargetSite(self) -> MethodBase: ...
1178
- def GetObjectData(self, info: SerializationInfo, context: StreamingContext) -> None: ...
1179
- def ToString(self) -> str: ...
1180
-
1181
-
1182
- class FileOptions(typing.SupportsInt):
1183
- @typing.overload
1184
- def __init__(self, value : int) -> None: ...
1185
- @typing.overload
1186
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1187
- def __int__(self) -> int: ...
1188
-
1189
- # Values:
1190
- None_ : FileOptions # 0
1191
- Encrypted : FileOptions # 16384
1192
- DeleteOnClose : FileOptions # 67108864
1193
- SequentialScan : FileOptions # 134217728
1194
- RandomAccess : FileOptions # 268435456
1195
- Asynchronous : FileOptions # 1073741824
1196
- WriteThrough : FileOptions # -2147483648
1197
-
1198
-
1199
- class FileShare(typing.SupportsInt):
1200
- @typing.overload
1201
- def __init__(self, value : int) -> None: ...
1202
- @typing.overload
1203
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1204
- def __int__(self) -> int: ...
1205
-
1206
- # Values:
1207
- None_ : FileShare # 0
1208
- Read : FileShare # 1
1209
- Write : FileShare # 2
1210
- ReadWrite : FileShare # 3
1211
- Delete : FileShare # 4
1212
- Inheritable : FileShare # 16
1213
-
1214
-
1215
- class FileStream(Stream):
1216
- @typing.overload
1217
- def __init__(self, handle: int, access: FileAccess) -> None: ...
1218
- @typing.overload
1219
- def __init__(self, handle: SafeFileHandle, access: FileAccess) -> None: ...
1220
- @typing.overload
1221
- def __init__(self, handle: SafeFileHandle, access: FileAccess, bufferSize: int) -> None: ...
1222
- @typing.overload
1223
- def __init__(self, handle: SafeFileHandle, access: FileAccess, bufferSize: int, isAsync: bool) -> None: ...
1224
- @typing.overload
1225
- def __init__(self, handle: int, access: FileAccess, ownsHandle: bool) -> None: ...
1226
- @typing.overload
1227
- def __init__(self, handle: int, access: FileAccess, ownsHandle: bool, bufferSize: int) -> None: ...
1228
- @typing.overload
1229
- def __init__(self, handle: int, access: FileAccess, ownsHandle: bool, bufferSize: int, isAsync: bool) -> None: ...
1230
- @typing.overload
1231
- def __init__(self, path: str, mode: FileMode) -> None: ...
1232
- @typing.overload
1233
- def __init__(self, path: str, mode: FileMode, access: FileAccess) -> None: ...
1234
- @typing.overload
1235
- def __init__(self, path: str, mode: FileMode, access: FileAccess, share: FileShare) -> None: ...
1236
- @typing.overload
1237
- def __init__(self, path: str, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int) -> None: ...
1238
- @typing.overload
1239
- def __init__(self, path: str, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, options: FileOptions) -> None: ...
1240
- @typing.overload
1241
- def __init__(self, path: str, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, useAsync: bool) -> None: ...
1242
- @typing.overload
1243
- def __init__(self, path: str, options: FileStreamOptions) -> None: ...
1244
- @property
1245
- def CanRead(self) -> bool: ...
1246
- @property
1247
- def CanSeek(self) -> bool: ...
1248
- @property
1249
- def CanTimeout(self) -> bool: ...
1250
- @property
1251
- def CanWrite(self) -> bool: ...
1252
- @property
1253
- def Handle(self) -> int: ...
1254
- @property
1255
- def IsAsync(self) -> bool: ...
1256
- @property
1257
- def Length(self) -> int: ...
1258
- @property
1259
- def Name(self) -> str: ...
1260
- @property
1261
- def Position(self) -> int: ...
1262
- @Position.setter
1263
- def Position(self, value: int) -> int: ...
1264
- @property
1265
- def ReadTimeout(self) -> int: ...
1266
- @ReadTimeout.setter
1267
- def ReadTimeout(self, value: int) -> int: ...
1268
- @property
1269
- def SafeFileHandle(self) -> SafeFileHandle: ...
1270
- @property
1271
- def WriteTimeout(self) -> int: ...
1272
- @WriteTimeout.setter
1273
- def WriteTimeout(self, value: int) -> int: ...
1274
- def BeginRead(self, buffer: Array_1[int], offset: int, count: int, callback: AsyncCallback, state: typing.Any) -> IAsyncResult: ...
1275
- def BeginWrite(self, buffer: Array_1[int], offset: int, count: int, callback: AsyncCallback, state: typing.Any) -> IAsyncResult: ...
1276
- def CopyTo(self, destination: Stream, bufferSize: int) -> None: ...
1277
- def CopyToAsync(self, destination: Stream, bufferSize: int, cancellationToken: CancellationToken) -> Task: ...
1278
- def DisposeAsync(self) -> ValueTask: ...
1279
- def EndRead(self, asyncResult: IAsyncResult) -> int: ...
1280
- def EndWrite(self, asyncResult: IAsyncResult) -> None: ...
1281
- def FlushAsync(self, cancellationToken: CancellationToken) -> Task: ...
1282
- def Lock(self, position: int, length: int) -> None: ...
1283
- def ReadByte(self) -> int: ...
1284
- def Seek(self, offset: int, origin: SeekOrigin) -> int: ...
1285
- def SetLength(self, value: int) -> None: ...
1286
- def Unlock(self, position: int, length: int) -> None: ...
1287
- def WriteByte(self, value: int) -> None: ...
1288
- # Skipped Flush due to it being static, abstract and generic.
1289
-
1290
- Flush : Flush_MethodGroup
1291
- class Flush_MethodGroup:
1292
- @typing.overload
1293
- def __call__(self) -> None:...
1294
- @typing.overload
1295
- def __call__(self, flushToDisk: bool) -> None:...
1296
-
1297
- # Skipped Read due to it being static, abstract and generic.
1298
-
1299
- Read : Read_MethodGroup
1300
- class Read_MethodGroup:
1301
- @typing.overload
1302
- def __call__(self, buffer: Span_1[int]) -> int:...
1303
- @typing.overload
1304
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> int:...
1305
-
1306
- # Skipped ReadAsync due to it being static, abstract and generic.
1307
-
1308
- ReadAsync : ReadAsync_MethodGroup
1309
- class ReadAsync_MethodGroup:
1310
- @typing.overload
1311
- def __call__(self, buffer: Memory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
1312
- @typing.overload
1313
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task_1[int]:...
1314
-
1315
- # Skipped Write due to it being static, abstract and generic.
1316
-
1317
- Write : Write_MethodGroup
1318
- class Write_MethodGroup:
1319
- @typing.overload
1320
- def __call__(self, buffer: ReadOnlySpan_1[int]) -> None:...
1321
- @typing.overload
1322
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> None:...
1323
-
1324
- # Skipped WriteAsync due to it being static, abstract and generic.
1325
-
1326
- WriteAsync : WriteAsync_MethodGroup
1327
- class WriteAsync_MethodGroup:
1328
- @typing.overload
1329
- def __call__(self, buffer: ReadOnlyMemory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask:...
1330
- @typing.overload
1331
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task:...
1332
-
1333
-
1334
-
1335
- class FileStreamOptions:
1336
- def __init__(self) -> None: ...
1337
- @property
1338
- def Access(self) -> FileAccess: ...
1339
- @Access.setter
1340
- def Access(self, value: FileAccess) -> FileAccess: ...
1341
- @property
1342
- def BufferSize(self) -> int: ...
1343
- @BufferSize.setter
1344
- def BufferSize(self, value: int) -> int: ...
1345
- @property
1346
- def Mode(self) -> FileMode: ...
1347
- @Mode.setter
1348
- def Mode(self, value: FileMode) -> FileMode: ...
1349
- @property
1350
- def Options(self) -> FileOptions: ...
1351
- @Options.setter
1352
- def Options(self, value: FileOptions) -> FileOptions: ...
1353
- @property
1354
- def PreallocationSize(self) -> int: ...
1355
- @PreallocationSize.setter
1356
- def PreallocationSize(self, value: int) -> int: ...
1357
- @property
1358
- def Share(self) -> FileShare: ...
1359
- @Share.setter
1360
- def Share(self, value: FileShare) -> FileShare: ...
1361
- @property
1362
- def UnixCreateMode(self) -> typing.Optional[UnixFileMode]: ...
1363
- @UnixCreateMode.setter
1364
- def UnixCreateMode(self, value: typing.Optional[UnixFileMode]) -> typing.Optional[UnixFileMode]: ...
1365
-
1366
-
1367
- class FileSystemInfo(MarshalByRefObject, ISerializable):
1368
- @property
1369
- def Attributes(self) -> FileAttributes: ...
1370
- @Attributes.setter
1371
- def Attributes(self, value: FileAttributes) -> FileAttributes: ...
1372
- @property
1373
- def CreationTime(self) -> DateTime: ...
1374
- @CreationTime.setter
1375
- def CreationTime(self, value: DateTime) -> DateTime: ...
1376
- @property
1377
- def CreationTimeUtc(self) -> DateTime: ...
1378
- @CreationTimeUtc.setter
1379
- def CreationTimeUtc(self, value: DateTime) -> DateTime: ...
1380
- @property
1381
- def Exists(self) -> bool: ...
1382
- @property
1383
- def Extension(self) -> str: ...
1384
- @property
1385
- def FullName(self) -> str: ...
1386
- @property
1387
- def LastAccessTime(self) -> DateTime: ...
1388
- @LastAccessTime.setter
1389
- def LastAccessTime(self, value: DateTime) -> DateTime: ...
1390
- @property
1391
- def LastAccessTimeUtc(self) -> DateTime: ...
1392
- @LastAccessTimeUtc.setter
1393
- def LastAccessTimeUtc(self, value: DateTime) -> DateTime: ...
1394
- @property
1395
- def LastWriteTime(self) -> DateTime: ...
1396
- @LastWriteTime.setter
1397
- def LastWriteTime(self, value: DateTime) -> DateTime: ...
1398
- @property
1399
- def LastWriteTimeUtc(self) -> DateTime: ...
1400
- @LastWriteTimeUtc.setter
1401
- def LastWriteTimeUtc(self, value: DateTime) -> DateTime: ...
1402
- @property
1403
- def LinkTarget(self) -> str: ...
1404
- @property
1405
- def Name(self) -> str: ...
1406
- @property
1407
- def UnixFileMode(self) -> UnixFileMode: ...
1408
- @UnixFileMode.setter
1409
- def UnixFileMode(self, value: UnixFileMode) -> UnixFileMode: ...
1410
- def CreateAsSymbolicLink(self, pathToTarget: str) -> None: ...
1411
- @abc.abstractmethod
1412
- def Delete(self) -> None: ...
1413
- def GetObjectData(self, info: SerializationInfo, context: StreamingContext) -> None: ...
1414
- def Refresh(self) -> None: ...
1415
- def ResolveLinkTarget(self, returnFinalTarget: bool) -> FileSystemInfo: ...
1416
- def ToString(self) -> str: ...
1417
-
1418
-
1419
- class HandleInheritability(typing.SupportsInt):
1420
- @typing.overload
1421
- def __init__(self, value : int) -> None: ...
1422
- @typing.overload
1423
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1424
- def __int__(self) -> int: ...
1425
-
1426
- # Values:
1427
- None_ : HandleInheritability # 0
1428
- Inheritable : HandleInheritability # 1
1429
-
1430
-
1431
- class InvalidDataException(SystemException):
1432
- @typing.overload
1433
- def __init__(self) -> None: ...
1434
- @typing.overload
1435
- def __init__(self, message: str) -> None: ...
1436
- @typing.overload
1437
- def __init__(self, message: str, innerException: Exception) -> None: ...
1438
- @property
1439
- def Data(self) -> IDictionary: ...
1440
- @property
1441
- def HelpLink(self) -> str: ...
1442
- @HelpLink.setter
1443
- def HelpLink(self, value: str) -> str: ...
1444
- @property
1445
- def HResult(self) -> int: ...
1446
- @HResult.setter
1447
- def HResult(self, value: int) -> int: ...
1448
- @property
1449
- def InnerException(self) -> Exception: ...
1450
- @property
1451
- def Message(self) -> str: ...
1452
- @property
1453
- def Source(self) -> str: ...
1454
- @Source.setter
1455
- def Source(self, value: str) -> str: ...
1456
- @property
1457
- def StackTrace(self) -> str: ...
1458
- @property
1459
- def TargetSite(self) -> MethodBase: ...
1460
-
1461
-
1462
- class IOException(SystemException):
1463
- @typing.overload
1464
- def __init__(self) -> None: ...
1465
- @typing.overload
1466
- def __init__(self, message: str) -> None: ...
1467
- @typing.overload
1468
- def __init__(self, message: str, hresult: int) -> None: ...
1469
- @typing.overload
1470
- def __init__(self, message: str, innerException: Exception) -> None: ...
1471
- @property
1472
- def Data(self) -> IDictionary: ...
1473
- @property
1474
- def HelpLink(self) -> str: ...
1475
- @HelpLink.setter
1476
- def HelpLink(self, value: str) -> str: ...
1477
- @property
1478
- def HResult(self) -> int: ...
1479
- @HResult.setter
1480
- def HResult(self, value: int) -> int: ...
1481
- @property
1482
- def InnerException(self) -> Exception: ...
1483
- @property
1484
- def Message(self) -> str: ...
1485
- @property
1486
- def Source(self) -> str: ...
1487
- @Source.setter
1488
- def Source(self, value: str) -> str: ...
1489
- @property
1490
- def StackTrace(self) -> str: ...
1491
- @property
1492
- def TargetSite(self) -> MethodBase: ...
1493
-
1494
-
1495
- class MatchCasing(typing.SupportsInt):
1496
- @typing.overload
1497
- def __init__(self, value : int) -> None: ...
1498
- @typing.overload
1499
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1500
- def __int__(self) -> int: ...
1501
-
1502
- # Values:
1503
- PlatformDefault : MatchCasing # 0
1504
- CaseSensitive : MatchCasing # 1
1505
- CaseInsensitive : MatchCasing # 2
1506
-
1507
-
1508
- class MatchType(typing.SupportsInt):
1509
- @typing.overload
1510
- def __init__(self, value : int) -> None: ...
1511
- @typing.overload
1512
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1513
- def __int__(self) -> int: ...
1514
-
1515
- # Values:
1516
- Simple : MatchType # 0
1517
- Win32 : MatchType # 1
1518
-
1519
-
1520
- class MemoryStream(Stream):
1521
- @typing.overload
1522
- def __init__(self) -> None: ...
1523
- @typing.overload
1524
- def __init__(self, buffer: Array_1[int]) -> None: ...
1525
- @typing.overload
1526
- def __init__(self, buffer: Array_1[int], index: int, count: int) -> None: ...
1527
- @typing.overload
1528
- def __init__(self, buffer: Array_1[int], index: int, count: int, writable: bool) -> None: ...
1529
- @typing.overload
1530
- def __init__(self, buffer: Array_1[int], index: int, count: int, writable: bool, publiclyVisible: bool) -> None: ...
1531
- @typing.overload
1532
- def __init__(self, buffer: Array_1[int], writable: bool) -> None: ...
1533
- @typing.overload
1534
- def __init__(self, capacity: int) -> None: ...
1535
- @property
1536
- def CanRead(self) -> bool: ...
1537
- @property
1538
- def CanSeek(self) -> bool: ...
1539
- @property
1540
- def CanTimeout(self) -> bool: ...
1541
- @property
1542
- def CanWrite(self) -> bool: ...
1543
- @property
1544
- def Capacity(self) -> int: ...
1545
- @Capacity.setter
1546
- def Capacity(self, value: int) -> int: ...
1547
- @property
1548
- def Length(self) -> int: ...
1549
- @property
1550
- def Position(self) -> int: ...
1551
- @Position.setter
1552
- def Position(self, value: int) -> int: ...
1553
- @property
1554
- def ReadTimeout(self) -> int: ...
1555
- @ReadTimeout.setter
1556
- def ReadTimeout(self, value: int) -> int: ...
1557
- @property
1558
- def WriteTimeout(self) -> int: ...
1559
- @WriteTimeout.setter
1560
- def WriteTimeout(self, value: int) -> int: ...
1561
- def CopyTo(self, destination: Stream, bufferSize: int) -> None: ...
1562
- def CopyToAsync(self, destination: Stream, bufferSize: int, cancellationToken: CancellationToken) -> Task: ...
1563
- def Flush(self) -> None: ...
1564
- def FlushAsync(self, cancellationToken: CancellationToken) -> Task: ...
1565
- def GetBuffer(self) -> Array_1[int]: ...
1566
- def ReadByte(self) -> int: ...
1567
- def Seek(self, offset: int, loc: SeekOrigin) -> int: ...
1568
- def SetLength(self, value: int) -> None: ...
1569
- def ToArray(self) -> Array_1[int]: ...
1570
- def TryGetBuffer(self, buffer: clr.Reference[ArraySegment_1[int]]) -> bool: ...
1571
- def WriteByte(self, value: int) -> None: ...
1572
- def WriteTo(self, stream: Stream) -> None: ...
1573
- # Skipped Read due to it being static, abstract and generic.
1574
-
1575
- Read : Read_MethodGroup
1576
- class Read_MethodGroup:
1577
- @typing.overload
1578
- def __call__(self, buffer: Span_1[int]) -> int:...
1579
- @typing.overload
1580
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> int:...
1581
-
1582
- # Skipped ReadAsync due to it being static, abstract and generic.
1583
-
1584
- ReadAsync : ReadAsync_MethodGroup
1585
- class ReadAsync_MethodGroup:
1586
- @typing.overload
1587
- def __call__(self, buffer: Memory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
1588
- @typing.overload
1589
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task_1[int]:...
1590
-
1591
- # Skipped Write due to it being static, abstract and generic.
1592
-
1593
- Write : Write_MethodGroup
1594
- class Write_MethodGroup:
1595
- @typing.overload
1596
- def __call__(self, buffer: ReadOnlySpan_1[int]) -> None:...
1597
- @typing.overload
1598
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> None:...
1599
-
1600
- # Skipped WriteAsync due to it being static, abstract and generic.
1601
-
1602
- WriteAsync : WriteAsync_MethodGroup
1603
- class WriteAsync_MethodGroup:
1604
- @typing.overload
1605
- def __call__(self, buffer: ReadOnlyMemory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask:...
1606
- @typing.overload
1607
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task:...
1608
-
1609
-
1610
-
1611
- class Path(abc.ABC):
1612
- AltDirectorySeparatorChar : str
1613
- DirectorySeparatorChar : str
1614
- InvalidPathChars : Array_1[str]
1615
- PathSeparator : str
1616
- VolumeSeparatorChar : str
1617
- @staticmethod
1618
- def ChangeExtension(path: str, extension: str) -> str: ...
1619
- @staticmethod
1620
- def Exists(path: str) -> bool: ...
1621
- @staticmethod
1622
- def GetInvalidFileNameChars() -> Array_1[str]: ...
1623
- @staticmethod
1624
- def GetInvalidPathChars() -> Array_1[str]: ...
1625
- @staticmethod
1626
- def GetRandomFileName() -> str: ...
1627
- @staticmethod
1628
- def GetRelativePath(relativeTo: str, path: str) -> str: ...
1629
- @staticmethod
1630
- def GetTempFileName() -> str: ...
1631
- @staticmethod
1632
- def GetTempPath() -> str: ...
1633
- # Skipped Combine due to it being static, abstract and generic.
1634
-
1635
- Combine : Combine_MethodGroup
1636
- class Combine_MethodGroup:
1637
- @typing.overload
1638
- def __call__(self, paths: Array_1[str]) -> str:...
1639
- @typing.overload
1640
- def __call__(self, path1: str, path2: str) -> str:...
1641
- @typing.overload
1642
- def __call__(self, path1: str, path2: str, path3: str) -> str:...
1643
- @typing.overload
1644
- def __call__(self, path1: str, path2: str, path3: str, path4: str) -> str:...
1645
-
1646
- # Skipped EndsInDirectorySeparator due to it being static, abstract and generic.
1647
-
1648
- EndsInDirectorySeparator : EndsInDirectorySeparator_MethodGroup
1649
- class EndsInDirectorySeparator_MethodGroup:
1650
- @typing.overload
1651
- def __call__(self, path: ReadOnlySpan_1[str]) -> bool:...
1652
- @typing.overload
1653
- def __call__(self, path: str) -> bool:...
1654
-
1655
- # Skipped GetDirectoryName due to it being static, abstract and generic.
1656
-
1657
- GetDirectoryName : GetDirectoryName_MethodGroup
1658
- class GetDirectoryName_MethodGroup:
1659
- @typing.overload
1660
- def __call__(self, path: ReadOnlySpan_1[str]) -> ReadOnlySpan_1[str]:...
1661
- @typing.overload
1662
- def __call__(self, path: str) -> str:...
1663
-
1664
- # Skipped GetExtension due to it being static, abstract and generic.
1665
-
1666
- GetExtension : GetExtension_MethodGroup
1667
- class GetExtension_MethodGroup:
1668
- @typing.overload
1669
- def __call__(self, path: ReadOnlySpan_1[str]) -> ReadOnlySpan_1[str]:...
1670
- @typing.overload
1671
- def __call__(self, path: str) -> str:...
1672
-
1673
- # Skipped GetFileName due to it being static, abstract and generic.
1674
-
1675
- GetFileName : GetFileName_MethodGroup
1676
- class GetFileName_MethodGroup:
1677
- @typing.overload
1678
- def __call__(self, path: ReadOnlySpan_1[str]) -> ReadOnlySpan_1[str]:...
1679
- @typing.overload
1680
- def __call__(self, path: str) -> str:...
1681
-
1682
- # Skipped GetFileNameWithoutExtension due to it being static, abstract and generic.
1683
-
1684
- GetFileNameWithoutExtension : GetFileNameWithoutExtension_MethodGroup
1685
- class GetFileNameWithoutExtension_MethodGroup:
1686
- @typing.overload
1687
- def __call__(self, path: ReadOnlySpan_1[str]) -> ReadOnlySpan_1[str]:...
1688
- @typing.overload
1689
- def __call__(self, path: str) -> str:...
1690
-
1691
- # Skipped GetFullPath due to it being static, abstract and generic.
1692
-
1693
- GetFullPath : GetFullPath_MethodGroup
1694
- class GetFullPath_MethodGroup:
1695
- @typing.overload
1696
- def __call__(self, path: str) -> str:...
1697
- @typing.overload
1698
- def __call__(self, path: str, basePath: str) -> str:...
1699
-
1700
- # Skipped GetPathRoot due to it being static, abstract and generic.
1701
-
1702
- GetPathRoot : GetPathRoot_MethodGroup
1703
- class GetPathRoot_MethodGroup:
1704
- @typing.overload
1705
- def __call__(self, path: ReadOnlySpan_1[str]) -> ReadOnlySpan_1[str]:...
1706
- @typing.overload
1707
- def __call__(self, path: str) -> str:...
1708
-
1709
- # Skipped HasExtension due to it being static, abstract and generic.
1710
-
1711
- HasExtension : HasExtension_MethodGroup
1712
- class HasExtension_MethodGroup:
1713
- @typing.overload
1714
- def __call__(self, path: ReadOnlySpan_1[str]) -> bool:...
1715
- @typing.overload
1716
- def __call__(self, path: str) -> bool:...
1717
-
1718
- # Skipped IsPathFullyQualified due to it being static, abstract and generic.
1719
-
1720
- IsPathFullyQualified : IsPathFullyQualified_MethodGroup
1721
- class IsPathFullyQualified_MethodGroup:
1722
- @typing.overload
1723
- def __call__(self, path: ReadOnlySpan_1[str]) -> bool:...
1724
- @typing.overload
1725
- def __call__(self, path: str) -> bool:...
1726
-
1727
- # Skipped IsPathRooted due to it being static, abstract and generic.
1728
-
1729
- IsPathRooted : IsPathRooted_MethodGroup
1730
- class IsPathRooted_MethodGroup:
1731
- @typing.overload
1732
- def __call__(self, path: ReadOnlySpan_1[str]) -> bool:...
1733
- @typing.overload
1734
- def __call__(self, path: str) -> bool:...
1735
-
1736
- # Skipped Join due to it being static, abstract and generic.
1737
-
1738
- Join : Join_MethodGroup
1739
- class Join_MethodGroup:
1740
- @typing.overload
1741
- def __call__(self, paths: Array_1[str]) -> str:...
1742
- @typing.overload
1743
- def __call__(self, path1: ReadOnlySpan_1[str], path2: ReadOnlySpan_1[str]) -> str:...
1744
- @typing.overload
1745
- def __call__(self, path1: str, path2: str) -> str:...
1746
- @typing.overload
1747
- def __call__(self, path1: ReadOnlySpan_1[str], path2: ReadOnlySpan_1[str], path3: ReadOnlySpan_1[str]) -> str:...
1748
- @typing.overload
1749
- def __call__(self, path1: str, path2: str, path3: str) -> str:...
1750
- @typing.overload
1751
- def __call__(self, path1: ReadOnlySpan_1[str], path2: ReadOnlySpan_1[str], path3: ReadOnlySpan_1[str], path4: ReadOnlySpan_1[str]) -> str:...
1752
- @typing.overload
1753
- def __call__(self, path1: str, path2: str, path3: str, path4: str) -> str:...
1754
-
1755
- # Skipped TrimEndingDirectorySeparator due to it being static, abstract and generic.
1756
-
1757
- TrimEndingDirectorySeparator : TrimEndingDirectorySeparator_MethodGroup
1758
- class TrimEndingDirectorySeparator_MethodGroup:
1759
- @typing.overload
1760
- def __call__(self, path: ReadOnlySpan_1[str]) -> ReadOnlySpan_1[str]:...
1761
- @typing.overload
1762
- def __call__(self, path: str) -> str:...
1763
-
1764
- # Skipped TryJoin due to it being static, abstract and generic.
1765
-
1766
- TryJoin : TryJoin_MethodGroup
1767
- class TryJoin_MethodGroup:
1768
- @typing.overload
1769
- def __call__(self, path1: ReadOnlySpan_1[str], path2: ReadOnlySpan_1[str], destination: Span_1[str], charsWritten: clr.Reference[int]) -> bool:...
1770
- @typing.overload
1771
- def __call__(self, path1: ReadOnlySpan_1[str], path2: ReadOnlySpan_1[str], path3: ReadOnlySpan_1[str], destination: Span_1[str], charsWritten: clr.Reference[int]) -> bool:...
1772
-
1773
-
1774
-
1775
- class PathTooLongException(IOException):
1776
- @typing.overload
1777
- def __init__(self) -> None: ...
1778
- @typing.overload
1779
- def __init__(self, message: str) -> None: ...
1780
- @typing.overload
1781
- def __init__(self, message: str, innerException: Exception) -> None: ...
1782
- @property
1783
- def Data(self) -> IDictionary: ...
1784
- @property
1785
- def HelpLink(self) -> str: ...
1786
- @HelpLink.setter
1787
- def HelpLink(self, value: str) -> str: ...
1788
- @property
1789
- def HResult(self) -> int: ...
1790
- @HResult.setter
1791
- def HResult(self, value: int) -> int: ...
1792
- @property
1793
- def InnerException(self) -> Exception: ...
1794
- @property
1795
- def Message(self) -> str: ...
1796
- @property
1797
- def Source(self) -> str: ...
1798
- @Source.setter
1799
- def Source(self, value: str) -> str: ...
1800
- @property
1801
- def StackTrace(self) -> str: ...
1802
- @property
1803
- def TargetSite(self) -> MethodBase: ...
1804
-
1805
-
1806
- class RandomAccess(abc.ABC):
1807
- @staticmethod
1808
- def FlushToDisk(handle: SafeFileHandle) -> None: ...
1809
- @staticmethod
1810
- def GetLength(handle: SafeFileHandle) -> int: ...
1811
- @staticmethod
1812
- def SetLength(handle: SafeFileHandle, length: int) -> None: ...
1813
- # Skipped Read due to it being static, abstract and generic.
1814
-
1815
- Read : Read_MethodGroup
1816
- class Read_MethodGroup:
1817
- @typing.overload
1818
- def __call__(self, handle: SafeFileHandle, buffers: IReadOnlyList_1[Memory_1[int]], fileOffset: int) -> int:...
1819
- @typing.overload
1820
- def __call__(self, handle: SafeFileHandle, buffer: Span_1[int], fileOffset: int) -> int:...
1821
-
1822
- # Skipped ReadAsync due to it being static, abstract and generic.
1823
-
1824
- ReadAsync : ReadAsync_MethodGroup
1825
- class ReadAsync_MethodGroup:
1826
- @typing.overload
1827
- def __call__(self, handle: SafeFileHandle, buffers: IReadOnlyList_1[Memory_1[int]], fileOffset: int, cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
1828
- @typing.overload
1829
- def __call__(self, handle: SafeFileHandle, buffer: Memory_1[int], fileOffset: int, cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
1830
-
1831
- # Skipped Write due to it being static, abstract and generic.
1832
-
1833
- Write : Write_MethodGroup
1834
- class Write_MethodGroup:
1835
- @typing.overload
1836
- def __call__(self, handle: SafeFileHandle, buffers: IReadOnlyList_1[ReadOnlyMemory_1[int]], fileOffset: int) -> None:...
1837
- @typing.overload
1838
- def __call__(self, handle: SafeFileHandle, buffer: ReadOnlySpan_1[int], fileOffset: int) -> None:...
1839
-
1840
- # Skipped WriteAsync due to it being static, abstract and generic.
1841
-
1842
- WriteAsync : WriteAsync_MethodGroup
1843
- class WriteAsync_MethodGroup:
1844
- @typing.overload
1845
- def __call__(self, handle: SafeFileHandle, buffers: IReadOnlyList_1[ReadOnlyMemory_1[int]], fileOffset: int, cancellationToken: CancellationToken = ...) -> ValueTask:...
1846
- @typing.overload
1847
- def __call__(self, handle: SafeFileHandle, buffer: ReadOnlyMemory_1[int], fileOffset: int, cancellationToken: CancellationToken = ...) -> ValueTask:...
1848
-
1849
-
1850
-
1851
- class SearchOption(typing.SupportsInt):
1852
- @typing.overload
1853
- def __init__(self, value : int) -> None: ...
1854
- @typing.overload
1855
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1856
- def __int__(self) -> int: ...
1857
-
1858
- # Values:
1859
- TopDirectoryOnly : SearchOption # 0
1860
- AllDirectories : SearchOption # 1
1861
-
1862
-
1863
- class SeekOrigin(typing.SupportsInt):
1864
- @typing.overload
1865
- def __init__(self, value : int) -> None: ...
1866
- @typing.overload
1867
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1868
- def __int__(self) -> int: ...
1869
-
1870
- # Values:
1871
- Begin : SeekOrigin # 0
1872
- Current : SeekOrigin # 1
1873
- End : SeekOrigin # 2
1874
-
1875
-
1876
- class Stream(MarshalByRefObject, IAsyncDisposable, IDisposable):
1877
- Null : Stream
1878
- @property
1879
- def CanRead(self) -> bool: ...
1880
- @property
1881
- def CanSeek(self) -> bool: ...
1882
- @property
1883
- def CanTimeout(self) -> bool: ...
1884
- @property
1885
- def CanWrite(self) -> bool: ...
1886
- @property
1887
- def Length(self) -> int: ...
1888
- @property
1889
- def Position(self) -> int: ...
1890
- @Position.setter
1891
- def Position(self, value: int) -> int: ...
1892
- @property
1893
- def ReadTimeout(self) -> int: ...
1894
- @ReadTimeout.setter
1895
- def ReadTimeout(self, value: int) -> int: ...
1896
- @property
1897
- def WriteTimeout(self) -> int: ...
1898
- @WriteTimeout.setter
1899
- def WriteTimeout(self, value: int) -> int: ...
1900
- def BeginRead(self, buffer: Array_1[int], offset: int, count: int, callback: AsyncCallback, state: typing.Any) -> IAsyncResult: ...
1901
- def BeginWrite(self, buffer: Array_1[int], offset: int, count: int, callback: AsyncCallback, state: typing.Any) -> IAsyncResult: ...
1902
- def Close(self) -> None: ...
1903
- def Dispose(self) -> None: ...
1904
- def DisposeAsync(self) -> ValueTask: ...
1905
- def EndRead(self, asyncResult: IAsyncResult) -> int: ...
1906
- def EndWrite(self, asyncResult: IAsyncResult) -> None: ...
1907
- @abc.abstractmethod
1908
- def Flush(self) -> None: ...
1909
- def ReadAtLeast(self, buffer: Span_1[int], minimumBytes: int, throwOnEndOfStream: bool = ...) -> int: ...
1910
- def ReadAtLeastAsync(self, buffer: Memory_1[int], minimumBytes: int, throwOnEndOfStream: bool = ..., cancellationToken: CancellationToken = ...) -> ValueTask_1[int]: ...
1911
- def ReadByte(self) -> int: ...
1912
- @abc.abstractmethod
1913
- def Seek(self, offset: int, origin: SeekOrigin) -> int: ...
1914
- @abc.abstractmethod
1915
- def SetLength(self, value: int) -> None: ...
1916
- @staticmethod
1917
- def Synchronized(stream: Stream) -> Stream: ...
1918
- def WriteByte(self, value: int) -> None: ...
1919
- # Skipped CopyTo due to it being static, abstract and generic.
1920
-
1921
- CopyTo : CopyTo_MethodGroup
1922
- class CopyTo_MethodGroup:
1923
- @typing.overload
1924
- def __call__(self, destination: Stream) -> None:...
1925
- @typing.overload
1926
- def __call__(self, destination: Stream, bufferSize: int) -> None:...
1927
-
1928
- # Skipped CopyToAsync due to it being static, abstract and generic.
1929
-
1930
- CopyToAsync : CopyToAsync_MethodGroup
1931
- class CopyToAsync_MethodGroup:
1932
- @typing.overload
1933
- def __call__(self, destination: Stream) -> Task:...
1934
- @typing.overload
1935
- def __call__(self, destination: Stream, bufferSize: int) -> Task:...
1936
- @typing.overload
1937
- def __call__(self, destination: Stream, cancellationToken: CancellationToken) -> Task:...
1938
- @typing.overload
1939
- def __call__(self, destination: Stream, bufferSize: int, cancellationToken: CancellationToken) -> Task:...
1940
-
1941
- # Skipped FlushAsync due to it being static, abstract and generic.
1942
-
1943
- FlushAsync : FlushAsync_MethodGroup
1944
- class FlushAsync_MethodGroup:
1945
- @typing.overload
1946
- def __call__(self) -> Task:...
1947
- @typing.overload
1948
- def __call__(self, cancellationToken: CancellationToken) -> Task:...
1949
-
1950
- # Skipped Read due to it being static, abstract and generic.
1951
-
1952
- Read : Read_MethodGroup
1953
- class Read_MethodGroup:
1954
- @typing.overload
1955
- def __call__(self, buffer: Span_1[int]) -> int:...
1956
- @typing.overload
1957
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> int:...
1958
-
1959
- # Skipped ReadAsync due to it being static, abstract and generic.
1960
-
1961
- ReadAsync : ReadAsync_MethodGroup
1962
- class ReadAsync_MethodGroup:
1963
- @typing.overload
1964
- def __call__(self, buffer: Memory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
1965
- @typing.overload
1966
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> Task_1[int]:...
1967
- @typing.overload
1968
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task_1[int]:...
1969
-
1970
- # Skipped ReadExactly due to it being static, abstract and generic.
1971
-
1972
- ReadExactly : ReadExactly_MethodGroup
1973
- class ReadExactly_MethodGroup:
1974
- @typing.overload
1975
- def __call__(self, buffer: Span_1[int]) -> None:...
1976
- @typing.overload
1977
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> None:...
1978
-
1979
- # Skipped ReadExactlyAsync due to it being static, abstract and generic.
1980
-
1981
- ReadExactlyAsync : ReadExactlyAsync_MethodGroup
1982
- class ReadExactlyAsync_MethodGroup:
1983
- @typing.overload
1984
- def __call__(self, buffer: Memory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask:...
1985
- @typing.overload
1986
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken = ...) -> ValueTask:...
1987
-
1988
- # Skipped Write due to it being static, abstract and generic.
1989
-
1990
- Write : Write_MethodGroup
1991
- class Write_MethodGroup:
1992
- @typing.overload
1993
- def __call__(self, buffer: ReadOnlySpan_1[int]) -> None:...
1994
- @typing.overload
1995
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> None:...
1996
-
1997
- # Skipped WriteAsync due to it being static, abstract and generic.
1998
-
1999
- WriteAsync : WriteAsync_MethodGroup
2000
- class WriteAsync_MethodGroup:
2001
- @typing.overload
2002
- def __call__(self, buffer: ReadOnlyMemory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask:...
2003
- @typing.overload
2004
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> Task:...
2005
- @typing.overload
2006
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task:...
2007
-
2008
-
2009
-
2010
- class StreamReader(TextReader):
2011
- @typing.overload
2012
- def __init__(self, path: str) -> None: ...
2013
- @typing.overload
2014
- def __init__(self, path: str, detectEncodingFromByteOrderMarks: bool) -> None: ...
2015
- @typing.overload
2016
- def __init__(self, path: str, encoding: Encoding) -> None: ...
2017
- @typing.overload
2018
- def __init__(self, path: str, encoding: Encoding, detectEncodingFromByteOrderMarks: bool) -> None: ...
2019
- @typing.overload
2020
- def __init__(self, path: str, encoding: Encoding, detectEncodingFromByteOrderMarks: bool, bufferSize: int) -> None: ...
2021
- @typing.overload
2022
- def __init__(self, path: str, encoding: Encoding, detectEncodingFromByteOrderMarks: bool, options: FileStreamOptions) -> None: ...
2023
- @typing.overload
2024
- def __init__(self, path: str, options: FileStreamOptions) -> None: ...
2025
- @typing.overload
2026
- def __init__(self, stream: Stream) -> None: ...
2027
- @typing.overload
2028
- def __init__(self, stream: Stream, detectEncodingFromByteOrderMarks: bool) -> None: ...
2029
- @typing.overload
2030
- def __init__(self, stream: Stream, encoding: Encoding) -> None: ...
2031
- @typing.overload
2032
- def __init__(self, stream: Stream, encoding: Encoding, detectEncodingFromByteOrderMarks: bool) -> None: ...
2033
- @typing.overload
2034
- def __init__(self, stream: Stream, encoding: Encoding, detectEncodingFromByteOrderMarks: bool, bufferSize: int) -> None: ...
2035
- @typing.overload
2036
- def __init__(self, stream: Stream, encoding: Encoding = ..., detectEncodingFromByteOrderMarks: bool = ..., bufferSize: int = ..., leaveOpen: bool = ...) -> None: ...
2037
- Null : StreamReader
2038
- @property
2039
- def BaseStream(self) -> Stream: ...
2040
- @property
2041
- def CurrentEncoding(self) -> Encoding: ...
2042
- @property
2043
- def EndOfStream(self) -> bool: ...
2044
- def Close(self) -> None: ...
2045
- def DiscardBufferedData(self) -> None: ...
2046
- def Peek(self) -> int: ...
2047
- def ReadLine(self) -> str: ...
2048
- def ReadToEnd(self) -> str: ...
2049
- # Skipped Read due to it being static, abstract and generic.
2050
-
2051
- Read : Read_MethodGroup
2052
- class Read_MethodGroup:
2053
- @typing.overload
2054
- def __call__(self) -> int:...
2055
- @typing.overload
2056
- def __call__(self, buffer: Span_1[str]) -> int:...
2057
- @typing.overload
2058
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> int:...
2059
-
2060
- # Skipped ReadAsync due to it being static, abstract and generic.
2061
-
2062
- ReadAsync : ReadAsync_MethodGroup
2063
- class ReadAsync_MethodGroup:
2064
- @typing.overload
2065
- def __call__(self, buffer: Memory_1[str], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
2066
- @typing.overload
2067
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task_1[int]:...
2068
-
2069
- # Skipped ReadBlock due to it being static, abstract and generic.
2070
-
2071
- ReadBlock : ReadBlock_MethodGroup
2072
- class ReadBlock_MethodGroup:
2073
- @typing.overload
2074
- def __call__(self, buffer: Span_1[str]) -> int:...
2075
- @typing.overload
2076
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> int:...
2077
-
2078
- # Skipped ReadBlockAsync due to it being static, abstract and generic.
2079
-
2080
- ReadBlockAsync : ReadBlockAsync_MethodGroup
2081
- class ReadBlockAsync_MethodGroup:
2082
- @typing.overload
2083
- def __call__(self, buffer: Memory_1[str], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
2084
- @typing.overload
2085
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task_1[int]:...
2086
-
2087
- # Skipped ReadLineAsync due to it being static, abstract and generic.
2088
-
2089
- ReadLineAsync : ReadLineAsync_MethodGroup
2090
- class ReadLineAsync_MethodGroup:
2091
- @typing.overload
2092
- def __call__(self) -> Task_1[str]:...
2093
- @typing.overload
2094
- def __call__(self, cancellationToken: CancellationToken) -> ValueTask_1[str]:...
2095
-
2096
- # Skipped ReadToEndAsync due to it being static, abstract and generic.
2097
-
2098
- ReadToEndAsync : ReadToEndAsync_MethodGroup
2099
- class ReadToEndAsync_MethodGroup:
2100
- @typing.overload
2101
- def __call__(self) -> Task_1[str]:...
2102
- @typing.overload
2103
- def __call__(self, cancellationToken: CancellationToken) -> Task_1[str]:...
2104
-
2105
-
2106
-
2107
- class StreamWriter(TextWriter):
2108
- @typing.overload
2109
- def __init__(self, path: str) -> None: ...
2110
- @typing.overload
2111
- def __init__(self, path: str, append: bool) -> None: ...
2112
- @typing.overload
2113
- def __init__(self, path: str, append: bool, encoding: Encoding) -> None: ...
2114
- @typing.overload
2115
- def __init__(self, path: str, append: bool, encoding: Encoding, bufferSize: int) -> None: ...
2116
- @typing.overload
2117
- def __init__(self, path: str, encoding: Encoding, options: FileStreamOptions) -> None: ...
2118
- @typing.overload
2119
- def __init__(self, path: str, options: FileStreamOptions) -> None: ...
2120
- @typing.overload
2121
- def __init__(self, stream: Stream) -> None: ...
2122
- @typing.overload
2123
- def __init__(self, stream: Stream, encoding: Encoding) -> None: ...
2124
- @typing.overload
2125
- def __init__(self, stream: Stream, encoding: Encoding, bufferSize: int) -> None: ...
2126
- @typing.overload
2127
- def __init__(self, stream: Stream, encoding: Encoding = ..., bufferSize: int = ..., leaveOpen: bool = ...) -> None: ...
2128
- Null : StreamWriter
2129
- @property
2130
- def AutoFlush(self) -> bool: ...
2131
- @AutoFlush.setter
2132
- def AutoFlush(self, value: bool) -> bool: ...
2133
- @property
2134
- def BaseStream(self) -> Stream: ...
2135
- @property
2136
- def Encoding(self) -> Encoding: ...
2137
- @property
2138
- def FormatProvider(self) -> IFormatProvider: ...
2139
- @property
2140
- def NewLine(self) -> str: ...
2141
- @NewLine.setter
2142
- def NewLine(self, value: str) -> str: ...
2143
- def Close(self) -> None: ...
2144
- def DisposeAsync(self) -> ValueTask: ...
2145
- def Flush(self) -> None: ...
2146
- # Skipped FlushAsync due to it being static, abstract and generic.
2147
-
2148
- FlushAsync : FlushAsync_MethodGroup
2149
- class FlushAsync_MethodGroup:
2150
- @typing.overload
2151
- def __call__(self) -> Task:...
2152
- @typing.overload
2153
- def __call__(self, cancellationToken: CancellationToken) -> Task:...
2154
-
2155
- # Skipped Write due to it being static, abstract and generic.
2156
-
2157
- Write : Write_MethodGroup
2158
- class Write_MethodGroup:
2159
- @typing.overload
2160
- def __call__(self, value: str) -> None:...
2161
- @typing.overload
2162
- def __call__(self, buffer: Array_1[str]) -> None:...
2163
- @typing.overload
2164
- def __call__(self, buffer: ReadOnlySpan_1[str]) -> None:...
2165
- # Method Write(value : String) was skipped since it collides with above method
2166
- @typing.overload
2167
- def __call__(self, format: str, arg: Array_1[typing.Any]) -> None:...
2168
- @typing.overload
2169
- def __call__(self, format: str, arg0: typing.Any) -> None:...
2170
- @typing.overload
2171
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> None:...
2172
- @typing.overload
2173
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any) -> None:...
2174
- @typing.overload
2175
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any) -> None:...
2176
-
2177
- # Skipped WriteAsync due to it being static, abstract and generic.
2178
-
2179
- WriteAsync : WriteAsync_MethodGroup
2180
- class WriteAsync_MethodGroup:
2181
- @typing.overload
2182
- def __call__(self, value: str) -> Task:...
2183
- # Method WriteAsync(value : String) was skipped since it collides with above method
2184
- @typing.overload
2185
- def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
2186
- @typing.overload
2187
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
2188
-
2189
- # Skipped WriteLine due to it being static, abstract and generic.
2190
-
2191
- WriteLine : WriteLine_MethodGroup
2192
- class WriteLine_MethodGroup:
2193
- @typing.overload
2194
- def __call__(self, buffer: ReadOnlySpan_1[str]) -> None:...
2195
- @typing.overload
2196
- def __call__(self, value: str) -> None:...
2197
- @typing.overload
2198
- def __call__(self, format: str, arg: Array_1[typing.Any]) -> None:...
2199
- @typing.overload
2200
- def __call__(self, format: str, arg0: typing.Any) -> None:...
2201
- @typing.overload
2202
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any) -> None:...
2203
- @typing.overload
2204
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any) -> None:...
2205
-
2206
- # Skipped WriteLineAsync due to it being static, abstract and generic.
2207
-
2208
- WriteLineAsync : WriteLineAsync_MethodGroup
2209
- class WriteLineAsync_MethodGroup:
2210
- @typing.overload
2211
- def __call__(self) -> Task:...
2212
- @typing.overload
2213
- def __call__(self, value: str) -> Task:...
2214
- # Method WriteLineAsync(value : String) was skipped since it collides with above method
2215
- @typing.overload
2216
- def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
2217
- @typing.overload
2218
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
2219
-
2220
-
2221
-
2222
- class StringReader(TextReader):
2223
- def __init__(self, s: str) -> None: ...
2224
- def Close(self) -> None: ...
2225
- def Peek(self) -> int: ...
2226
- def ReadBlock(self, buffer: Span_1[str]) -> int: ...
2227
- def ReadLine(self) -> str: ...
2228
- def ReadToEnd(self) -> str: ...
2229
- # Skipped Read due to it being static, abstract and generic.
2230
-
2231
- Read : Read_MethodGroup
2232
- class Read_MethodGroup:
2233
- @typing.overload
2234
- def __call__(self) -> int:...
2235
- @typing.overload
2236
- def __call__(self, buffer: Span_1[str]) -> int:...
2237
- @typing.overload
2238
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> int:...
2239
-
2240
- # Skipped ReadAsync due to it being static, abstract and generic.
2241
-
2242
- ReadAsync : ReadAsync_MethodGroup
2243
- class ReadAsync_MethodGroup:
2244
- @typing.overload
2245
- def __call__(self, buffer: Memory_1[str], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
2246
- @typing.overload
2247
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task_1[int]:...
2248
-
2249
- # Skipped ReadBlockAsync due to it being static, abstract and generic.
2250
-
2251
- ReadBlockAsync : ReadBlockAsync_MethodGroup
2252
- class ReadBlockAsync_MethodGroup:
2253
- @typing.overload
2254
- def __call__(self, buffer: Memory_1[str], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
2255
- @typing.overload
2256
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task_1[int]:...
2257
-
2258
- # Skipped ReadLineAsync due to it being static, abstract and generic.
2259
-
2260
- ReadLineAsync : ReadLineAsync_MethodGroup
2261
- class ReadLineAsync_MethodGroup:
2262
- @typing.overload
2263
- def __call__(self) -> Task_1[str]:...
2264
- @typing.overload
2265
- def __call__(self, cancellationToken: CancellationToken) -> ValueTask_1[str]:...
2266
-
2267
- # Skipped ReadToEndAsync due to it being static, abstract and generic.
2268
-
2269
- ReadToEndAsync : ReadToEndAsync_MethodGroup
2270
- class ReadToEndAsync_MethodGroup:
2271
- @typing.overload
2272
- def __call__(self) -> Task_1[str]:...
2273
- @typing.overload
2274
- def __call__(self, cancellationToken: CancellationToken) -> Task_1[str]:...
2275
-
2276
-
2277
-
2278
- class StringWriter(TextWriter):
2279
- @typing.overload
2280
- def __init__(self) -> None: ...
2281
- @typing.overload
2282
- def __init__(self, formatProvider: IFormatProvider) -> None: ...
2283
- @typing.overload
2284
- def __init__(self, sb: StringBuilder) -> None: ...
2285
- @typing.overload
2286
- def __init__(self, sb: StringBuilder, formatProvider: IFormatProvider) -> None: ...
2287
- @property
2288
- def Encoding(self) -> Encoding: ...
2289
- @property
2290
- def FormatProvider(self) -> IFormatProvider: ...
2291
- @property
2292
- def NewLine(self) -> str: ...
2293
- @NewLine.setter
2294
- def NewLine(self, value: str) -> str: ...
2295
- def Close(self) -> None: ...
2296
- def FlushAsync(self) -> Task: ...
2297
- def GetStringBuilder(self) -> StringBuilder: ...
2298
- def ToString(self) -> str: ...
2299
- # Skipped Write due to it being static, abstract and generic.
2300
-
2301
- Write : Write_MethodGroup
2302
- class Write_MethodGroup:
2303
- @typing.overload
2304
- def __call__(self, value: str) -> None:...
2305
- @typing.overload
2306
- def __call__(self, buffer: ReadOnlySpan_1[str]) -> None:...
2307
- # Method Write(value : String) was skipped since it collides with above method
2308
- @typing.overload
2309
- def __call__(self, value: StringBuilder) -> None:...
2310
- @typing.overload
2311
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> None:...
2312
-
2313
- # Skipped WriteAsync due to it being static, abstract and generic.
2314
-
2315
- WriteAsync : WriteAsync_MethodGroup
2316
- class WriteAsync_MethodGroup:
2317
- @typing.overload
2318
- def __call__(self, value: str) -> Task:...
2319
- # Method WriteAsync(value : String) was skipped since it collides with above method
2320
- @typing.overload
2321
- def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
2322
- @typing.overload
2323
- def __call__(self, value: StringBuilder, cancellationToken: CancellationToken = ...) -> Task:...
2324
- @typing.overload
2325
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
2326
-
2327
- # Skipped WriteLine due to it being static, abstract and generic.
2328
-
2329
- WriteLine : WriteLine_MethodGroup
2330
- class WriteLine_MethodGroup:
2331
- @typing.overload
2332
- def __call__(self, buffer: ReadOnlySpan_1[str]) -> None:...
2333
- @typing.overload
2334
- def __call__(self, value: StringBuilder) -> None:...
2335
-
2336
- # Skipped WriteLineAsync due to it being static, abstract and generic.
2337
-
2338
- WriteLineAsync : WriteLineAsync_MethodGroup
2339
- class WriteLineAsync_MethodGroup:
2340
- @typing.overload
2341
- def __call__(self, value: str) -> Task:...
2342
- # Method WriteLineAsync(value : String) was skipped since it collides with above method
2343
- @typing.overload
2344
- def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
2345
- @typing.overload
2346
- def __call__(self, value: StringBuilder, cancellationToken: CancellationToken = ...) -> Task:...
2347
- @typing.overload
2348
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
2349
-
2350
-
2351
-
2352
- class TextReader(MarshalByRefObject, IDisposable):
2353
- Null : TextReader
2354
- def Close(self) -> None: ...
2355
- def Dispose(self) -> None: ...
2356
- def Peek(self) -> int: ...
2357
- def ReadLine(self) -> str: ...
2358
- def ReadToEnd(self) -> str: ...
2359
- @staticmethod
2360
- def Synchronized(reader: TextReader) -> TextReader: ...
2361
- # Skipped Read due to it being static, abstract and generic.
2362
-
2363
- Read : Read_MethodGroup
2364
- class Read_MethodGroup:
2365
- @typing.overload
2366
- def __call__(self) -> int:...
2367
- @typing.overload
2368
- def __call__(self, buffer: Span_1[str]) -> int:...
2369
- @typing.overload
2370
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> int:...
2371
-
2372
- # Skipped ReadAsync due to it being static, abstract and generic.
2373
-
2374
- ReadAsync : ReadAsync_MethodGroup
2375
- class ReadAsync_MethodGroup:
2376
- @typing.overload
2377
- def __call__(self, buffer: Memory_1[str], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
2378
- @typing.overload
2379
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task_1[int]:...
2380
-
2381
- # Skipped ReadBlock due to it being static, abstract and generic.
2382
-
2383
- ReadBlock : ReadBlock_MethodGroup
2384
- class ReadBlock_MethodGroup:
2385
- @typing.overload
2386
- def __call__(self, buffer: Span_1[str]) -> int:...
2387
- @typing.overload
2388
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> int:...
2389
-
2390
- # Skipped ReadBlockAsync due to it being static, abstract and generic.
2391
-
2392
- ReadBlockAsync : ReadBlockAsync_MethodGroup
2393
- class ReadBlockAsync_MethodGroup:
2394
- @typing.overload
2395
- def __call__(self, buffer: Memory_1[str], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
2396
- @typing.overload
2397
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task_1[int]:...
2398
-
2399
- # Skipped ReadLineAsync due to it being static, abstract and generic.
2400
-
2401
- ReadLineAsync : ReadLineAsync_MethodGroup
2402
- class ReadLineAsync_MethodGroup:
2403
- @typing.overload
2404
- def __call__(self) -> Task_1[str]:...
2405
- @typing.overload
2406
- def __call__(self, cancellationToken: CancellationToken) -> ValueTask_1[str]:...
2407
-
2408
- # Skipped ReadToEndAsync due to it being static, abstract and generic.
2409
-
2410
- ReadToEndAsync : ReadToEndAsync_MethodGroup
2411
- class ReadToEndAsync_MethodGroup:
2412
- @typing.overload
2413
- def __call__(self) -> Task_1[str]:...
2414
- @typing.overload
2415
- def __call__(self, cancellationToken: CancellationToken) -> Task_1[str]:...
2416
-
2417
-
2418
-
2419
- class TextWriter(MarshalByRefObject, IAsyncDisposable, IDisposable):
2420
- Null : TextWriter
2421
- @property
2422
- def Encoding(self) -> Encoding: ...
2423
- @property
2424
- def FormatProvider(self) -> IFormatProvider: ...
2425
- @property
2426
- def NewLine(self) -> str: ...
2427
- @NewLine.setter
2428
- def NewLine(self, value: str) -> str: ...
2429
- def Close(self) -> None: ...
2430
- def Dispose(self) -> None: ...
2431
- def DisposeAsync(self) -> ValueTask: ...
2432
- def Flush(self) -> None: ...
2433
- @staticmethod
2434
- def Synchronized(writer: TextWriter) -> TextWriter: ...
2435
- # Skipped FlushAsync due to it being static, abstract and generic.
2436
-
2437
- FlushAsync : FlushAsync_MethodGroup
2438
- class FlushAsync_MethodGroup:
2439
- @typing.overload
2440
- def __call__(self) -> Task:...
2441
- @typing.overload
2442
- def __call__(self, cancellationToken: CancellationToken) -> Task:...
2443
-
2444
- # Skipped Write due to it being static, abstract and generic.
2445
-
2446
- Write : Write_MethodGroup
2447
- class Write_MethodGroup:
2448
- @typing.overload
2449
- def __call__(self, value: float) -> None:...
2450
- # Method Write(value : Double) was skipped since it collides with above method
2451
- @typing.overload
2452
- def __call__(self, value: str) -> None:...
2453
- # Method Write(value : Int32) was skipped since it collides with above method
2454
- # Method Write(value : UInt32) was skipped since it collides with above method
2455
- # Method Write(value : Int64) was skipped since it collides with above method
2456
- # Method Write(value : UInt64) was skipped since it collides with above method
2457
- @typing.overload
2458
- def __call__(self, value: Decimal) -> None:...
2459
- @typing.overload
2460
- def __call__(self, buffer: Array_1[str]) -> None:...
2461
- @typing.overload
2462
- def __call__(self, buffer: ReadOnlySpan_1[str]) -> None:...
2463
- # Method Write(value : Boolean) was skipped since it collides with above method
2464
- # Method Write(value : String) was skipped since it collides with above method
2465
- @typing.overload
2466
- def __call__(self, value: StringBuilder) -> None:...
2467
- @typing.overload
2468
- def __call__(self, value: typing.Any) -> None:...
2469
- @typing.overload
2470
- def __call__(self, format: str, arg: Array_1[typing.Any]) -> None:...
2471
- @typing.overload
2472
- def __call__(self, format: str, arg0: typing.Any) -> None:...
2473
- @typing.overload
2474
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> None:...
2475
- @typing.overload
2476
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any) -> None:...
2477
- @typing.overload
2478
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any) -> None:...
2479
-
2480
- # Skipped WriteAsync due to it being static, abstract and generic.
2481
-
2482
- WriteAsync : WriteAsync_MethodGroup
2483
- class WriteAsync_MethodGroup:
2484
- @typing.overload
2485
- def __call__(self, value: str) -> Task:...
2486
- @typing.overload
2487
- def __call__(self, buffer: Array_1[str]) -> Task:...
2488
- # Method WriteAsync(value : String) was skipped since it collides with above method
2489
- @typing.overload
2490
- def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
2491
- @typing.overload
2492
- def __call__(self, value: StringBuilder, cancellationToken: CancellationToken = ...) -> Task:...
2493
- @typing.overload
2494
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
2495
-
2496
- # Skipped WriteLine due to it being static, abstract and generic.
2497
-
2498
- WriteLine : WriteLine_MethodGroup
2499
- class WriteLine_MethodGroup:
2500
- @typing.overload
2501
- def __call__(self) -> None:...
2502
- @typing.overload
2503
- def __call__(self, value: float) -> None:...
2504
- # Method WriteLine(value : Double) was skipped since it collides with above method
2505
- @typing.overload
2506
- def __call__(self, value: str) -> None:...
2507
- # Method WriteLine(value : Int32) was skipped since it collides with above method
2508
- # Method WriteLine(value : UInt32) was skipped since it collides with above method
2509
- # Method WriteLine(value : Int64) was skipped since it collides with above method
2510
- # Method WriteLine(value : UInt64) was skipped since it collides with above method
2511
- @typing.overload
2512
- def __call__(self, value: Decimal) -> None:...
2513
- @typing.overload
2514
- def __call__(self, buffer: Array_1[str]) -> None:...
2515
- @typing.overload
2516
- def __call__(self, buffer: ReadOnlySpan_1[str]) -> None:...
2517
- # Method WriteLine(value : Boolean) was skipped since it collides with above method
2518
- # Method WriteLine(value : String) was skipped since it collides with above method
2519
- @typing.overload
2520
- def __call__(self, value: StringBuilder) -> None:...
2521
- @typing.overload
2522
- def __call__(self, value: typing.Any) -> None:...
2523
- @typing.overload
2524
- def __call__(self, format: str, arg: Array_1[typing.Any]) -> None:...
2525
- @typing.overload
2526
- def __call__(self, format: str, arg0: typing.Any) -> None:...
2527
- @typing.overload
2528
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> None:...
2529
- @typing.overload
2530
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any) -> None:...
2531
- @typing.overload
2532
- def __call__(self, format: str, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any) -> None:...
2533
-
2534
- # Skipped WriteLineAsync due to it being static, abstract and generic.
2535
-
2536
- WriteLineAsync : WriteLineAsync_MethodGroup
2537
- class WriteLineAsync_MethodGroup:
2538
- @typing.overload
2539
- def __call__(self) -> Task:...
2540
- @typing.overload
2541
- def __call__(self, value: str) -> Task:...
2542
- @typing.overload
2543
- def __call__(self, buffer: Array_1[str]) -> Task:...
2544
- # Method WriteLineAsync(value : String) was skipped since it collides with above method
2545
- @typing.overload
2546
- def __call__(self, buffer: ReadOnlyMemory_1[str], cancellationToken: CancellationToken = ...) -> Task:...
2547
- @typing.overload
2548
- def __call__(self, value: StringBuilder, cancellationToken: CancellationToken = ...) -> Task:...
2549
- @typing.overload
2550
- def __call__(self, buffer: Array_1[str], index: int, count: int) -> Task:...
2551
-
2552
-
2553
-
2554
- class UnixFileMode(typing.SupportsInt):
2555
- @typing.overload
2556
- def __init__(self, value : int) -> None: ...
2557
- @typing.overload
2558
- def __init__(self, value : int, force_if_true: bool) -> None: ...
2559
- def __int__(self) -> int: ...
2560
-
2561
- # Values:
2562
- None_ : UnixFileMode # 0
2563
- OtherExecute : UnixFileMode # 1
2564
- OtherWrite : UnixFileMode # 2
2565
- OtherRead : UnixFileMode # 4
2566
- GroupExecute : UnixFileMode # 8
2567
- GroupWrite : UnixFileMode # 16
2568
- GroupRead : UnixFileMode # 32
2569
- UserExecute : UnixFileMode # 64
2570
- UserWrite : UnixFileMode # 128
2571
- UserRead : UnixFileMode # 256
2572
- StickyBit : UnixFileMode # 512
2573
- SetGroup : UnixFileMode # 1024
2574
- SetUser : UnixFileMode # 2048
2575
-
2576
-
2577
- class UnmanagedMemoryAccessor(IDisposable):
2578
- @typing.overload
2579
- def __init__(self, buffer: SafeBuffer, offset: int, capacity: int) -> None: ...
2580
- @typing.overload
2581
- def __init__(self, buffer: SafeBuffer, offset: int, capacity: int, access: FileAccess) -> None: ...
2582
- @property
2583
- def CanRead(self) -> bool: ...
2584
- @property
2585
- def CanWrite(self) -> bool: ...
2586
- @property
2587
- def Capacity(self) -> int: ...
2588
- def Dispose(self) -> None: ...
2589
- def ReadBoolean(self, position: int) -> bool: ...
2590
- def ReadByte(self, position: int) -> int: ...
2591
- def ReadChar(self, position: int) -> str: ...
2592
- def ReadDecimal(self, position: int) -> Decimal: ...
2593
- def ReadDouble(self, position: int) -> float: ...
2594
- def ReadInt16(self, position: int) -> int: ...
2595
- def ReadInt32(self, position: int) -> int: ...
2596
- def ReadInt64(self, position: int) -> int: ...
2597
- def ReadSByte(self, position: int) -> int: ...
2598
- def ReadSingle(self, position: int) -> float: ...
2599
- def ReadUInt16(self, position: int) -> int: ...
2600
- def ReadUInt32(self, position: int) -> int: ...
2601
- def ReadUInt64(self, position: int) -> int: ...
2602
- # Skipped Read due to it being static, abstract and generic.
2603
-
2604
- Read : Read_MethodGroup
2605
- class Read_MethodGroup:
2606
- def __getitem__(self, t:typing.Type[Read_1_T1]) -> Read_1[Read_1_T1]: ...
2607
-
2608
- Read_1_T1 = typing.TypeVar('Read_1_T1')
2609
- class Read_1(typing.Generic[Read_1_T1]):
2610
- Read_1_T = UnmanagedMemoryAccessor.Read_MethodGroup.Read_1_T1
2611
- def __call__(self, position: int, structure: clr.Reference[Read_1_T]) -> None:...
2612
-
2613
-
2614
- # Skipped ReadArray due to it being static, abstract and generic.
2615
-
2616
- ReadArray : ReadArray_MethodGroup
2617
- class ReadArray_MethodGroup:
2618
- def __getitem__(self, t:typing.Type[ReadArray_1_T1]) -> ReadArray_1[ReadArray_1_T1]: ...
2619
-
2620
- ReadArray_1_T1 = typing.TypeVar('ReadArray_1_T1')
2621
- class ReadArray_1(typing.Generic[ReadArray_1_T1]):
2622
- ReadArray_1_T = UnmanagedMemoryAccessor.ReadArray_MethodGroup.ReadArray_1_T1
2623
- def __call__(self, position: int, array: Array_1[ReadArray_1_T], offset: int, count: int) -> int:...
2624
-
2625
-
2626
- # Skipped Write due to it being static, abstract and generic.
2627
-
2628
- Write : Write_MethodGroup
2629
- class Write_MethodGroup:
2630
- def __getitem__(self, t:typing.Type[Write_1_T1]) -> Write_1[Write_1_T1]: ...
2631
-
2632
- Write_1_T1 = typing.TypeVar('Write_1_T1')
2633
- class Write_1(typing.Generic[Write_1_T1]):
2634
- Write_1_T = UnmanagedMemoryAccessor.Write_MethodGroup.Write_1_T1
2635
- def __call__(self, position: int, structure: clr.Reference[Write_1_T]) -> None:...
2636
-
2637
- @typing.overload
2638
- def __call__(self, position: int, value: float) -> None:...
2639
- # Method Write(position : Int64, value : Double) was skipped since it collides with above method
2640
- # Method Write(position : Int64, value : Byte) was skipped since it collides with above method
2641
- @typing.overload
2642
- def __call__(self, position: int, value: str) -> None:...
2643
- # Method Write(position : Int64, value : Int16) was skipped since it collides with above method
2644
- # Method Write(position : Int64, value : Int32) was skipped since it collides with above method
2645
- # Method Write(position : Int64, value : Int64) was skipped since it collides with above method
2646
- # Method Write(position : Int64, value : SByte) was skipped since it collides with above method
2647
- # Method Write(position : Int64, value : UInt16) was skipped since it collides with above method
2648
- # Method Write(position : Int64, value : UInt32) was skipped since it collides with above method
2649
- # Method Write(position : Int64, value : UInt64) was skipped since it collides with above method
2650
- @typing.overload
2651
- def __call__(self, position: int, value: Decimal) -> None:...
2652
- # Method Write(position : Int64, value : Boolean) was skipped since it collides with above method
2653
-
2654
- # Skipped WriteArray due to it being static, abstract and generic.
2655
-
2656
- WriteArray : WriteArray_MethodGroup
2657
- class WriteArray_MethodGroup:
2658
- def __getitem__(self, t:typing.Type[WriteArray_1_T1]) -> WriteArray_1[WriteArray_1_T1]: ...
2659
-
2660
- WriteArray_1_T1 = typing.TypeVar('WriteArray_1_T1')
2661
- class WriteArray_1(typing.Generic[WriteArray_1_T1]):
2662
- WriteArray_1_T = UnmanagedMemoryAccessor.WriteArray_MethodGroup.WriteArray_1_T1
2663
- def __call__(self, position: int, array: Array_1[WriteArray_1_T], offset: int, count: int) -> None:...
2664
-
2665
-
2666
-
2667
-
2668
- class UnmanagedMemoryStream(Stream):
2669
- @typing.overload
2670
- def __init__(self, buffer: SafeBuffer, offset: int, length: int) -> None: ...
2671
- @typing.overload
2672
- def __init__(self, buffer: SafeBuffer, offset: int, length: int, access: FileAccess) -> None: ...
2673
- @typing.overload
2674
- def __init__(self, pointer: clr.Reference[int], length: int) -> None: ...
2675
- @typing.overload
2676
- def __init__(self, pointer: clr.Reference[int], length: int, capacity: int, access: FileAccess) -> None: ...
2677
- @property
2678
- def CanRead(self) -> bool: ...
2679
- @property
2680
- def CanSeek(self) -> bool: ...
2681
- @property
2682
- def CanTimeout(self) -> bool: ...
2683
- @property
2684
- def CanWrite(self) -> bool: ...
2685
- @property
2686
- def Capacity(self) -> int: ...
2687
- @property
2688
- def Length(self) -> int: ...
2689
- @property
2690
- def Position(self) -> int: ...
2691
- @Position.setter
2692
- def Position(self, value: int) -> int: ...
2693
- @property
2694
- def PositionPointer(self) -> clr.Reference[int]: ...
2695
- @PositionPointer.setter
2696
- def PositionPointer(self, value: clr.Reference[int]) -> clr.Reference[int]: ...
2697
- @property
2698
- def ReadTimeout(self) -> int: ...
2699
- @ReadTimeout.setter
2700
- def ReadTimeout(self, value: int) -> int: ...
2701
- @property
2702
- def WriteTimeout(self) -> int: ...
2703
- @WriteTimeout.setter
2704
- def WriteTimeout(self, value: int) -> int: ...
2705
- def Flush(self) -> None: ...
2706
- def FlushAsync(self, cancellationToken: CancellationToken) -> Task: ...
2707
- def ReadByte(self) -> int: ...
2708
- def Seek(self, offset: int, loc: SeekOrigin) -> int: ...
2709
- def SetLength(self, value: int) -> None: ...
2710
- def WriteByte(self, value: int) -> None: ...
2711
- # Skipped Read due to it being static, abstract and generic.
2712
-
2713
- Read : Read_MethodGroup
2714
- class Read_MethodGroup:
2715
- @typing.overload
2716
- def __call__(self, buffer: Span_1[int]) -> int:...
2717
- @typing.overload
2718
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> int:...
2719
-
2720
- # Skipped ReadAsync due to it being static, abstract and generic.
2721
-
2722
- ReadAsync : ReadAsync_MethodGroup
2723
- class ReadAsync_MethodGroup:
2724
- @typing.overload
2725
- def __call__(self, buffer: Memory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask_1[int]:...
2726
- @typing.overload
2727
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task_1[int]:...
2728
-
2729
- # Skipped Write due to it being static, abstract and generic.
2730
-
2731
- Write : Write_MethodGroup
2732
- class Write_MethodGroup:
2733
- @typing.overload
2734
- def __call__(self, buffer: ReadOnlySpan_1[int]) -> None:...
2735
- @typing.overload
2736
- def __call__(self, buffer: Array_1[int], offset: int, count: int) -> None:...
2737
-
2738
- # Skipped WriteAsync due to it being static, abstract and generic.
2739
-
2740
- WriteAsync : WriteAsync_MethodGroup
2741
- class WriteAsync_MethodGroup:
2742
- @typing.overload
2743
- def __call__(self, buffer: ReadOnlyMemory_1[int], cancellationToken: CancellationToken = ...) -> ValueTask:...
2744
- @typing.overload
2745
- def __call__(self, buffer: Array_1[int], offset: int, count: int, cancellationToken: CancellationToken) -> Task:...
2746
-
2747
-