@tsonic/dotnet 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -79,61 +79,61 @@ export enum UIOption {
|
|
|
79
79
|
|
|
80
80
|
export class FileSystem$instance {
|
|
81
81
|
constructor();
|
|
82
|
-
static readonly
|
|
83
|
-
static
|
|
84
|
-
static
|
|
85
|
-
static
|
|
86
|
-
static
|
|
87
|
-
static
|
|
88
|
-
static
|
|
89
|
-
static
|
|
90
|
-
static
|
|
91
|
-
static
|
|
92
|
-
static
|
|
93
|
-
static
|
|
94
|
-
static
|
|
95
|
-
static
|
|
96
|
-
static
|
|
97
|
-
static
|
|
98
|
-
static
|
|
99
|
-
static
|
|
100
|
-
static
|
|
101
|
-
static
|
|
102
|
-
static
|
|
103
|
-
static
|
|
104
|
-
static
|
|
105
|
-
static
|
|
106
|
-
static
|
|
107
|
-
static
|
|
108
|
-
static
|
|
109
|
-
static
|
|
110
|
-
static
|
|
111
|
-
static
|
|
112
|
-
static
|
|
113
|
-
static
|
|
114
|
-
static
|
|
115
|
-
static
|
|
116
|
-
static
|
|
117
|
-
static
|
|
118
|
-
static
|
|
119
|
-
static
|
|
120
|
-
static
|
|
121
|
-
static
|
|
122
|
-
static
|
|
123
|
-
static
|
|
124
|
-
static
|
|
125
|
-
static
|
|
126
|
-
static
|
|
127
|
-
static
|
|
128
|
-
static
|
|
129
|
-
static
|
|
130
|
-
static
|
|
131
|
-
static
|
|
132
|
-
static
|
|
133
|
-
static
|
|
134
|
-
static
|
|
135
|
-
static
|
|
136
|
-
static
|
|
82
|
+
static readonly drives: ReadOnlyCollection_1<DriveInfo>;
|
|
83
|
+
static currentDirectory: string;
|
|
84
|
+
static combinePath(baseDirectory: string, relativePath: string): string;
|
|
85
|
+
static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
|
|
86
|
+
static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption): void;
|
|
87
|
+
static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, overwrite: boolean): void;
|
|
88
|
+
static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string): void;
|
|
89
|
+
static copyFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
|
|
90
|
+
static copyFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption): void;
|
|
91
|
+
static copyFile4(sourceFileName: string, destinationFileName: string, overwrite: boolean): void;
|
|
92
|
+
static copyFile4(sourceFileName: string, destinationFileName: string): void;
|
|
93
|
+
static createDirectory(directory: string): void;
|
|
94
|
+
static deleteDirectory(directory: string, onDirectoryNotEmpty: DeleteDirectoryOption): void;
|
|
95
|
+
static deleteDirectory(directory: string, showUI: UIOption, recycle: RecycleOption, onUserCancel: UICancelOption): void;
|
|
96
|
+
static deleteDirectory(directory: string, showUI: UIOption, recycle: RecycleOption): void;
|
|
97
|
+
static deleteFile3(file: string, showUI: UIOption, recycle: RecycleOption, onUserCancel: UICancelOption): void;
|
|
98
|
+
static deleteFile3(file: string, showUI: UIOption, recycle: RecycleOption): void;
|
|
99
|
+
static deleteFile3(file: string): void;
|
|
100
|
+
static directoryExists(directory: string): boolean;
|
|
101
|
+
static fileExists(file: string): boolean;
|
|
102
|
+
static findInFiles2(directory: string, containsText: string, ignoreCase: boolean, searchType: SearchOption, fileWildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
|
|
103
|
+
static findInFiles2(directory: string, containsText: string, ignoreCase: boolean, searchType: SearchOption): ReadOnlyCollection_1<CLROf<string>>;
|
|
104
|
+
static getDirectories2(directory: string, searchType: SearchOption, wildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
|
|
105
|
+
static getDirectories2(directory: string): ReadOnlyCollection_1<CLROf<string>>;
|
|
106
|
+
static getDirectoryInfo(directory: string): DirectoryInfo;
|
|
107
|
+
static getDriveInfo(drive: string): DriveInfo;
|
|
108
|
+
static getFileInfo(file: string): FileInfo;
|
|
109
|
+
static getFiles2(directory: string, searchType: SearchOption, wildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
|
|
110
|
+
static getFiles2(directory: string): ReadOnlyCollection_1<CLROf<string>>;
|
|
111
|
+
static getName(path: string): string;
|
|
112
|
+
static getParentPath(path: string): string;
|
|
113
|
+
static getTempFileName(): string;
|
|
114
|
+
static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
|
|
115
|
+
static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption): void;
|
|
116
|
+
static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, overwrite: boolean): void;
|
|
117
|
+
static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string): void;
|
|
118
|
+
static moveFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
|
|
119
|
+
static moveFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption): void;
|
|
120
|
+
static moveFile4(sourceFileName: string, destinationFileName: string, overwrite: boolean): void;
|
|
121
|
+
static moveFile4(sourceFileName: string, destinationFileName: string): void;
|
|
122
|
+
static openTextFieldParser3(file: string, fieldWidths: int[]): TextFieldParser;
|
|
123
|
+
static openTextFieldParser3(file: string, delimiters: string[]): TextFieldParser;
|
|
124
|
+
static openTextFieldParser3(file: string): TextFieldParser;
|
|
125
|
+
static openTextFileReader2(file: string, encoding: Encoding): StreamReader;
|
|
126
|
+
static openTextFileReader2(file: string): StreamReader;
|
|
127
|
+
static openTextFileWriter2(file: string, append: boolean, encoding: Encoding): StreamWriter;
|
|
128
|
+
static openTextFileWriter2(file: string, append: boolean): StreamWriter;
|
|
129
|
+
static readAllBytes(file: string): byte[];
|
|
130
|
+
static readAllText2(file: string, encoding: Encoding): string;
|
|
131
|
+
static readAllText2(file: string): string;
|
|
132
|
+
static renameDirectory(directory: string, newName: string): void;
|
|
133
|
+
static renameFile(file: string, newName: string): void;
|
|
134
|
+
static writeAllBytes(file: string, data: byte[], append: boolean): void;
|
|
135
|
+
static writeAllText2(file: string, text: string, append: boolean, encoding: Encoding): void;
|
|
136
|
+
static writeAllText2(file: string, text: string, append: boolean): void;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
|
|
@@ -152,7 +152,7 @@ export class MalformedLineException$instance extends System_Internal.Exception$i
|
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
export interface __MalformedLineException$views {
|
|
155
|
-
|
|
155
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
export type MalformedLineException = MalformedLineException$instance & __MalformedLineException$views;
|
|
@@ -160,15 +160,15 @@ export type MalformedLineException = MalformedLineException$instance & __Malform
|
|
|
160
160
|
|
|
161
161
|
export class SpecialDirectories$instance {
|
|
162
162
|
constructor();
|
|
163
|
-
static readonly
|
|
164
|
-
static readonly
|
|
165
|
-
static readonly
|
|
166
|
-
static readonly
|
|
167
|
-
static readonly
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
163
|
+
static readonly myDocuments: string;
|
|
164
|
+
static readonly myMusic: string;
|
|
165
|
+
static readonly myPictures: string;
|
|
166
|
+
static readonly desktop: string;
|
|
167
|
+
static readonly programs: string;
|
|
168
|
+
static readonly programFiles: string;
|
|
169
|
+
static readonly temp: string;
|
|
170
|
+
static readonly currentUserApplicationData: string;
|
|
171
|
+
static readonly allUsersApplicationData: string;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
|
|
@@ -205,9 +205,11 @@ export class TextFieldParser$instance {
|
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
export interface __TextFieldParser$views {
|
|
208
|
-
|
|
208
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
+
export interface TextFieldParser$instance extends System_Internal.IDisposable$instance {}
|
|
212
|
+
|
|
211
213
|
export type TextFieldParser = TextFieldParser$instance & __TextFieldParser$views;
|
|
212
214
|
|
|
213
215
|
|
|
@@ -109,9 +109,9 @@ export class RegistryKey$instance extends System_Internal.MarshalByRefObject$ins
|
|
|
109
109
|
getAccessControl(): RegistrySecurity;
|
|
110
110
|
getAccessControl(includeSections: AccessControlSections): RegistrySecurity;
|
|
111
111
|
getSubKeyNames(): string[];
|
|
112
|
-
getValue(name: string):
|
|
113
|
-
getValue(name: string, defaultValue:
|
|
114
|
-
getValue(name: string, defaultValue:
|
|
112
|
+
getValue(name: string): unknown;
|
|
113
|
+
getValue(name: string, defaultValue: unknown): unknown;
|
|
114
|
+
getValue(name: string, defaultValue: unknown, options: RegistryValueOptions): unknown;
|
|
115
115
|
getValueKind(name: string): RegistryValueKind;
|
|
116
116
|
getValueNames(): string[];
|
|
117
117
|
openSubKey(name: string): RegistryKey;
|
|
@@ -120,21 +120,23 @@ export class RegistryKey$instance extends System_Internal.MarshalByRefObject$ins
|
|
|
120
120
|
openSubKey(name: string, writable: boolean): RegistryKey;
|
|
121
121
|
openSubKey(name: string, rights: RegistryRights): RegistryKey;
|
|
122
122
|
setAccessControl(registrySecurity: RegistrySecurity): void;
|
|
123
|
-
setValue(name: string, value:
|
|
124
|
-
setValue(name: string, value:
|
|
123
|
+
setValue(name: string, value: unknown): void;
|
|
124
|
+
setValue(name: string, value: unknown, valueKind: RegistryValueKind): void;
|
|
125
125
|
toString(): string;
|
|
126
|
-
static
|
|
127
|
-
static
|
|
128
|
-
static
|
|
129
|
-
static
|
|
130
|
-
static
|
|
126
|
+
static fromHandle2(handle: SafeRegistryHandle, view: RegistryView): RegistryKey;
|
|
127
|
+
static fromHandle2(handle: SafeRegistryHandle): RegistryKey;
|
|
128
|
+
static openBaseKey(hKey: RegistryHive, view: RegistryView): RegistryKey;
|
|
129
|
+
static openRemoteBaseKey2(hKey: RegistryHive, machineName: string, view: RegistryView): RegistryKey;
|
|
130
|
+
static openRemoteBaseKey2(hKey: RegistryHive, machineName: string): RegistryKey;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
export interface __RegistryKey$views {
|
|
135
|
-
|
|
135
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
export interface RegistryKey$instance extends System_Internal.IDisposable$instance {}
|
|
139
|
+
|
|
138
140
|
export type RegistryKey = RegistryKey$instance & __RegistryKey$views;
|
|
139
141
|
|
|
140
142
|
|
|
@@ -145,9 +147,9 @@ export abstract class Registry$instance {
|
|
|
145
147
|
static readonly localMachine: RegistryKey;
|
|
146
148
|
static readonly performanceData: RegistryKey;
|
|
147
149
|
static readonly users: RegistryKey;
|
|
148
|
-
static
|
|
149
|
-
static
|
|
150
|
-
static
|
|
150
|
+
static getValue(keyName: string, valueName: string, defaultValue: unknown): unknown;
|
|
151
|
+
static setValue2(keyName: string, valueName: string, value: unknown, valueKind: RegistryValueKind): void;
|
|
152
|
+
static setValue2(keyName: string, valueName: string, value: unknown): void;
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
|
|
@@ -43,7 +43,7 @@ export abstract class CriticalHandleMinusOneIsInvalid$instance extends System_Ru
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
export interface __CriticalHandleMinusOneIsInvalid$views {
|
|
46
|
-
|
|
46
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export type CriticalHandleMinusOneIsInvalid = CriticalHandleMinusOneIsInvalid$instance & __CriticalHandleMinusOneIsInvalid$views;
|
|
@@ -56,7 +56,7 @@ export abstract class CriticalHandleZeroOrMinusOneIsInvalid$instance extends Sys
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
export interface __CriticalHandleZeroOrMinusOneIsInvalid$views {
|
|
59
|
-
|
|
59
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
export type CriticalHandleZeroOrMinusOneIsInvalid = CriticalHandleZeroOrMinusOneIsInvalid$instance & __CriticalHandleZeroOrMinusOneIsInvalid$views;
|
|
@@ -67,12 +67,12 @@ export class SafeAccessTokenHandle$instance extends System_Runtime_InteropServic
|
|
|
67
67
|
constructor(handle: nint);
|
|
68
68
|
readonly isInvalid: boolean;
|
|
69
69
|
dispose(): void;
|
|
70
|
-
static readonly
|
|
70
|
+
static readonly invalidHandle: SafeAccessTokenHandle;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
export interface __SafeAccessTokenHandle$views {
|
|
75
|
-
|
|
75
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export type SafeAccessTokenHandle = SafeAccessTokenHandle$instance & __SafeAccessTokenHandle$views;
|
|
@@ -88,7 +88,7 @@ export class SafeFileHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$i
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
export interface __SafeFileHandle$views {
|
|
91
|
-
|
|
91
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export type SafeFileHandle = SafeFileHandle$instance & __SafeFileHandle$views;
|
|
@@ -101,7 +101,7 @@ export abstract class SafeHandleMinusOneIsInvalid$instance extends System_Runtim
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
export interface __SafeHandleMinusOneIsInvalid$views {
|
|
104
|
-
|
|
104
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
export type SafeHandleMinusOneIsInvalid = SafeHandleMinusOneIsInvalid$instance & __SafeHandleMinusOneIsInvalid$views;
|
|
@@ -114,7 +114,7 @@ export abstract class SafeHandleZeroOrMinusOneIsInvalid$instance extends System_
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
export interface __SafeHandleZeroOrMinusOneIsInvalid$views {
|
|
117
|
-
|
|
117
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
export type SafeHandleZeroOrMinusOneIsInvalid = SafeHandleZeroOrMinusOneIsInvalid$instance & __SafeHandleZeroOrMinusOneIsInvalid$views;
|
|
@@ -128,7 +128,7 @@ export class SafeMemoryMappedFileHandle$instance extends SafeHandleZeroOrMinusOn
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
export interface __SafeMemoryMappedFileHandle$views {
|
|
131
|
-
|
|
131
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
export type SafeMemoryMappedFileHandle = SafeMemoryMappedFileHandle$instance & __SafeMemoryMappedFileHandle$views;
|
|
@@ -141,7 +141,7 @@ export class SafeMemoryMappedViewHandle$instance extends System_Runtime_InteropS
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
export interface __SafeMemoryMappedViewHandle$views {
|
|
144
|
-
|
|
144
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
export type SafeMemoryMappedViewHandle = SafeMemoryMappedViewHandle$instance & __SafeMemoryMappedViewHandle$views;
|
|
@@ -153,7 +153,7 @@ export abstract class SafeNCryptHandle$instance extends SafeHandleZeroOrMinusOne
|
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
export interface __SafeNCryptHandle$views {
|
|
156
|
-
|
|
156
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
export type SafeNCryptHandle = SafeNCryptHandle$instance & __SafeNCryptHandle$views;
|
|
@@ -167,7 +167,7 @@ export class SafeNCryptKeyHandle$instance extends SafeNCryptHandle$instance {
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
export interface __SafeNCryptKeyHandle$views {
|
|
170
|
-
|
|
170
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
export type SafeNCryptKeyHandle = SafeNCryptKeyHandle$instance & __SafeNCryptKeyHandle$views;
|
|
@@ -180,7 +180,7 @@ export class SafeNCryptProviderHandle$instance extends SafeNCryptHandle$instance
|
|
|
180
180
|
|
|
181
181
|
|
|
182
182
|
export interface __SafeNCryptProviderHandle$views {
|
|
183
|
-
|
|
183
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
export type SafeNCryptProviderHandle = SafeNCryptProviderHandle$instance & __SafeNCryptProviderHandle$views;
|
|
@@ -193,7 +193,7 @@ export class SafeNCryptSecretHandle$instance extends SafeNCryptHandle$instance {
|
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
export interface __SafeNCryptSecretHandle$views {
|
|
196
|
-
|
|
196
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
export type SafeNCryptSecretHandle = SafeNCryptSecretHandle$instance & __SafeNCryptSecretHandle$views;
|
|
@@ -208,7 +208,7 @@ export class SafePipeHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$i
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
export interface __SafePipeHandle$views {
|
|
211
|
-
|
|
211
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
export type SafePipeHandle = SafePipeHandle$instance & __SafePipeHandle$views;
|
|
@@ -222,7 +222,7 @@ export class SafeProcessHandle$instance extends SafeHandleZeroOrMinusOneIsInvali
|
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
export interface __SafeProcessHandle$views {
|
|
225
|
-
|
|
225
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
export type SafeProcessHandle = SafeProcessHandle$instance & __SafeProcessHandle$views;
|
|
@@ -236,7 +236,7 @@ export class SafeRegistryHandle$instance extends SafeHandleZeroOrMinusOneIsInval
|
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
export interface __SafeRegistryHandle$views {
|
|
239
|
-
|
|
239
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
export type SafeRegistryHandle = SafeRegistryHandle$instance & __SafeRegistryHandle$views;
|
|
@@ -250,7 +250,7 @@ export class SafeWaitHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$i
|
|
|
250
250
|
|
|
251
251
|
|
|
252
252
|
export interface __SafeWaitHandle$views {
|
|
253
|
-
|
|
253
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
export type SafeWaitHandle = SafeWaitHandle$instance & __SafeWaitHandle$views;
|
|
@@ -263,7 +263,7 @@ export class SafeX509ChainHandle$instance extends SafeHandleZeroOrMinusOneIsInva
|
|
|
263
263
|
|
|
264
264
|
|
|
265
265
|
export interface __SafeX509ChainHandle$views {
|
|
266
|
-
|
|
266
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
export type SafeX509ChainHandle = SafeX509ChainHandle$instance & __SafeX509ChainHandle$views;
|
package/README.md
CHANGED
|
@@ -92,6 +92,45 @@ import type { IPAddress, Socket } from "@tsonic/dotnet/System.Net";
|
|
|
92
92
|
import type { JsonSerializer } from "@tsonic/dotnet/System.Text.Json";
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
## Development
|
|
96
|
+
|
|
97
|
+
### Regenerating Types
|
|
98
|
+
|
|
99
|
+
To regenerate TypeScript declarations from .NET assemblies:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
./__build/scripts/generate.sh
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Prerequisites:**
|
|
106
|
+
- .NET 10 SDK installed
|
|
107
|
+
- `tsbindgen` repository cloned at `../tsbindgen` (sibling directory)
|
|
108
|
+
|
|
109
|
+
The script will:
|
|
110
|
+
1. Clean existing namespace directories
|
|
111
|
+
2. Build tsbindgen
|
|
112
|
+
3. Generate fresh TypeScript declarations
|
|
113
|
+
|
|
114
|
+
**Environment variables:**
|
|
115
|
+
- `DOTNET_VERSION` - .NET runtime version (default: `10.0.0-rc.1.25451.107`)
|
|
116
|
+
- `DOTNET_HOME` - .NET installation directory (default: `$HOME/dotnet`)
|
|
117
|
+
|
|
118
|
+
### Package Structure
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
@tsonic/dotnet/
|
|
122
|
+
├── [Namespace]/ # .NET namespace directories (System, Microsoft, etc.)
|
|
123
|
+
│ ├── index.d.ts # Public type declarations
|
|
124
|
+
│ ├── index.js # ESM module stub
|
|
125
|
+
│ ├── bindings.json # CLR↔TS name mappings
|
|
126
|
+
│ └── internal/ # Internal implementation types
|
|
127
|
+
├── __internal/ # Extension method buckets
|
|
128
|
+
│ └── extensions/
|
|
129
|
+
└── __build/ # Build tooling
|
|
130
|
+
└── scripts/
|
|
131
|
+
└── generate.sh # Type regeneration script
|
|
132
|
+
```
|
|
133
|
+
|
|
95
134
|
## License
|
|
96
135
|
|
|
97
136
|
MIT
|