@tsonic/dotnet 10.0.40 → 10.0.41
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 +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Xml
|
|
3
3
|
// Assembly: System.Data.Common, System.Private.DataContractSerialization, System.Private.Xml
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { IDictionary_2 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -198,7 +196,7 @@ export enum XmlTokenizedType {
|
|
|
198
196
|
export type OnXmlDictionaryReaderClose = (reader: XmlDictionaryReader) => void;
|
|
199
197
|
|
|
200
198
|
|
|
201
|
-
export type XmlNodeChangedEventHandler = (sender:
|
|
199
|
+
export type XmlNodeChangedEventHandler = (sender: JsValue, e: XmlNodeChangedEventArgs) => void;
|
|
202
200
|
|
|
203
201
|
|
|
204
202
|
export interface IApplicationResourceStreamResolver$instance {
|
|
@@ -244,8 +242,8 @@ export type IStreamProvider = IStreamProvider$instance;
|
|
|
244
242
|
export interface IXmlBinaryReaderInitializer$instance {
|
|
245
243
|
readonly __tsonic_iface_System_Xml_IXmlBinaryReaderInitializer: never;
|
|
246
244
|
|
|
247
|
-
SetInput(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession, onClose: OnXmlDictionaryReaderClose): void;
|
|
248
|
-
SetInput(stream: Stream, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession, onClose: OnXmlDictionaryReaderClose): void;
|
|
245
|
+
SetInput(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession | null, onClose: OnXmlDictionaryReaderClose | null): void;
|
|
246
|
+
SetInput(stream: Stream, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession | null, onClose: OnXmlDictionaryReaderClose | null): void;
|
|
249
247
|
}
|
|
250
248
|
|
|
251
249
|
|
|
@@ -254,7 +252,7 @@ export type IXmlBinaryReaderInitializer = IXmlBinaryReaderInitializer$instance;
|
|
|
254
252
|
export interface IXmlBinaryWriterInitializer$instance {
|
|
255
253
|
readonly __tsonic_iface_System_Xml_IXmlBinaryWriterInitializer: never;
|
|
256
254
|
|
|
257
|
-
SetOutput(stream: Stream, dictionary: IXmlDictionary, session: XmlBinaryWriterSession, ownsStream: boolean): void;
|
|
255
|
+
SetOutput(stream: Stream, dictionary: IXmlDictionary | null, session: XmlBinaryWriterSession | null, ownsStream: boolean): void;
|
|
258
256
|
}
|
|
259
257
|
|
|
260
258
|
|
|
@@ -263,9 +261,9 @@ export type IXmlBinaryWriterInitializer = IXmlBinaryWriterInitializer$instance;
|
|
|
263
261
|
export interface IXmlDictionary$instance {
|
|
264
262
|
readonly __tsonic_iface_System_Xml_IXmlDictionary: never;
|
|
265
263
|
|
|
266
|
-
TryLookup(key: int, result: XmlDictionaryString): boolean;
|
|
267
|
-
TryLookup(value: string, result: XmlDictionaryString): boolean;
|
|
268
|
-
TryLookup(value: XmlDictionaryString, result: XmlDictionaryString): boolean;
|
|
264
|
+
TryLookup(key: int, result: XmlDictionaryString | null): boolean;
|
|
265
|
+
TryLookup(value: string, result: XmlDictionaryString | null): boolean;
|
|
266
|
+
TryLookup(value: XmlDictionaryString, result: XmlDictionaryString | null): boolean;
|
|
269
267
|
}
|
|
270
268
|
|
|
271
269
|
|
|
@@ -286,7 +284,7 @@ export interface IXmlNamespaceResolver$instance {
|
|
|
286
284
|
readonly __tsonic_iface_System_Xml_IXmlNamespaceResolver: never;
|
|
287
285
|
|
|
288
286
|
GetNamespacesInScope(scope: XmlNamespaceScope): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
289
|
-
LookupNamespace(prefix: string): string |
|
|
287
|
+
LookupNamespace(prefix: string): string | null;
|
|
290
288
|
}
|
|
291
289
|
|
|
292
290
|
|
|
@@ -295,8 +293,8 @@ export type IXmlNamespaceResolver = IXmlNamespaceResolver$instance;
|
|
|
295
293
|
export interface IXmlTextReaderInitializer$instance {
|
|
296
294
|
readonly __tsonic_iface_System_Xml_IXmlTextReaderInitializer: never;
|
|
297
295
|
|
|
298
|
-
SetInput(buffer: byte[], offset: int, count: int, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): void;
|
|
299
|
-
SetInput(stream: Stream, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): void;
|
|
296
|
+
SetInput(buffer: byte[], offset: int, count: int, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): void;
|
|
297
|
+
SetInput(stream: Stream, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): void;
|
|
300
298
|
}
|
|
301
299
|
|
|
302
300
|
|
|
@@ -316,8 +314,8 @@ export interface NameTable$instance extends XmlNameTable {
|
|
|
316
314
|
|
|
317
315
|
Add(key: string): string;
|
|
318
316
|
Add(key: char[], start: int, len: int): string;
|
|
319
|
-
Get(value: string): string |
|
|
320
|
-
Get(key: char[], start: int, len: int): string |
|
|
317
|
+
Get(value: string): string | null;
|
|
318
|
+
Get(key: char[], start: int, len: int): string | null;
|
|
321
319
|
}
|
|
322
320
|
|
|
323
321
|
|
|
@@ -333,7 +331,7 @@ export interface UniqueId$instance {
|
|
|
333
331
|
|
|
334
332
|
readonly CharArrayLength: int;
|
|
335
333
|
readonly IsGuid: boolean;
|
|
336
|
-
Equals(obj:
|
|
334
|
+
Equals(obj: JsValue | null): boolean;
|
|
337
335
|
GetHashCode(): int;
|
|
338
336
|
ToCharArray(chars: char[], offset: int): int;
|
|
339
337
|
ToString(): string;
|
|
@@ -368,18 +366,18 @@ export interface XmlAttribute$instance extends XmlNode$instance, System_Xml_XPat
|
|
|
368
366
|
readonly Name: string;
|
|
369
367
|
readonly NamespaceURI: string;
|
|
370
368
|
readonly NodeType: XmlNodeType;
|
|
371
|
-
readonly OwnerDocument: XmlDocument | XmlDocument |
|
|
372
|
-
readonly OwnerElement: XmlElement |
|
|
373
|
-
readonly ParentNode: XmlNode |
|
|
369
|
+
readonly OwnerDocument: XmlDocument | XmlDocument | null;
|
|
370
|
+
readonly OwnerElement: XmlElement | null;
|
|
371
|
+
readonly ParentNode: XmlNode | null;
|
|
374
372
|
Prefix: string;
|
|
375
373
|
readonly SchemaInfo: IXmlSchemaInfo;
|
|
376
374
|
readonly Specified: boolean;
|
|
377
|
-
Value: string | string |
|
|
378
|
-
AppendChild(newChild: XmlNode): XmlNode |
|
|
375
|
+
Value: string | string | null;
|
|
376
|
+
AppendChild(newChild: XmlNode): XmlNode | null;
|
|
379
377
|
CloneNode(deep: boolean): XmlNode;
|
|
380
|
-
InsertAfter(newChild: XmlNode, refChild: XmlNode): XmlNode |
|
|
381
|
-
InsertBefore(newChild: XmlNode, refChild: XmlNode): XmlNode |
|
|
382
|
-
PrependChild(newChild: XmlNode): XmlNode |
|
|
378
|
+
InsertAfter(newChild: XmlNode, refChild: XmlNode | null): XmlNode | null;
|
|
379
|
+
InsertBefore(newChild: XmlNode, refChild: XmlNode | null): XmlNode | null;
|
|
380
|
+
PrependChild(newChild: XmlNode): XmlNode | null;
|
|
383
381
|
RemoveChild(oldChild: XmlNode): XmlNode;
|
|
384
382
|
ReplaceChild(newChild: XmlNode, oldChild: XmlNode): XmlNode;
|
|
385
383
|
WriteContentTo(w: XmlWriter): void;
|
|
@@ -387,7 +385,7 @@ export interface XmlAttribute$instance extends XmlNode$instance, System_Xml_XPat
|
|
|
387
385
|
}
|
|
388
386
|
|
|
389
387
|
|
|
390
|
-
export const XmlAttribute: (abstract new(prefix: string, localName: string, namespaceURI: string, doc: XmlDocument) => XmlAttribute) & {
|
|
388
|
+
export const XmlAttribute: (abstract new(prefix: string | null, localName: string, namespaceURI: string | null, doc: XmlDocument) => XmlAttribute) & {
|
|
391
389
|
};
|
|
392
390
|
|
|
393
391
|
|
|
@@ -409,15 +407,15 @@ export interface XmlAttributeCollection$instance extends XmlNamedNodeMap$instanc
|
|
|
409
407
|
Append(node: XmlAttribute): XmlAttribute;
|
|
410
408
|
CopyTo(array: XmlAttribute[], index: int): void;
|
|
411
409
|
get_Item(i: int): XmlAttribute;
|
|
412
|
-
get_Item(name: string): XmlAttribute |
|
|
413
|
-
get_Item(localName: string, namespaceURI: string): XmlAttribute |
|
|
414
|
-
InsertAfter(newNode: XmlAttribute, refNode: XmlAttribute): XmlAttribute;
|
|
415
|
-
InsertBefore(newNode: XmlAttribute, refNode: XmlAttribute): XmlAttribute;
|
|
410
|
+
get_Item(name: string): XmlAttribute | null;
|
|
411
|
+
get_Item(localName: string, namespaceURI: string): XmlAttribute | null;
|
|
412
|
+
InsertAfter(newNode: XmlAttribute, refNode: XmlAttribute | null): XmlAttribute;
|
|
413
|
+
InsertBefore(newNode: XmlAttribute, refNode: XmlAttribute | null): XmlAttribute;
|
|
416
414
|
Prepend(node: XmlAttribute): XmlAttribute;
|
|
417
|
-
Remove(node: XmlAttribute): XmlAttribute |
|
|
415
|
+
Remove(node: XmlAttribute | null): XmlAttribute | null;
|
|
418
416
|
RemoveAll(): void;
|
|
419
|
-
RemoveAt(i: int): XmlAttribute |
|
|
420
|
-
SetNamedItem(node: XmlNode): XmlNode |
|
|
417
|
+
RemoveAt(i: int): XmlAttribute | null;
|
|
418
|
+
SetNamedItem(node: XmlNode | null): XmlNode | null;
|
|
421
419
|
}
|
|
422
420
|
|
|
423
421
|
|
|
@@ -440,9 +438,9 @@ export interface XmlBinaryReaderSession$instance {
|
|
|
440
438
|
|
|
441
439
|
Add(id: int, value: string): XmlDictionaryString;
|
|
442
440
|
Clear(): void;
|
|
443
|
-
TryLookup(key: int, result: XmlDictionaryString): boolean;
|
|
444
|
-
TryLookup(value: string, result: XmlDictionaryString): boolean;
|
|
445
|
-
TryLookup(value: XmlDictionaryString, result: XmlDictionaryString): boolean;
|
|
441
|
+
TryLookup(key: int, result: XmlDictionaryString | null): boolean;
|
|
442
|
+
TryLookup(value: string, result: XmlDictionaryString | null): boolean;
|
|
443
|
+
TryLookup(value: XmlDictionaryString, result: XmlDictionaryString | null): boolean;
|
|
446
444
|
}
|
|
447
445
|
|
|
448
446
|
|
|
@@ -483,15 +481,15 @@ export interface XmlCDataSection$instance extends XmlCharacterData$instance, Sys
|
|
|
483
481
|
readonly LocalName: string;
|
|
484
482
|
readonly Name: string;
|
|
485
483
|
readonly NodeType: XmlNodeType;
|
|
486
|
-
readonly ParentNode: XmlNode |
|
|
487
|
-
readonly PreviousText: XmlNode |
|
|
484
|
+
readonly ParentNode: XmlNode | null;
|
|
485
|
+
readonly PreviousText: XmlNode | null;
|
|
488
486
|
CloneNode(deep: boolean): XmlNode;
|
|
489
487
|
WriteContentTo(w: XmlWriter): void;
|
|
490
488
|
WriteTo(w: XmlWriter): void;
|
|
491
489
|
}
|
|
492
490
|
|
|
493
491
|
|
|
494
|
-
export const XmlCDataSection: (abstract new(data: string, doc: XmlDocument) => XmlCDataSection) & {
|
|
492
|
+
export const XmlCDataSection: (abstract new(data: string | null, doc: XmlDocument) => XmlCDataSection) & {
|
|
495
493
|
};
|
|
496
494
|
|
|
497
495
|
|
|
@@ -514,17 +512,17 @@ export interface XmlCharacterData$instance extends XmlLinkedNode$instance, Syste
|
|
|
514
512
|
Data: string;
|
|
515
513
|
InnerText: string;
|
|
516
514
|
readonly Length: int;
|
|
517
|
-
get Value(): string |
|
|
518
|
-
set Value(value: string |
|
|
519
|
-
AppendData(strData: string): void;
|
|
515
|
+
get Value(): string | null;
|
|
516
|
+
set Value(value: string | null);
|
|
517
|
+
AppendData(strData: string | null): void;
|
|
520
518
|
DeleteData(offset: int, count: int): void;
|
|
521
|
-
InsertData(offset: int, strData: string): void;
|
|
522
|
-
ReplaceData(offset: int, count: int, strData: string): void;
|
|
519
|
+
InsertData(offset: int, strData: string | null): void;
|
|
520
|
+
ReplaceData(offset: int, count: int, strData: string | null): void;
|
|
523
521
|
Substring(offset: int, count: int): string;
|
|
524
522
|
}
|
|
525
523
|
|
|
526
524
|
|
|
527
|
-
export const XmlCharacterData: (abstract new(data: string, doc: XmlDocument) => XmlCharacterData) & {
|
|
525
|
+
export const XmlCharacterData: (abstract new(data: string | null, doc: XmlDocument) => XmlCharacterData) & {
|
|
528
526
|
};
|
|
529
527
|
|
|
530
528
|
|
|
@@ -553,7 +551,7 @@ export interface XmlComment$instance extends XmlCharacterData$instance, System_X
|
|
|
553
551
|
}
|
|
554
552
|
|
|
555
553
|
|
|
556
|
-
export const XmlComment: (abstract new(comment: string, doc: XmlDocument) => XmlComment) & {
|
|
554
|
+
export const XmlComment: (abstract new(comment: string | null, doc: XmlDocument) => XmlComment) & {
|
|
557
555
|
};
|
|
558
556
|
|
|
559
557
|
|
|
@@ -574,10 +572,10 @@ export interface XmlConvert$instance {
|
|
|
574
572
|
|
|
575
573
|
export const XmlConvert: {
|
|
576
574
|
new(): XmlConvert;
|
|
577
|
-
DecodeName(name: string): string |
|
|
578
|
-
EncodeLocalName(name: string): string |
|
|
579
|
-
EncodeName(name: string): string |
|
|
580
|
-
EncodeNmToken(name: string): string |
|
|
575
|
+
DecodeName(name: string | null): string | null;
|
|
576
|
+
EncodeLocalName(name: string | null): string | null;
|
|
577
|
+
EncodeName(name: string | null): string | null;
|
|
578
|
+
EncodeNmToken(name: string | null): string | null;
|
|
581
579
|
IsNCNameChar(ch: char): boolean;
|
|
582
580
|
IsPublicIdChar(ch: char): boolean;
|
|
583
581
|
IsStartNCNameChar(ch: char): boolean;
|
|
@@ -630,7 +628,7 @@ export const XmlConvert: {
|
|
|
630
628
|
VerifyNCName(name: string): string;
|
|
631
629
|
VerifyNMTOKEN(name: string): string;
|
|
632
630
|
VerifyPublicId(publicId: string): string;
|
|
633
|
-
VerifyTOKEN(token: string): string |
|
|
631
|
+
VerifyTOKEN(token: string | null): string | null;
|
|
634
632
|
VerifyWhitespace(content: string): string;
|
|
635
633
|
VerifyXmlChars(content: string): string;
|
|
636
634
|
};
|
|
@@ -647,17 +645,17 @@ export interface XmlDataDocument$instance extends XmlDocument$instance {
|
|
|
647
645
|
|
|
648
646
|
readonly DataSet: DataSet;
|
|
649
647
|
CloneNode(deep: boolean): XmlNode;
|
|
650
|
-
CreateElement(prefix: string, localName: string, namespaceURI: string): XmlElement;
|
|
648
|
+
CreateElement(prefix: string | null, localName: string, namespaceURI: string | null): XmlElement;
|
|
651
649
|
CreateElement(name: string): XmlElement;
|
|
652
|
-
CreateElement(qualifiedName: string, namespaceURI: string): XmlElement;
|
|
650
|
+
CreateElement(qualifiedName: string, namespaceURI: string | null): XmlElement;
|
|
653
651
|
CreateEntityReference(name: string): XmlEntityReference;
|
|
654
|
-
CreateNavigator(node: XmlNode): XPathNavigator |
|
|
652
|
+
CreateNavigator(node: XmlNode): XPathNavigator | null;
|
|
655
653
|
CreateNavigator(): XPathNavigator;
|
|
656
|
-
GetElementById(elemId: string): XmlElement |
|
|
654
|
+
GetElementById(elemId: string): XmlElement | null;
|
|
657
655
|
GetElementFromRow(r: DataRow): XmlElement;
|
|
658
656
|
GetElementsByTagName(name: string): XmlNodeList;
|
|
659
657
|
GetElementsByTagName(localName: string, namespaceURI: string): XmlNodeList;
|
|
660
|
-
GetRowFromElement(e: XmlElement): DataRow |
|
|
658
|
+
GetRowFromElement(e: XmlElement | null): DataRow | null;
|
|
661
659
|
Load(filename: string): void;
|
|
662
660
|
Load(inStream: Stream): void;
|
|
663
661
|
Load(txtReader: TextReader): void;
|
|
@@ -693,8 +691,8 @@ export interface XmlDeclaration$instance extends XmlLinkedNode$instance, System_
|
|
|
693
691
|
readonly Name: string;
|
|
694
692
|
readonly NodeType: XmlNodeType;
|
|
695
693
|
Standalone: string;
|
|
696
|
-
get Value(): string |
|
|
697
|
-
set Value(value: string |
|
|
694
|
+
get Value(): string | null;
|
|
695
|
+
set Value(value: string | null);
|
|
698
696
|
Version: string;
|
|
699
697
|
CloneNode(deep: boolean): XmlNode;
|
|
700
698
|
WriteContentTo(w: XmlWriter): void;
|
|
@@ -702,7 +700,7 @@ export interface XmlDeclaration$instance extends XmlLinkedNode$instance, System_
|
|
|
702
700
|
}
|
|
703
701
|
|
|
704
702
|
|
|
705
|
-
export const XmlDeclaration: (abstract new(version: string, encoding: string, standalone: string, doc: XmlDocument) => XmlDeclaration) & {
|
|
703
|
+
export const XmlDeclaration: (abstract new(version: string, encoding: string | null, standalone: string | null, doc: XmlDocument) => XmlDeclaration) & {
|
|
706
704
|
};
|
|
707
705
|
|
|
708
706
|
|
|
@@ -721,9 +719,9 @@ export interface XmlDictionary$instance {
|
|
|
721
719
|
readonly __tsonic_iface_System_Xml_IXmlDictionary: never;
|
|
722
720
|
|
|
723
721
|
Add(value: string): XmlDictionaryString;
|
|
724
|
-
TryLookup(value: string, result: XmlDictionaryString): boolean;
|
|
725
|
-
TryLookup(key: int, result: XmlDictionaryString): boolean;
|
|
726
|
-
TryLookup(value: XmlDictionaryString, result: XmlDictionaryString): boolean;
|
|
722
|
+
TryLookup(value: string, result: XmlDictionaryString | null): boolean;
|
|
723
|
+
TryLookup(key: int, result: XmlDictionaryString | null): boolean;
|
|
724
|
+
TryLookup(value: XmlDictionaryString, result: XmlDictionaryString | null): boolean;
|
|
727
725
|
}
|
|
728
726
|
|
|
729
727
|
|
|
@@ -749,9 +747,9 @@ export interface XmlDictionaryReader$instance extends XmlReader$instance {
|
|
|
749
747
|
readonly CanCanonicalize: boolean;
|
|
750
748
|
readonly Quotas: XmlDictionaryReaderQuotas;
|
|
751
749
|
EndCanonicalization(): void;
|
|
752
|
-
GetAttribute(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): string |
|
|
753
|
-
GetAttribute(name: string): string |
|
|
754
|
-
GetAttribute(name: string, namespaceURI: string): string |
|
|
750
|
+
GetAttribute(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): string | null;
|
|
751
|
+
GetAttribute(name: string): string | null;
|
|
752
|
+
GetAttribute(name: string, namespaceURI: string | null): string | null;
|
|
755
753
|
GetAttribute(i: int): string;
|
|
756
754
|
GetNonAtomizedNames(localName: string, namespaceUri: string): void;
|
|
757
755
|
IndexOfLocalName(localNames: string[], namespaceUri: string): int;
|
|
@@ -760,7 +758,7 @@ export interface XmlDictionaryReader$instance extends XmlReader$instance {
|
|
|
760
758
|
IsLocalName(localName: XmlDictionaryString): boolean;
|
|
761
759
|
IsNamespaceUri(namespaceUri: string): boolean;
|
|
762
760
|
IsNamespaceUri(namespaceUri: XmlDictionaryString): boolean;
|
|
763
|
-
IsStartArray(type: Type): boolean;
|
|
761
|
+
IsStartArray(type: Type | null): boolean;
|
|
764
762
|
IsStartElement(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): boolean;
|
|
765
763
|
IsStartElement(): boolean;
|
|
766
764
|
IsStartElement(name: string): boolean;
|
|
@@ -791,7 +789,7 @@ export interface XmlDictionaryReader$instance extends XmlReader$instance {
|
|
|
791
789
|
ReadArray(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: TimeSpan[], offset: int, count: int): int;
|
|
792
790
|
ReadBooleanArray(localName: string, namespaceUri: string): boolean[];
|
|
793
791
|
ReadBooleanArray(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): boolean[];
|
|
794
|
-
ReadContentAs(type: Type, namespaceResolver: IXmlNamespaceResolver):
|
|
792
|
+
ReadContentAs(type: Type, namespaceResolver: IXmlNamespaceResolver | null): JsValue;
|
|
795
793
|
ReadContentAsBase642(): byte[];
|
|
796
794
|
ReadContentAsBase642(buffer: byte[], index: int, count: int): int;
|
|
797
795
|
ReadContentAsBinHex(): byte[];
|
|
@@ -857,38 +855,38 @@ export interface XmlDictionaryReader$instance extends XmlReader$instance {
|
|
|
857
855
|
ReadTimeSpanArray(localName: string, namespaceUri: string): TimeSpan[];
|
|
858
856
|
ReadTimeSpanArray(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): TimeSpan[];
|
|
859
857
|
ReadValueAsBase64(buffer: byte[], offset: int, count: int): int;
|
|
860
|
-
StartCanonicalization(stream: Stream, includeComments: boolean, inclusivePrefixes: string[]): void;
|
|
858
|
+
StartCanonicalization(stream: Stream, includeComments: boolean, inclusivePrefixes: string[] | null): void;
|
|
861
859
|
TryGetArrayLength(count: int): boolean;
|
|
862
860
|
TryGetBase64ContentLength(length: int): boolean;
|
|
863
|
-
TryGetLocalNameAsDictionaryString(localName: XmlDictionaryString): boolean;
|
|
864
|
-
TryGetNamespaceUriAsDictionaryString(namespaceUri: XmlDictionaryString): boolean;
|
|
865
|
-
TryGetValueAsDictionaryString(value: XmlDictionaryString): boolean;
|
|
861
|
+
TryGetLocalNameAsDictionaryString(localName: XmlDictionaryString | null): boolean;
|
|
862
|
+
TryGetNamespaceUriAsDictionaryString(namespaceUri: XmlDictionaryString | null): boolean;
|
|
863
|
+
TryGetValueAsDictionaryString(value: XmlDictionaryString | null): boolean;
|
|
866
864
|
}
|
|
867
865
|
|
|
868
866
|
|
|
869
867
|
export const XmlDictionaryReader: (abstract new() => XmlDictionaryReader) & {
|
|
870
|
-
CreateBinaryReader(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
871
|
-
CreateBinaryReader(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession): XmlDictionaryReader;
|
|
872
|
-
CreateBinaryReader(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
868
|
+
CreateBinaryReader(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession | null, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
|
|
869
|
+
CreateBinaryReader(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession | null): XmlDictionaryReader;
|
|
870
|
+
CreateBinaryReader(buffer: byte[], offset: int, count: int, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
873
871
|
CreateBinaryReader(buffer: byte[], offset: int, count: int, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
874
872
|
CreateBinaryReader(buffer: byte[], quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
875
|
-
CreateBinaryReader(stream: Stream, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
876
|
-
CreateBinaryReader(stream: Stream, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession): XmlDictionaryReader;
|
|
877
|
-
CreateBinaryReader(stream: Stream, dictionary: IXmlDictionary, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
873
|
+
CreateBinaryReader(stream: Stream, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession | null, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
|
|
874
|
+
CreateBinaryReader(stream: Stream, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas, session: XmlBinaryReaderSession | null): XmlDictionaryReader;
|
|
875
|
+
CreateBinaryReader(stream: Stream, dictionary: IXmlDictionary | null, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
878
876
|
CreateBinaryReader(stream: Stream, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
879
877
|
CreateDictionaryReader(reader: XmlReader): XmlDictionaryReader;
|
|
880
878
|
CreateMtomReader(buffer: byte[], offset: int, count: int, encoding: Encoding, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
881
|
-
CreateMtomReader(buffer: byte[], offset: int, count: int, encodings: Encoding[], contentType: string, quotas: XmlDictionaryReaderQuotas, maxBufferSize: int, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
882
|
-
CreateMtomReader(buffer: byte[], offset: int, count: int, encodings: Encoding[], contentType: string, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
879
|
+
CreateMtomReader(buffer: byte[], offset: int, count: int, encodings: Encoding[], contentType: string | null, quotas: XmlDictionaryReaderQuotas, maxBufferSize: int, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
|
|
880
|
+
CreateMtomReader(buffer: byte[], offset: int, count: int, encodings: Encoding[], contentType: string | null, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
883
881
|
CreateMtomReader(buffer: byte[], offset: int, count: int, encodings: Encoding[], quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
884
882
|
CreateMtomReader(stream: Stream, encoding: Encoding, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
885
|
-
CreateMtomReader(stream: Stream, encodings: Encoding[], contentType: string, quotas: XmlDictionaryReaderQuotas, maxBufferSize: int, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
886
|
-
CreateMtomReader(stream: Stream, encodings: Encoding[], contentType: string, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
883
|
+
CreateMtomReader(stream: Stream, encodings: Encoding[], contentType: string | null, quotas: XmlDictionaryReaderQuotas, maxBufferSize: int, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
|
|
884
|
+
CreateMtomReader(stream: Stream, encodings: Encoding[], contentType: string | null, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
887
885
|
CreateMtomReader(stream: Stream, encodings: Encoding[], quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
888
|
-
CreateTextReader(buffer: byte[], offset: int, count: int, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
886
|
+
CreateTextReader(buffer: byte[], offset: int, count: int, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
|
|
889
887
|
CreateTextReader(buffer: byte[], offset: int, count: int, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
890
888
|
CreateTextReader(buffer: byte[], quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
891
|
-
CreateTextReader(stream: Stream, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
889
|
+
CreateTextReader(stream: Stream, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
|
|
892
890
|
CreateTextReader(stream: Stream, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
893
891
|
};
|
|
894
892
|
|
|
@@ -950,63 +948,63 @@ export interface XmlDictionaryWriter$instance extends XmlWriter$instance, System
|
|
|
950
948
|
Dispose(disposing: boolean): void;
|
|
951
949
|
Dispose(): void;
|
|
952
950
|
EndCanonicalization(): void;
|
|
953
|
-
StartCanonicalization(stream: Stream, includeComments: boolean, inclusivePrefixes: string[]): void;
|
|
954
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: boolean[], offset: int, count: int): void;
|
|
955
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: boolean[], offset: int, count: int): void;
|
|
956
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: short[], offset: int, count: int): void;
|
|
957
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: short[], offset: int, count: int): void;
|
|
958
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: int[], offset: int, count: int): void;
|
|
959
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: int[], offset: int, count: int): void;
|
|
960
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: long[], offset: int, count: int): void;
|
|
961
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: long[], offset: int, count: int): void;
|
|
962
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: float[], offset: int, count: int): void;
|
|
963
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: float[], offset: int, count: int): void;
|
|
964
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: double[], offset: int, count: int): void;
|
|
965
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: double[], offset: int, count: int): void;
|
|
966
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: decimal[], offset: int, count: int): void;
|
|
967
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: decimal[], offset: int, count: int): void;
|
|
968
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: DateTime[], offset: int, count: int): void;
|
|
969
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: DateTime[], offset: int, count: int): void;
|
|
970
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: Guid[], offset: int, count: int): void;
|
|
971
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: Guid[], offset: int, count: int): void;
|
|
972
|
-
WriteArray(prefix: string, localName: string, namespaceUri: string, array: TimeSpan[], offset: int, count: int): void;
|
|
973
|
-
WriteArray(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: TimeSpan[], offset: int, count: int): void;
|
|
974
|
-
WriteAttributeString(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, value: string): void;
|
|
975
|
-
WriteAttributeString(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, value: string): void;
|
|
976
|
-
WriteAttributeString(localName: string, ns: string, value: string): void;
|
|
977
|
-
WriteAttributeString(localName: string, value: string): void;
|
|
978
|
-
WriteAttributeString(prefix: string, localName: string, ns: string, value: string): void;
|
|
951
|
+
StartCanonicalization(stream: Stream, includeComments: boolean, inclusivePrefixes: string[] | null): void;
|
|
952
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: boolean[], offset: int, count: int): void;
|
|
953
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: boolean[], offset: int, count: int): void;
|
|
954
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: short[], offset: int, count: int): void;
|
|
955
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: short[], offset: int, count: int): void;
|
|
956
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: int[], offset: int, count: int): void;
|
|
957
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: int[], offset: int, count: int): void;
|
|
958
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: long[], offset: int, count: int): void;
|
|
959
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: long[], offset: int, count: int): void;
|
|
960
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: float[], offset: int, count: int): void;
|
|
961
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: float[], offset: int, count: int): void;
|
|
962
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: double[], offset: int, count: int): void;
|
|
963
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: double[], offset: int, count: int): void;
|
|
964
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: decimal[], offset: int, count: int): void;
|
|
965
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: decimal[], offset: int, count: int): void;
|
|
966
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: DateTime[], offset: int, count: int): void;
|
|
967
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: DateTime[], offset: int, count: int): void;
|
|
968
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: Guid[], offset: int, count: int): void;
|
|
969
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: Guid[], offset: int, count: int): void;
|
|
970
|
+
WriteArray(prefix: string | null, localName: string, namespaceUri: string | null, array: TimeSpan[], offset: int, count: int): void;
|
|
971
|
+
WriteArray(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, array: TimeSpan[], offset: int, count: int): void;
|
|
972
|
+
WriteAttributeString(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, value: string | null): void;
|
|
973
|
+
WriteAttributeString(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, value: string | null): void;
|
|
974
|
+
WriteAttributeString(localName: string, ns: string | null, value: string | null): void;
|
|
975
|
+
WriteAttributeString(localName: string, value: string | null): void;
|
|
976
|
+
WriteAttributeString(prefix: string | null, localName: string, ns: string | null, value: string | null): void;
|
|
979
977
|
WriteBase64Async(buffer: byte[], index: int, count: int): Task;
|
|
980
|
-
WriteElementString(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, value: string): void;
|
|
981
|
-
WriteElementString(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, value: string): void;
|
|
982
|
-
WriteElementString(localName: string, value: string): void;
|
|
983
|
-
WriteElementString(localName: string, ns: string, value: string): void;
|
|
984
|
-
WriteElementString(prefix: string, localName: string, ns: string, value: string): void;
|
|
978
|
+
WriteElementString(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, value: string | null): void;
|
|
979
|
+
WriteElementString(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null, value: string | null): void;
|
|
980
|
+
WriteElementString(localName: string, value: string | null): void;
|
|
981
|
+
WriteElementString(localName: string, ns: string | null, value: string | null): void;
|
|
982
|
+
WriteElementString(prefix: string | null, localName: string, ns: string | null, value: string | null): void;
|
|
985
983
|
WriteNode(reader: XmlReader, defattr: boolean): void;
|
|
986
984
|
WriteNode(reader: XmlDictionaryReader, defattr: boolean): void;
|
|
987
985
|
WriteNode(navigator: XPathNavigator, defattr: boolean): void;
|
|
988
|
-
WriteQualifiedName(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): void;
|
|
989
|
-
WriteQualifiedName(localName: string, ns: string): void;
|
|
990
|
-
WriteStartAttribute(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): void;
|
|
991
|
-
WriteStartAttribute(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): void;
|
|
992
|
-
WriteStartAttribute(localName: string, ns: string): void;
|
|
993
|
-
WriteStartAttribute(prefix: string, localName: string, ns: string): void;
|
|
986
|
+
WriteQualifiedName(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null): void;
|
|
987
|
+
WriteQualifiedName(localName: string, ns: string | null): void;
|
|
988
|
+
WriteStartAttribute(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null): void;
|
|
989
|
+
WriteStartAttribute(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null): void;
|
|
990
|
+
WriteStartAttribute(localName: string, ns: string | null): void;
|
|
991
|
+
WriteStartAttribute(prefix: string | null, localName: string, ns: string | null): void;
|
|
994
992
|
WriteStartAttribute(localName: string): void;
|
|
995
|
-
WriteStartElement(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): void;
|
|
996
|
-
WriteStartElement(prefix: string, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): void;
|
|
997
|
-
WriteStartElement(localName: string, ns: string): void;
|
|
998
|
-
WriteStartElement(prefix: string, localName: string, ns: string): void;
|
|
993
|
+
WriteStartElement(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null): void;
|
|
994
|
+
WriteStartElement(prefix: string | null, localName: XmlDictionaryString, namespaceUri: XmlDictionaryString | null): void;
|
|
995
|
+
WriteStartElement(localName: string, ns: string | null): void;
|
|
996
|
+
WriteStartElement(prefix: string | null, localName: string, ns: string | null): void;
|
|
999
997
|
WriteStartElement(localName: string): void;
|
|
1000
|
-
WriteString(value: XmlDictionaryString): void;
|
|
1001
|
-
WriteString(text: string): void;
|
|
998
|
+
WriteString(value: XmlDictionaryString | null): void;
|
|
999
|
+
WriteString(text: string | null): void;
|
|
1002
1000
|
WriteTextNode(reader: XmlDictionaryReader, isAttribute: boolean): void;
|
|
1003
|
-
WriteValue(value: XmlDictionaryString): void;
|
|
1001
|
+
WriteValue(value: XmlDictionaryString | null): void;
|
|
1004
1002
|
WriteValue(value: UniqueId): void;
|
|
1005
1003
|
WriteValue(value: Guid): void;
|
|
1006
1004
|
WriteValue(value: TimeSpan): void;
|
|
1007
1005
|
WriteValue(value: IStreamProvider): void;
|
|
1008
|
-
WriteValue(value:
|
|
1009
|
-
WriteValue(value: string): void;
|
|
1006
|
+
WriteValue(value: JsValue): void;
|
|
1007
|
+
WriteValue(value: string | null): void;
|
|
1010
1008
|
WriteValue(value: boolean): void;
|
|
1011
1009
|
WriteValue(value: DateTime): void;
|
|
1012
1010
|
WriteValue(value: DateTimeOffset): void;
|
|
@@ -1016,20 +1014,20 @@ export interface XmlDictionaryWriter$instance extends XmlWriter$instance, System
|
|
|
1016
1014
|
WriteValue(value: int): void;
|
|
1017
1015
|
WriteValue(value: long): void;
|
|
1018
1016
|
WriteValueAsync(value: IStreamProvider): Task;
|
|
1019
|
-
WriteXmlAttribute(localName: string, value: string): void;
|
|
1020
|
-
WriteXmlAttribute(localName: XmlDictionaryString, value: XmlDictionaryString): void;
|
|
1021
|
-
WriteXmlnsAttribute(prefix: string, namespaceUri: string): void;
|
|
1022
|
-
WriteXmlnsAttribute(prefix: string, namespaceUri: XmlDictionaryString): void;
|
|
1017
|
+
WriteXmlAttribute(localName: string, value: string | null): void;
|
|
1018
|
+
WriteXmlAttribute(localName: XmlDictionaryString, value: XmlDictionaryString | null): void;
|
|
1019
|
+
WriteXmlnsAttribute(prefix: string | null, namespaceUri: string): void;
|
|
1020
|
+
WriteXmlnsAttribute(prefix: string | null, namespaceUri: XmlDictionaryString): void;
|
|
1023
1021
|
}
|
|
1024
1022
|
|
|
1025
1023
|
|
|
1026
1024
|
export const XmlDictionaryWriter: (abstract new() => XmlDictionaryWriter) & {
|
|
1027
|
-
CreateBinaryWriter(stream: Stream, dictionary: IXmlDictionary, session: XmlBinaryWriterSession, ownsStream: boolean): XmlDictionaryWriter;
|
|
1028
|
-
CreateBinaryWriter(stream: Stream, dictionary: IXmlDictionary, session: XmlBinaryWriterSession): XmlDictionaryWriter;
|
|
1029
|
-
CreateBinaryWriter(stream: Stream, dictionary: IXmlDictionary): XmlDictionaryWriter;
|
|
1025
|
+
CreateBinaryWriter(stream: Stream, dictionary: IXmlDictionary | null, session: XmlBinaryWriterSession | null, ownsStream: boolean): XmlDictionaryWriter;
|
|
1026
|
+
CreateBinaryWriter(stream: Stream, dictionary: IXmlDictionary | null, session: XmlBinaryWriterSession | null): XmlDictionaryWriter;
|
|
1027
|
+
CreateBinaryWriter(stream: Stream, dictionary: IXmlDictionary | null): XmlDictionaryWriter;
|
|
1030
1028
|
CreateBinaryWriter(stream: Stream): XmlDictionaryWriter;
|
|
1031
1029
|
CreateDictionaryWriter(writer: XmlWriter): XmlDictionaryWriter;
|
|
1032
|
-
CreateMtomWriter(stream: Stream, encoding: Encoding, maxSizeInBytes: int, startInfo: string, boundary: string, startUri: string, writeMessageHeaders: boolean, ownsStream: boolean): XmlDictionaryWriter;
|
|
1030
|
+
CreateMtomWriter(stream: Stream, encoding: Encoding, maxSizeInBytes: int, startInfo: string, boundary: string | null, startUri: string | null, writeMessageHeaders: boolean, ownsStream: boolean): XmlDictionaryWriter;
|
|
1033
1031
|
CreateMtomWriter(stream: Stream, encoding: Encoding, maxSizeInBytes: int, startInfo: string): XmlDictionaryWriter;
|
|
1034
1032
|
CreateTextWriter(stream: Stream, encoding: Encoding, ownsStream: boolean): XmlDictionaryWriter;
|
|
1035
1033
|
CreateTextWriter(stream: Stream, encoding: Encoding): XmlDictionaryWriter;
|
|
@@ -1053,8 +1051,8 @@ export interface XmlDocument$instance extends XmlNode$instance {
|
|
|
1053
1051
|
readonly __tsonic_iface_System_Xml_XPath_IXPathNavigable: never;
|
|
1054
1052
|
|
|
1055
1053
|
readonly BaseURI: string;
|
|
1056
|
-
readonly DocumentElement: XmlElement |
|
|
1057
|
-
readonly DocumentType: XmlDocumentType |
|
|
1054
|
+
readonly DocumentElement: XmlElement | null;
|
|
1055
|
+
readonly DocumentType: XmlDocumentType | null;
|
|
1058
1056
|
readonly Implementation: XmlImplementation;
|
|
1059
1057
|
InnerText: string;
|
|
1060
1058
|
InnerXml: string;
|
|
@@ -1063,36 +1061,36 @@ export interface XmlDocument$instance extends XmlNode$instance {
|
|
|
1063
1061
|
readonly Name: string;
|
|
1064
1062
|
readonly NameTable: XmlNameTable;
|
|
1065
1063
|
readonly NodeType: XmlNodeType;
|
|
1066
|
-
readonly OwnerDocument: XmlDocument |
|
|
1067
|
-
readonly ParentNode: XmlNode |
|
|
1064
|
+
readonly OwnerDocument: XmlDocument | null;
|
|
1065
|
+
readonly ParentNode: XmlNode | null;
|
|
1068
1066
|
PreserveWhitespace: boolean;
|
|
1069
1067
|
readonly SchemaInfo: IXmlSchemaInfo;
|
|
1070
1068
|
Schemas: XmlSchemaSet;
|
|
1071
|
-
XmlResolver: XmlResolver |
|
|
1069
|
+
XmlResolver: XmlResolver | null;
|
|
1072
1070
|
CloneNode(deep: boolean): XmlNode;
|
|
1073
1071
|
CreateAttribute(name: string): XmlAttribute;
|
|
1074
|
-
CreateAttribute(qualifiedName: string, namespaceURI: string): XmlAttribute;
|
|
1075
|
-
CreateAttribute(prefix: string, localName: string, namespaceURI: string): XmlAttribute;
|
|
1076
|
-
CreateCDataSection(data: string): XmlCDataSection;
|
|
1077
|
-
CreateComment(data: string): XmlComment;
|
|
1078
|
-
CreateDefaultAttribute(prefix: string, localName: string, namespaceURI: string): XmlAttribute;
|
|
1072
|
+
CreateAttribute(qualifiedName: string, namespaceURI: string | null): XmlAttribute;
|
|
1073
|
+
CreateAttribute(prefix: string | null, localName: string, namespaceURI: string | null): XmlAttribute;
|
|
1074
|
+
CreateCDataSection(data: string | null): XmlCDataSection;
|
|
1075
|
+
CreateComment(data: string | null): XmlComment;
|
|
1076
|
+
CreateDefaultAttribute(prefix: string | null, localName: string, namespaceURI: string | null): XmlAttribute;
|
|
1079
1077
|
CreateDocumentFragment(): XmlDocumentFragment;
|
|
1080
|
-
CreateDocumentType(name: string, publicId: string, systemId: string, internalSubset: string): XmlDocumentType;
|
|
1078
|
+
CreateDocumentType(name: string, publicId: string | null, systemId: string | null, internalSubset: string | null): XmlDocumentType;
|
|
1081
1079
|
CreateElement(name: string): XmlElement;
|
|
1082
|
-
CreateElement(qualifiedName: string, namespaceURI: string): XmlElement;
|
|
1083
|
-
CreateElement(prefix: string, localName: string, namespaceURI: string): XmlElement;
|
|
1080
|
+
CreateElement(qualifiedName: string, namespaceURI: string | null): XmlElement;
|
|
1081
|
+
CreateElement(prefix: string | null, localName: string, namespaceURI: string | null): XmlElement;
|
|
1084
1082
|
CreateEntityReference(name: string): XmlEntityReference;
|
|
1085
1083
|
CreateNavigator(): XPathNavigator;
|
|
1086
|
-
CreateNavigator(node: XmlNode): XPathNavigator |
|
|
1087
|
-
CreateNode(type: XmlNodeType, prefix: string, name: string, namespaceURI: string): XmlNode;
|
|
1088
|
-
CreateNode(nodeTypeString: string, name: string, namespaceURI: string): XmlNode;
|
|
1089
|
-
CreateNode(type: XmlNodeType, name: string, namespaceURI: string): XmlNode;
|
|
1090
|
-
CreateProcessingInstruction(target: string, data: string): XmlProcessingInstruction;
|
|
1091
|
-
CreateSignificantWhitespace(text: string): XmlSignificantWhitespace;
|
|
1092
|
-
CreateTextNode(text: string): XmlText;
|
|
1093
|
-
CreateWhitespace(text: string): XmlWhitespace;
|
|
1094
|
-
CreateXmlDeclaration(version: string, encoding: string, standalone: string): XmlDeclaration;
|
|
1095
|
-
GetElementById(elementId: string): XmlElement |
|
|
1084
|
+
CreateNavigator(node: XmlNode): XPathNavigator | null;
|
|
1085
|
+
CreateNode(type: XmlNodeType, prefix: string | null, name: string, namespaceURI: string | null): XmlNode;
|
|
1086
|
+
CreateNode(nodeTypeString: string, name: string, namespaceURI: string | null): XmlNode;
|
|
1087
|
+
CreateNode(type: XmlNodeType, name: string, namespaceURI: string | null): XmlNode;
|
|
1088
|
+
CreateProcessingInstruction(target: string, data: string | null): XmlProcessingInstruction;
|
|
1089
|
+
CreateSignificantWhitespace(text: string | null): XmlSignificantWhitespace;
|
|
1090
|
+
CreateTextNode(text: string | null): XmlText;
|
|
1091
|
+
CreateWhitespace(text: string | null): XmlWhitespace;
|
|
1092
|
+
CreateXmlDeclaration(version: string, encoding: string | null, standalone: string | null): XmlDeclaration;
|
|
1093
|
+
GetElementById(elementId: string): XmlElement | null;
|
|
1096
1094
|
GetElementsByTagName(name: string): XmlNodeList;
|
|
1097
1095
|
GetElementsByTagName(localName: string, namespaceURI: string): XmlNodeList;
|
|
1098
1096
|
ImportNode(node: XmlNode, deep: boolean): XmlNode;
|
|
@@ -1101,13 +1099,13 @@ export interface XmlDocument$instance extends XmlNode$instance {
|
|
|
1101
1099
|
Load(txtReader: TextReader): void;
|
|
1102
1100
|
Load(reader: XmlReader): void;
|
|
1103
1101
|
LoadXml(xml: string): void;
|
|
1104
|
-
ReadNode(reader: XmlReader): XmlNode |
|
|
1102
|
+
ReadNode(reader: XmlReader): XmlNode | null;
|
|
1105
1103
|
Save(filename: string): void;
|
|
1106
1104
|
Save(outStream: Stream): void;
|
|
1107
1105
|
Save(writer: TextWriter): void;
|
|
1108
1106
|
Save(w: XmlWriter): void;
|
|
1109
|
-
Validate(validationEventHandler: ValidationEventHandler): void;
|
|
1110
|
-
Validate(validationEventHandler: ValidationEventHandler, nodeToValidate: XmlNode): void;
|
|
1107
|
+
Validate(validationEventHandler: ValidationEventHandler | null): void;
|
|
1108
|
+
Validate(validationEventHandler: ValidationEventHandler | null, nodeToValidate: XmlNode): void;
|
|
1111
1109
|
WriteContentTo(xw: XmlWriter): void;
|
|
1112
1110
|
WriteTo(w: XmlWriter): void;
|
|
1113
1111
|
}
|
|
@@ -1139,8 +1137,8 @@ export interface XmlDocumentFragment$instance extends XmlNode$instance, System_X
|
|
|
1139
1137
|
readonly LocalName: string;
|
|
1140
1138
|
readonly Name: string;
|
|
1141
1139
|
readonly NodeType: XmlNodeType;
|
|
1142
|
-
readonly OwnerDocument: XmlDocument | XmlDocument |
|
|
1143
|
-
readonly ParentNode: XmlNode |
|
|
1140
|
+
readonly OwnerDocument: XmlDocument | XmlDocument | null;
|
|
1141
|
+
readonly ParentNode: XmlNode | null;
|
|
1144
1142
|
CloneNode(deep: boolean): XmlNode;
|
|
1145
1143
|
WriteContentTo(w: XmlWriter): void;
|
|
1146
1144
|
WriteTo(w: XmlWriter): void;
|
|
@@ -1168,21 +1166,21 @@ export interface XmlDocumentType$instance extends XmlLinkedNode$instance, System
|
|
|
1168
1166
|
readonly __tsonic_iface_System_Xml_XPath_IXPathNavigable: never;
|
|
1169
1167
|
|
|
1170
1168
|
readonly Entities: XmlNamedNodeMap;
|
|
1171
|
-
readonly InternalSubset: string |
|
|
1169
|
+
readonly InternalSubset: string | null;
|
|
1172
1170
|
readonly IsReadOnly: boolean;
|
|
1173
1171
|
readonly LocalName: string;
|
|
1174
1172
|
readonly Name: string;
|
|
1175
1173
|
readonly NodeType: XmlNodeType;
|
|
1176
1174
|
readonly Notations: XmlNamedNodeMap;
|
|
1177
|
-
readonly PublicId: string |
|
|
1178
|
-
readonly SystemId: string |
|
|
1175
|
+
readonly PublicId: string | null;
|
|
1176
|
+
readonly SystemId: string | null;
|
|
1179
1177
|
CloneNode(deep: boolean): XmlNode;
|
|
1180
1178
|
WriteContentTo(w: XmlWriter): void;
|
|
1181
1179
|
WriteTo(w: XmlWriter): void;
|
|
1182
1180
|
}
|
|
1183
1181
|
|
|
1184
1182
|
|
|
1185
|
-
export const XmlDocumentType: (abstract new(name: string, publicId: string, systemId: string, internalSubset: string, doc: XmlDocument) => XmlDocumentType) & {
|
|
1183
|
+
export const XmlDocumentType: (abstract new(name: string, publicId: string | null, systemId: string | null, internalSubset: string | null, doc: XmlDocument) => XmlDocumentType) & {
|
|
1186
1184
|
};
|
|
1187
1185
|
|
|
1188
1186
|
|
|
@@ -1202,7 +1200,7 @@ export interface XmlElement$instance extends XmlLinkedNode$instance, System_Xml_
|
|
|
1202
1200
|
readonly __tsonic_iface_System_ICloneable: never;
|
|
1203
1201
|
readonly __tsonic_iface_System_Xml_XPath_IXPathNavigable: never;
|
|
1204
1202
|
|
|
1205
|
-
readonly Attributes: XmlAttributeCollection | XmlAttributeCollection |
|
|
1203
|
+
readonly Attributes: XmlAttributeCollection | XmlAttributeCollection | null;
|
|
1206
1204
|
readonly HasAttributes: boolean;
|
|
1207
1205
|
InnerText: string;
|
|
1208
1206
|
InnerXml: string;
|
|
@@ -1210,38 +1208,38 @@ export interface XmlElement$instance extends XmlLinkedNode$instance, System_Xml_
|
|
|
1210
1208
|
readonly LocalName: string;
|
|
1211
1209
|
readonly Name: string;
|
|
1212
1210
|
readonly NamespaceURI: string;
|
|
1213
|
-
readonly NextSibling: XmlNode |
|
|
1211
|
+
readonly NextSibling: XmlNode | null;
|
|
1214
1212
|
readonly NodeType: XmlNodeType;
|
|
1215
|
-
readonly OwnerDocument: XmlDocument | XmlDocument |
|
|
1216
|
-
readonly ParentNode: XmlNode |
|
|
1213
|
+
readonly OwnerDocument: XmlDocument | XmlDocument | null;
|
|
1214
|
+
readonly ParentNode: XmlNode | null;
|
|
1217
1215
|
Prefix: string;
|
|
1218
1216
|
readonly SchemaInfo: IXmlSchemaInfo;
|
|
1219
1217
|
CloneNode(deep: boolean): XmlNode;
|
|
1220
1218
|
GetAttribute(name: string): string;
|
|
1221
|
-
GetAttribute(localName: string, namespaceURI: string): string;
|
|
1222
|
-
GetAttributeNode(name: string): XmlAttribute |
|
|
1223
|
-
GetAttributeNode(localName: string, namespaceURI: string): XmlAttribute |
|
|
1219
|
+
GetAttribute(localName: string, namespaceURI: string | null): string;
|
|
1220
|
+
GetAttributeNode(name: string): XmlAttribute | null;
|
|
1221
|
+
GetAttributeNode(localName: string, namespaceURI: string | null): XmlAttribute | null;
|
|
1224
1222
|
GetElementsByTagName(name: string): XmlNodeList;
|
|
1225
1223
|
GetElementsByTagName(localName: string, namespaceURI: string): XmlNodeList;
|
|
1226
1224
|
HasAttribute(name: string): boolean;
|
|
1227
|
-
HasAttribute(localName: string, namespaceURI: string): boolean;
|
|
1225
|
+
HasAttribute(localName: string, namespaceURI: string | null): boolean;
|
|
1228
1226
|
RemoveAll(): void;
|
|
1229
1227
|
RemoveAllAttributes(): void;
|
|
1230
1228
|
RemoveAttribute(name: string): void;
|
|
1231
|
-
RemoveAttribute(localName: string, namespaceURI: string): void;
|
|
1232
|
-
RemoveAttributeAt(i: int): XmlNode |
|
|
1233
|
-
RemoveAttributeNode(oldAttr: XmlAttribute): XmlAttribute |
|
|
1234
|
-
RemoveAttributeNode(localName: string, namespaceURI: string): XmlAttribute |
|
|
1235
|
-
SetAttribute(name: string, value: string): void;
|
|
1236
|
-
SetAttribute(localName: string, namespaceURI: string, value: string): string |
|
|
1237
|
-
SetAttributeNode(newAttr: XmlAttribute): XmlAttribute |
|
|
1238
|
-
SetAttributeNode(localName: string, namespaceURI: string): XmlAttribute;
|
|
1229
|
+
RemoveAttribute(localName: string, namespaceURI: string | null): void;
|
|
1230
|
+
RemoveAttributeAt(i: int): XmlNode | null;
|
|
1231
|
+
RemoveAttributeNode(oldAttr: XmlAttribute): XmlAttribute | null;
|
|
1232
|
+
RemoveAttributeNode(localName: string, namespaceURI: string | null): XmlAttribute | null;
|
|
1233
|
+
SetAttribute(name: string, value: string | null): void;
|
|
1234
|
+
SetAttribute(localName: string, namespaceURI: string | null, value: string | null): string | null;
|
|
1235
|
+
SetAttributeNode(newAttr: XmlAttribute): XmlAttribute | null;
|
|
1236
|
+
SetAttributeNode(localName: string, namespaceURI: string | null): XmlAttribute;
|
|
1239
1237
|
WriteContentTo(w: XmlWriter): void;
|
|
1240
1238
|
WriteTo(w: XmlWriter): void;
|
|
1241
1239
|
}
|
|
1242
1240
|
|
|
1243
1241
|
|
|
1244
|
-
export const XmlElement: (abstract new(prefix: string, localName: string, namespaceURI: string, doc: XmlDocument) => XmlElement) & {
|
|
1242
|
+
export const XmlElement: (abstract new(prefix: string | null, localName: string, namespaceURI: string | null, doc: XmlDocument) => XmlElement) & {
|
|
1245
1243
|
};
|
|
1246
1244
|
|
|
1247
1245
|
|
|
@@ -1268,10 +1266,10 @@ export interface XmlEntity$instance extends XmlNode$instance, System_Xml_XPath_I
|
|
|
1268
1266
|
readonly LocalName: string;
|
|
1269
1267
|
readonly Name: string;
|
|
1270
1268
|
readonly NodeType: XmlNodeType;
|
|
1271
|
-
readonly NotationName: string |
|
|
1269
|
+
readonly NotationName: string | null;
|
|
1272
1270
|
readonly OuterXml: string;
|
|
1273
|
-
readonly PublicId: string |
|
|
1274
|
-
readonly SystemId: string |
|
|
1271
|
+
readonly PublicId: string | null;
|
|
1272
|
+
readonly SystemId: string | null;
|
|
1275
1273
|
CloneNode(deep: boolean): XmlNode;
|
|
1276
1274
|
WriteContentTo(w: XmlWriter): void;
|
|
1277
1275
|
WriteTo(w: XmlWriter): void;
|
|
@@ -1303,8 +1301,8 @@ export interface XmlEntityReference$instance extends XmlLinkedNode$instance, Sys
|
|
|
1303
1301
|
readonly LocalName: string;
|
|
1304
1302
|
readonly Name: string;
|
|
1305
1303
|
readonly NodeType: XmlNodeType;
|
|
1306
|
-
get Value(): string |
|
|
1307
|
-
set Value(value: string |
|
|
1304
|
+
get Value(): string | null;
|
|
1305
|
+
set Value(value: string | null);
|
|
1308
1306
|
CloneNode(deep: boolean): XmlNode;
|
|
1309
1307
|
WriteContentTo(w: XmlWriter): void;
|
|
1310
1308
|
WriteTo(w: XmlWriter): void;
|
|
@@ -1332,16 +1330,16 @@ export interface XmlException$instance extends SystemException {
|
|
|
1332
1330
|
readonly LineNumber: int;
|
|
1333
1331
|
readonly LinePosition: int;
|
|
1334
1332
|
readonly Message: string;
|
|
1335
|
-
readonly SourceUri: string |
|
|
1333
|
+
readonly SourceUri: string | null;
|
|
1336
1334
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1337
1335
|
}
|
|
1338
1336
|
|
|
1339
1337
|
|
|
1340
1338
|
export const XmlException: {
|
|
1341
1339
|
new(): XmlException;
|
|
1342
|
-
new(message: string): XmlException;
|
|
1343
|
-
new(message: string, innerException: Exception): XmlException;
|
|
1344
|
-
new(message: string, innerException: Exception, lineNumber: int, linePosition: int): XmlException;
|
|
1340
|
+
new(message: string | null): XmlException;
|
|
1341
|
+
new(message: string | null, innerException: Exception | null): XmlException;
|
|
1342
|
+
new(message: string | null, innerException: Exception | null, lineNumber: int, linePosition: int): XmlException;
|
|
1345
1343
|
};
|
|
1346
1344
|
|
|
1347
1345
|
|
|
@@ -1375,8 +1373,8 @@ export interface XmlLinkedNode$instance extends XmlNode$instance, System_Xml_XPa
|
|
|
1375
1373
|
readonly __tsonic_iface_System_ICloneable: never;
|
|
1376
1374
|
readonly __tsonic_iface_System_Xml_XPath_IXPathNavigable: never;
|
|
1377
1375
|
|
|
1378
|
-
readonly NextSibling: XmlNode |
|
|
1379
|
-
readonly PreviousSibling: XmlNode |
|
|
1376
|
+
readonly NextSibling: XmlNode | null;
|
|
1377
|
+
readonly PreviousSibling: XmlNode | null;
|
|
1380
1378
|
}
|
|
1381
1379
|
|
|
1382
1380
|
|
|
@@ -1400,12 +1398,12 @@ export interface XmlNamedNodeMap$instance {
|
|
|
1400
1398
|
|
|
1401
1399
|
readonly Count: int;
|
|
1402
1400
|
GetEnumerator(): IEnumerator;
|
|
1403
|
-
GetNamedItem(name: string): XmlNode |
|
|
1404
|
-
GetNamedItem(localName: string, namespaceURI: string): XmlNode |
|
|
1405
|
-
Item(index: int): XmlNode |
|
|
1406
|
-
RemoveNamedItem(name: string): XmlNode |
|
|
1407
|
-
RemoveNamedItem(localName: string, namespaceURI: string): XmlNode |
|
|
1408
|
-
SetNamedItem(node: XmlNode): XmlNode |
|
|
1401
|
+
GetNamedItem(name: string): XmlNode | null;
|
|
1402
|
+
GetNamedItem(localName: string, namespaceURI: string | null): XmlNode | null;
|
|
1403
|
+
Item(index: int): XmlNode | null;
|
|
1404
|
+
RemoveNamedItem(name: string): XmlNode | null;
|
|
1405
|
+
RemoveNamedItem(localName: string, namespaceURI: string | null): XmlNode | null;
|
|
1406
|
+
SetNamedItem(node: XmlNode | null): XmlNode | null;
|
|
1409
1407
|
}
|
|
1410
1408
|
|
|
1411
1409
|
|
|
@@ -1427,13 +1425,13 @@ export interface XmlNamespaceManager$instance extends IXmlNamespaceResolver$inst
|
|
|
1427
1425
|
readonly __tsonic_iface_System_Xml_IXmlNamespaceResolver: never;
|
|
1428
1426
|
|
|
1429
1427
|
readonly DefaultNamespace: string;
|
|
1430
|
-
readonly NameTable: XmlNameTable |
|
|
1428
|
+
readonly NameTable: XmlNameTable | null;
|
|
1431
1429
|
AddNamespace(prefix: string, uri: string): void;
|
|
1432
1430
|
GetEnumerator(): IEnumerator;
|
|
1433
1431
|
GetNamespacesInScope(scope: XmlNamespaceScope): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
1434
1432
|
HasNamespace(prefix: string): boolean;
|
|
1435
|
-
LookupNamespace(prefix: string): string |
|
|
1436
|
-
LookupPrefix(uri: string): string |
|
|
1433
|
+
LookupNamespace(prefix: string): string | null;
|
|
1434
|
+
LookupPrefix(uri: string): string | null;
|
|
1437
1435
|
PopScope(): boolean;
|
|
1438
1436
|
PushScope(): void;
|
|
1439
1437
|
RemoveNamespace(prefix: string, uri: string): void;
|
|
@@ -1458,8 +1456,8 @@ export interface XmlNameTable$instance {
|
|
|
1458
1456
|
|
|
1459
1457
|
Add(array: char[], offset: int, length: int): string;
|
|
1460
1458
|
Add(array: string): string;
|
|
1461
|
-
Get(array: char[], offset: int, length: int): string |
|
|
1462
|
-
Get(array: string): string |
|
|
1459
|
+
Get(array: char[], offset: int, length: int): string | null;
|
|
1460
|
+
Get(array: string): string | null;
|
|
1463
1461
|
}
|
|
1464
1462
|
|
|
1465
1463
|
|
|
@@ -1476,49 +1474,49 @@ export interface XmlNode$instance extends System_Xml_XPath_Internal.IXPathNaviga
|
|
|
1476
1474
|
readonly __tsonic_iface_System_ICloneable: never;
|
|
1477
1475
|
readonly __tsonic_iface_System_Xml_XPath_IXPathNavigable: never;
|
|
1478
1476
|
|
|
1479
|
-
readonly Attributes: XmlAttributeCollection | XmlAttributeCollection |
|
|
1477
|
+
readonly Attributes: XmlAttributeCollection | XmlAttributeCollection | null;
|
|
1480
1478
|
readonly BaseURI: string;
|
|
1481
1479
|
readonly ChildNodes: XmlNodeList;
|
|
1482
|
-
readonly FirstChild: XmlNode |
|
|
1480
|
+
readonly FirstChild: XmlNode | null;
|
|
1483
1481
|
readonly HasChildNodes: boolean;
|
|
1484
1482
|
InnerText: string;
|
|
1485
1483
|
InnerXml: string;
|
|
1486
1484
|
readonly IsReadOnly: boolean;
|
|
1487
|
-
readonly LastChild: XmlNode |
|
|
1485
|
+
readonly LastChild: XmlNode | null;
|
|
1488
1486
|
readonly LocalName: string;
|
|
1489
1487
|
readonly Name: string;
|
|
1490
1488
|
readonly NamespaceURI: string;
|
|
1491
|
-
readonly NextSibling: XmlNode |
|
|
1489
|
+
readonly NextSibling: XmlNode | null;
|
|
1492
1490
|
readonly NodeType: XmlNodeType;
|
|
1493
1491
|
readonly OuterXml: string;
|
|
1494
|
-
readonly OwnerDocument: XmlDocument | XmlDocument |
|
|
1495
|
-
readonly ParentNode: XmlNode |
|
|
1492
|
+
readonly OwnerDocument: XmlDocument | XmlDocument | null;
|
|
1493
|
+
readonly ParentNode: XmlNode | null;
|
|
1496
1494
|
Prefix: string;
|
|
1497
|
-
readonly PreviousSibling: XmlNode |
|
|
1498
|
-
readonly PreviousText: XmlNode |
|
|
1495
|
+
readonly PreviousSibling: XmlNode | null;
|
|
1496
|
+
readonly PreviousText: XmlNode | null;
|
|
1499
1497
|
readonly SchemaInfo: IXmlSchemaInfo;
|
|
1500
|
-
get Value(): string | string |
|
|
1501
|
-
set Value(value: string | string |
|
|
1502
|
-
AppendChild(newChild: XmlNode): XmlNode |
|
|
1498
|
+
get Value(): string | string | null;
|
|
1499
|
+
set Value(value: string | string | null);
|
|
1500
|
+
AppendChild(newChild: XmlNode): XmlNode | null;
|
|
1503
1501
|
Clone(): XmlNode;
|
|
1504
1502
|
CloneNode(deep: boolean): XmlNode;
|
|
1505
1503
|
CreateNavigator(): XPathNavigator;
|
|
1506
|
-
get_Item(name: string): XmlElement |
|
|
1507
|
-
get_Item(localname: string, ns: string): XmlElement |
|
|
1504
|
+
get_Item(name: string): XmlElement | null;
|
|
1505
|
+
get_Item(localname: string, ns: string): XmlElement | null;
|
|
1508
1506
|
GetEnumerator(): IEnumerator;
|
|
1509
1507
|
GetNamespaceOfPrefix(prefix: string): string;
|
|
1510
1508
|
GetPrefixOfNamespace(namespaceURI: string): string;
|
|
1511
|
-
InsertAfter(newChild: XmlNode, refChild: XmlNode): XmlNode |
|
|
1512
|
-
InsertBefore(newChild: XmlNode, refChild: XmlNode): XmlNode |
|
|
1509
|
+
InsertAfter(newChild: XmlNode, refChild: XmlNode | null): XmlNode | null;
|
|
1510
|
+
InsertBefore(newChild: XmlNode, refChild: XmlNode | null): XmlNode | null;
|
|
1513
1511
|
Normalize(): void;
|
|
1514
|
-
PrependChild(newChild: XmlNode): XmlNode |
|
|
1512
|
+
PrependChild(newChild: XmlNode): XmlNode | null;
|
|
1515
1513
|
RemoveAll(): void;
|
|
1516
1514
|
RemoveChild(oldChild: XmlNode): XmlNode;
|
|
1517
1515
|
ReplaceChild(newChild: XmlNode, oldChild: XmlNode): XmlNode;
|
|
1518
|
-
SelectNodes(xpath: string): XmlNodeList |
|
|
1519
|
-
SelectNodes(xpath: string, nsmgr: XmlNamespaceManager): XmlNodeList |
|
|
1520
|
-
SelectSingleNode(xpath: string): XmlNode |
|
|
1521
|
-
SelectSingleNode(xpath: string, nsmgr: XmlNamespaceManager): XmlNode |
|
|
1516
|
+
SelectNodes(xpath: string): XmlNodeList | null;
|
|
1517
|
+
SelectNodes(xpath: string, nsmgr: XmlNamespaceManager): XmlNodeList | null;
|
|
1518
|
+
SelectSingleNode(xpath: string): XmlNode | null;
|
|
1519
|
+
SelectSingleNode(xpath: string, nsmgr: XmlNamespaceManager): XmlNode | null;
|
|
1522
1520
|
Supports(feature: string, version: string): boolean;
|
|
1523
1521
|
WriteContentTo(w: XmlWriter): void;
|
|
1524
1522
|
WriteTo(w: XmlWriter): void;
|
|
@@ -1542,16 +1540,16 @@ export interface XmlNodeChangedEventArgs$instance extends EventArgs {
|
|
|
1542
1540
|
readonly __tsonic_type_System_Xml_XmlNodeChangedEventArgs: never;
|
|
1543
1541
|
|
|
1544
1542
|
readonly Action: XmlNodeChangedAction;
|
|
1545
|
-
readonly NewParent: XmlNode |
|
|
1546
|
-
readonly NewValue: string |
|
|
1547
|
-
readonly Node: XmlNode |
|
|
1548
|
-
readonly OldParent: XmlNode |
|
|
1549
|
-
readonly OldValue: string |
|
|
1543
|
+
readonly NewParent: XmlNode | null;
|
|
1544
|
+
readonly NewValue: string | null;
|
|
1545
|
+
readonly Node: XmlNode | null;
|
|
1546
|
+
readonly OldParent: XmlNode | null;
|
|
1547
|
+
readonly OldValue: string | null;
|
|
1550
1548
|
}
|
|
1551
1549
|
|
|
1552
1550
|
|
|
1553
1551
|
export const XmlNodeChangedEventArgs: {
|
|
1554
|
-
new(node: XmlNode, oldParent: XmlNode, newParent: XmlNode, oldValue: string, newValue: string, action: XmlNodeChangedAction): XmlNodeChangedEventArgs;
|
|
1552
|
+
new(node: XmlNode | null, oldParent: XmlNode | null, newParent: XmlNode | null, oldValue: string | null, newValue: string | null, action: XmlNodeChangedAction): XmlNodeChangedEventArgs;
|
|
1555
1553
|
};
|
|
1556
1554
|
|
|
1557
1555
|
|
|
@@ -1565,7 +1563,7 @@ export interface XmlNodeList$instance extends System_Internal.IDisposable$instan
|
|
|
1565
1563
|
|
|
1566
1564
|
readonly Count: int;
|
|
1567
1565
|
GetEnumerator(): IEnumerator;
|
|
1568
|
-
Item(index: int): XmlNode |
|
|
1566
|
+
Item(index: int): XmlNode | null;
|
|
1569
1567
|
PrivateDisposeNodeList(): void;
|
|
1570
1568
|
}
|
|
1571
1569
|
|
|
@@ -1579,7 +1577,7 @@ export interface __XmlNodeList$views {
|
|
|
1579
1577
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1580
1578
|
}
|
|
1581
1579
|
|
|
1582
|
-
export type XmlNodeList = XmlNodeList$instance & __XmlNodeList$views & { readonly [i: number]: XmlNode |
|
|
1580
|
+
export type XmlNodeList = XmlNodeList$instance & __XmlNodeList$views & { readonly [i: number]: XmlNode | null; };
|
|
1583
1581
|
|
|
1584
1582
|
|
|
1585
1583
|
export interface XmlNodeReader$instance extends XmlReader$instance {
|
|
@@ -1605,17 +1603,17 @@ export interface XmlNodeReader$instance extends XmlReader$instance {
|
|
|
1605
1603
|
readonly NodeType: XmlNodeType;
|
|
1606
1604
|
readonly Prefix: string;
|
|
1607
1605
|
readonly ReadState: ReadState;
|
|
1608
|
-
readonly SchemaInfo: IXmlSchemaInfo |
|
|
1606
|
+
readonly SchemaInfo: IXmlSchemaInfo | null;
|
|
1609
1607
|
readonly Value: string;
|
|
1610
1608
|
readonly XmlLang: string;
|
|
1611
1609
|
readonly XmlSpace: XmlSpace;
|
|
1612
1610
|
Close(): void;
|
|
1613
|
-
GetAttribute(name: string): string |
|
|
1614
|
-
GetAttribute(name: string, namespaceURI: string): string |
|
|
1611
|
+
GetAttribute(name: string): string | null;
|
|
1612
|
+
GetAttribute(name: string, namespaceURI: string | null): string | null;
|
|
1615
1613
|
GetAttribute(attributeIndex: int): string;
|
|
1616
|
-
LookupNamespace(prefix: string): string |
|
|
1614
|
+
LookupNamespace(prefix: string): string | null;
|
|
1617
1615
|
MoveToAttribute(name: string): boolean;
|
|
1618
|
-
MoveToAttribute(name: string, namespaceURI: string): boolean;
|
|
1616
|
+
MoveToAttribute(name: string, namespaceURI: string | null): boolean;
|
|
1619
1617
|
MoveToAttribute(attributeIndex: int): void;
|
|
1620
1618
|
MoveToElement(): boolean;
|
|
1621
1619
|
MoveToFirstAttribute(): boolean;
|
|
@@ -1658,8 +1656,8 @@ export interface XmlNotation$instance extends XmlNode$instance, System_Xml_XPath
|
|
|
1658
1656
|
readonly Name: string;
|
|
1659
1657
|
readonly NodeType: XmlNodeType;
|
|
1660
1658
|
readonly OuterXml: string;
|
|
1661
|
-
readonly PublicId: string |
|
|
1662
|
-
readonly SystemId: string |
|
|
1659
|
+
readonly PublicId: string | null;
|
|
1660
|
+
readonly SystemId: string | null;
|
|
1663
1661
|
CloneNode(deep: boolean): XmlNode;
|
|
1664
1662
|
WriteContentTo(w: XmlWriter): void;
|
|
1665
1663
|
WriteTo(w: XmlWriter): void;
|
|
@@ -1684,13 +1682,13 @@ export interface XmlParserContext$instance {
|
|
|
1684
1682
|
|
|
1685
1683
|
BaseURI: string;
|
|
1686
1684
|
DocTypeName: string;
|
|
1687
|
-
get Encoding(): Encoding |
|
|
1688
|
-
set Encoding(value: Encoding |
|
|
1685
|
+
get Encoding(): Encoding | null;
|
|
1686
|
+
set Encoding(value: Encoding | null);
|
|
1689
1687
|
InternalSubset: string;
|
|
1690
|
-
get NamespaceManager(): XmlNamespaceManager |
|
|
1691
|
-
set NamespaceManager(value: XmlNamespaceManager |
|
|
1692
|
-
get NameTable(): XmlNameTable |
|
|
1693
|
-
set NameTable(value: XmlNameTable |
|
|
1688
|
+
get NamespaceManager(): XmlNamespaceManager | null;
|
|
1689
|
+
set NamespaceManager(value: XmlNamespaceManager | null);
|
|
1690
|
+
get NameTable(): XmlNameTable | null;
|
|
1691
|
+
set NameTable(value: XmlNameTable | null);
|
|
1694
1692
|
PublicId: string;
|
|
1695
1693
|
SystemId: string;
|
|
1696
1694
|
XmlLang: string;
|
|
@@ -1699,10 +1697,10 @@ export interface XmlParserContext$instance {
|
|
|
1699
1697
|
|
|
1700
1698
|
|
|
1701
1699
|
export const XmlParserContext: {
|
|
1702
|
-
new(nt: XmlNameTable, nsMgr: XmlNamespaceManager, xmlLang: string, xmlSpace: XmlSpace): XmlParserContext;
|
|
1703
|
-
new(nt: XmlNameTable, nsMgr: XmlNamespaceManager, xmlLang: string, xmlSpace: XmlSpace, enc: Encoding): XmlParserContext;
|
|
1704
|
-
new(nt: XmlNameTable, nsMgr: XmlNamespaceManager, docTypeName: string, pubId: string, sysId: string, internalSubset: string, baseURI: string, xmlLang: string, xmlSpace: XmlSpace): XmlParserContext;
|
|
1705
|
-
new(nt: XmlNameTable, nsMgr: XmlNamespaceManager, docTypeName: string, pubId: string, sysId: string, internalSubset: string, baseURI: string, xmlLang: string, xmlSpace: XmlSpace, enc: Encoding): XmlParserContext;
|
|
1700
|
+
new(nt: XmlNameTable | null, nsMgr: XmlNamespaceManager | null, xmlLang: string | null, xmlSpace: XmlSpace): XmlParserContext;
|
|
1701
|
+
new(nt: XmlNameTable | null, nsMgr: XmlNamespaceManager | null, xmlLang: string | null, xmlSpace: XmlSpace, enc: Encoding | null): XmlParserContext;
|
|
1702
|
+
new(nt: XmlNameTable | null, nsMgr: XmlNamespaceManager | null, docTypeName: string | null, pubId: string | null, sysId: string | null, internalSubset: string | null, baseURI: string | null, xmlLang: string | null, xmlSpace: XmlSpace): XmlParserContext;
|
|
1703
|
+
new(nt: XmlNameTable | null, nsMgr: XmlNamespaceManager | null, docTypeName: string | null, pubId: string | null, sysId: string | null, internalSubset: string | null, baseURI: string | null, xmlLang: string | null, xmlSpace: XmlSpace, enc: Encoding | null): XmlParserContext;
|
|
1706
1704
|
};
|
|
1707
1705
|
|
|
1708
1706
|
|
|
@@ -1721,14 +1719,14 @@ export interface XmlProcessingInstruction$instance extends XmlLinkedNode$instanc
|
|
|
1721
1719
|
readonly Name: string;
|
|
1722
1720
|
readonly NodeType: XmlNodeType;
|
|
1723
1721
|
readonly Target: string;
|
|
1724
|
-
Value: string | string |
|
|
1722
|
+
Value: string | string | null;
|
|
1725
1723
|
CloneNode(deep: boolean): XmlNode;
|
|
1726
1724
|
WriteContentTo(w: XmlWriter): void;
|
|
1727
1725
|
WriteTo(w: XmlWriter): void;
|
|
1728
1726
|
}
|
|
1729
1727
|
|
|
1730
1728
|
|
|
1731
|
-
export const XmlProcessingInstruction: (abstract new(target: string, data: string, doc: XmlDocument) => XmlProcessingInstruction) & {
|
|
1729
|
+
export const XmlProcessingInstruction: (abstract new(target: string, data: string | null, doc: XmlDocument) => XmlProcessingInstruction) & {
|
|
1732
1730
|
};
|
|
1733
1731
|
|
|
1734
1732
|
|
|
@@ -1747,7 +1745,7 @@ export interface XmlQualifiedName$instance {
|
|
|
1747
1745
|
readonly IsEmpty: boolean;
|
|
1748
1746
|
Name: string;
|
|
1749
1747
|
Namespace: string;
|
|
1750
|
-
Equals(other:
|
|
1748
|
+
Equals(other: JsValue | null): boolean;
|
|
1751
1749
|
GetHashCode(): int;
|
|
1752
1750
|
ToString(): string;
|
|
1753
1751
|
}
|
|
@@ -1755,10 +1753,10 @@ export interface XmlQualifiedName$instance {
|
|
|
1755
1753
|
|
|
1756
1754
|
export const XmlQualifiedName: {
|
|
1757
1755
|
new(): XmlQualifiedName;
|
|
1758
|
-
new(name: string): XmlQualifiedName;
|
|
1759
|
-
new(name: string, ns: string): XmlQualifiedName;
|
|
1756
|
+
new(name: string | null): XmlQualifiedName;
|
|
1757
|
+
new(name: string | null, ns: string | null): XmlQualifiedName;
|
|
1760
1758
|
readonly Empty: XmlQualifiedName;
|
|
1761
|
-
ToString(name: string, ns: string): string;
|
|
1759
|
+
ToString(name: string, ns: string | null): string;
|
|
1762
1760
|
};
|
|
1763
1761
|
|
|
1764
1762
|
|
|
@@ -1788,8 +1786,8 @@ export interface XmlReader$instance {
|
|
|
1788
1786
|
readonly Prefix: string;
|
|
1789
1787
|
readonly QuoteChar: char;
|
|
1790
1788
|
readonly ReadState: ReadState;
|
|
1791
|
-
readonly SchemaInfo: IXmlSchemaInfo |
|
|
1792
|
-
readonly Settings: XmlReaderSettings |
|
|
1789
|
+
readonly SchemaInfo: IXmlSchemaInfo | null;
|
|
1790
|
+
readonly Settings: XmlReaderSettings | null;
|
|
1793
1791
|
readonly Value: string;
|
|
1794
1792
|
readonly ValueType: Type;
|
|
1795
1793
|
readonly XmlLang: string;
|
|
@@ -1798,18 +1796,18 @@ export interface XmlReader$instance {
|
|
|
1798
1796
|
Dispose(): void;
|
|
1799
1797
|
Dispose(disposing: boolean): void;
|
|
1800
1798
|
get_Item(i: int): string;
|
|
1801
|
-
get_Item(name: string): string |
|
|
1802
|
-
get_Item(name: string, namespaceURI: string): string |
|
|
1803
|
-
GetAttribute(name: string): string |
|
|
1804
|
-
GetAttribute(name: string, namespaceURI: string): string |
|
|
1799
|
+
get_Item(name: string): string | null;
|
|
1800
|
+
get_Item(name: string, namespaceURI: string): string | null;
|
|
1801
|
+
GetAttribute(name: string): string | null;
|
|
1802
|
+
GetAttribute(name: string, namespaceURI: string | null): string | null;
|
|
1805
1803
|
GetAttribute(i: int): string;
|
|
1806
1804
|
GetValueAsync(): Task_1<System_Internal.String>;
|
|
1807
1805
|
IsStartElement(): boolean;
|
|
1808
1806
|
IsStartElement(name: string): boolean;
|
|
1809
1807
|
IsStartElement(localname: string, ns: string): boolean;
|
|
1810
|
-
LookupNamespace(prefix: string): string |
|
|
1808
|
+
LookupNamespace(prefix: string): string | null;
|
|
1811
1809
|
MoveToAttribute(name: string): boolean;
|
|
1812
|
-
MoveToAttribute(name: string, ns: string): boolean;
|
|
1810
|
+
MoveToAttribute(name: string, ns: string | null): boolean;
|
|
1813
1811
|
MoveToAttribute(i: int): void;
|
|
1814
1812
|
MoveToContent(): XmlNodeType;
|
|
1815
1813
|
MoveToContentAsync(): Task_1<XmlNodeType>;
|
|
@@ -1819,8 +1817,8 @@ export interface XmlReader$instance {
|
|
|
1819
1817
|
Read(): boolean;
|
|
1820
1818
|
ReadAsync(): Task_1<System_Internal.Boolean>;
|
|
1821
1819
|
ReadAttributeValue(): boolean;
|
|
1822
|
-
ReadContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver):
|
|
1823
|
-
ReadContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver): Task_1<
|
|
1820
|
+
ReadContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver | null): JsValue;
|
|
1821
|
+
ReadContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver | null): Task_1<JsValue>;
|
|
1824
1822
|
ReadContentAsBase64(buffer: byte[], index: int, count: int): int;
|
|
1825
1823
|
ReadContentAsBase64Async(buffer: byte[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1826
1824
|
ReadContentAsBinHex(buffer: byte[], index: int, count: int): int;
|
|
@@ -1833,13 +1831,13 @@ export interface XmlReader$instance {
|
|
|
1833
1831
|
ReadContentAsFloat(): float;
|
|
1834
1832
|
ReadContentAsInt(): int;
|
|
1835
1833
|
ReadContentAsLong(): long;
|
|
1836
|
-
ReadContentAsObject():
|
|
1837
|
-
ReadContentAsObjectAsync(): Task_1<
|
|
1834
|
+
ReadContentAsObject(): JsValue;
|
|
1835
|
+
ReadContentAsObjectAsync(): Task_1<JsValue>;
|
|
1838
1836
|
ReadContentAsString(): string;
|
|
1839
1837
|
ReadContentAsStringAsync(): Task_1<System_Internal.String>;
|
|
1840
|
-
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver):
|
|
1841
|
-
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver, localName: string, namespaceURI: string):
|
|
1842
|
-
ReadElementContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver): Task_1<
|
|
1838
|
+
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver): JsValue;
|
|
1839
|
+
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver, localName: string, namespaceURI: string): JsValue;
|
|
1840
|
+
ReadElementContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver): Task_1<JsValue>;
|
|
1843
1841
|
ReadElementContentAsBase64(buffer: byte[], index: int, count: int): int;
|
|
1844
1842
|
ReadElementContentAsBase64Async(buffer: byte[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1845
1843
|
ReadElementContentAsBinHex(buffer: byte[], index: int, count: int): int;
|
|
@@ -1858,9 +1856,9 @@ export interface XmlReader$instance {
|
|
|
1858
1856
|
ReadElementContentAsInt(localName: string, namespaceURI: string): int;
|
|
1859
1857
|
ReadElementContentAsLong(): long;
|
|
1860
1858
|
ReadElementContentAsLong(localName: string, namespaceURI: string): long;
|
|
1861
|
-
ReadElementContentAsObject():
|
|
1862
|
-
ReadElementContentAsObject(localName: string, namespaceURI: string):
|
|
1863
|
-
ReadElementContentAsObjectAsync(): Task_1<
|
|
1859
|
+
ReadElementContentAsObject(): JsValue;
|
|
1860
|
+
ReadElementContentAsObject(localName: string, namespaceURI: string): JsValue;
|
|
1861
|
+
ReadElementContentAsObjectAsync(): Task_1<JsValue>;
|
|
1864
1862
|
ReadElementContentAsString(): string;
|
|
1865
1863
|
ReadElementContentAsString(localName: string, namespaceURI: string): string;
|
|
1866
1864
|
ReadElementContentAsStringAsync(): Task_1<System_Internal.String>;
|
|
@@ -1892,18 +1890,18 @@ export interface XmlReader$instance {
|
|
|
1892
1890
|
|
|
1893
1891
|
|
|
1894
1892
|
export const XmlReader: (abstract new() => XmlReader) & {
|
|
1895
|
-
Create(input: Stream, settings: XmlReaderSettings, baseUri: string): XmlReader;
|
|
1896
|
-
Create(input: Stream, settings: XmlReaderSettings, inputContext: XmlParserContext): XmlReader;
|
|
1897
|
-
Create(input: Stream, settings: XmlReaderSettings): XmlReader;
|
|
1893
|
+
Create(input: Stream, settings: XmlReaderSettings | null, baseUri: string | null): XmlReader;
|
|
1894
|
+
Create(input: Stream, settings: XmlReaderSettings | null, inputContext: XmlParserContext | null): XmlReader;
|
|
1895
|
+
Create(input: Stream, settings: XmlReaderSettings | null): XmlReader;
|
|
1898
1896
|
Create(input: Stream): XmlReader;
|
|
1899
|
-
Create(input: TextReader, settings: XmlReaderSettings, baseUri: string): XmlReader;
|
|
1900
|
-
Create(input: TextReader, settings: XmlReaderSettings, inputContext: XmlParserContext): XmlReader;
|
|
1901
|
-
Create(input: TextReader, settings: XmlReaderSettings): XmlReader;
|
|
1897
|
+
Create(input: TextReader, settings: XmlReaderSettings | null, baseUri: string | null): XmlReader;
|
|
1898
|
+
Create(input: TextReader, settings: XmlReaderSettings | null, inputContext: XmlParserContext | null): XmlReader;
|
|
1899
|
+
Create(input: TextReader, settings: XmlReaderSettings | null): XmlReader;
|
|
1902
1900
|
Create(input: TextReader): XmlReader;
|
|
1903
|
-
Create(inputUri: string, settings: XmlReaderSettings, inputContext: XmlParserContext): XmlReader;
|
|
1904
|
-
Create(inputUri: string, settings: XmlReaderSettings): XmlReader;
|
|
1901
|
+
Create(inputUri: string, settings: XmlReaderSettings | null, inputContext: XmlParserContext | null): XmlReader;
|
|
1902
|
+
Create(inputUri: string, settings: XmlReaderSettings | null): XmlReader;
|
|
1905
1903
|
Create(inputUri: string): XmlReader;
|
|
1906
|
-
Create(reader: XmlReader, settings: XmlReaderSettings): XmlReader;
|
|
1904
|
+
Create(reader: XmlReader, settings: XmlReaderSettings | null): XmlReader;
|
|
1907
1905
|
IsName(str: string): boolean;
|
|
1908
1906
|
IsNameToken(str: string): boolean;
|
|
1909
1907
|
};
|
|
@@ -1931,13 +1929,13 @@ export interface XmlReaderSettings$instance {
|
|
|
1931
1929
|
LinePositionOffset: int;
|
|
1932
1930
|
MaxCharactersFromEntities: long;
|
|
1933
1931
|
MaxCharactersInDocument: long;
|
|
1934
|
-
get NameTable(): XmlNameTable |
|
|
1935
|
-
set NameTable(value: XmlNameTable |
|
|
1932
|
+
get NameTable(): XmlNameTable | null;
|
|
1933
|
+
set NameTable(value: XmlNameTable | null);
|
|
1936
1934
|
ProhibitDtd: boolean;
|
|
1937
1935
|
Schemas: XmlSchemaSet;
|
|
1938
1936
|
ValidationFlags: XmlSchemaValidationFlags;
|
|
1939
1937
|
ValidationType: ValidationType;
|
|
1940
|
-
XmlResolver: XmlResolver |
|
|
1938
|
+
XmlResolver: XmlResolver | null;
|
|
1941
1939
|
Clone(): XmlReaderSettings;
|
|
1942
1940
|
Reset(): void;
|
|
1943
1941
|
}
|
|
@@ -1954,10 +1952,10 @@ export interface XmlResolver$instance {
|
|
|
1954
1952
|
readonly __tsonic_type_System_Xml_XmlResolver: never;
|
|
1955
1953
|
|
|
1956
1954
|
Credentials: ICredentials;
|
|
1957
|
-
GetEntity(absoluteUri: Uri, role: string, ofObjectToReturn: Type):
|
|
1958
|
-
GetEntityAsync(absoluteUri: Uri, role: string, ofObjectToReturn: Type): Task_1<
|
|
1959
|
-
ResolveUri(baseUri: Uri, relativeUri: string): Uri;
|
|
1960
|
-
SupportsType(absoluteUri: Uri, type: Type): boolean;
|
|
1955
|
+
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): JsValue | null;
|
|
1956
|
+
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<JsValue>;
|
|
1957
|
+
ResolveUri(baseUri: Uri | null, relativeUri: string | null): Uri;
|
|
1958
|
+
SupportsType(absoluteUri: Uri, type: Type | null): boolean;
|
|
1961
1959
|
}
|
|
1962
1960
|
|
|
1963
1961
|
|
|
@@ -1973,14 +1971,14 @@ export interface XmlSecureResolver$instance extends XmlResolver {
|
|
|
1973
1971
|
readonly __tsonic_type_System_Xml_XmlSecureResolver: never;
|
|
1974
1972
|
|
|
1975
1973
|
Credentials: ICredentials;
|
|
1976
|
-
GetEntity(absoluteUri: Uri, role: string, ofObjectToReturn: Type):
|
|
1977
|
-
GetEntityAsync(absoluteUri: Uri, role: string, ofObjectToReturn: Type): Task_1<
|
|
1978
|
-
ResolveUri(baseUri: Uri, relativeUri: string): Uri;
|
|
1974
|
+
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): JsValue | null;
|
|
1975
|
+
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<JsValue>;
|
|
1976
|
+
ResolveUri(baseUri: Uri | null, relativeUri: string | null): Uri;
|
|
1979
1977
|
}
|
|
1980
1978
|
|
|
1981
1979
|
|
|
1982
1980
|
export const XmlSecureResolver: {
|
|
1983
|
-
new(resolver: XmlResolver, securityUrl: string): XmlSecureResolver;
|
|
1981
|
+
new(resolver: XmlResolver, securityUrl: string | null): XmlSecureResolver;
|
|
1984
1982
|
};
|
|
1985
1983
|
|
|
1986
1984
|
|
|
@@ -1996,17 +1994,17 @@ export interface XmlSignificantWhitespace$instance extends XmlCharacterData$inst
|
|
|
1996
1994
|
readonly LocalName: string;
|
|
1997
1995
|
readonly Name: string;
|
|
1998
1996
|
readonly NodeType: XmlNodeType;
|
|
1999
|
-
readonly ParentNode: XmlNode |
|
|
2000
|
-
readonly PreviousText: XmlNode |
|
|
2001
|
-
get Value(): string |
|
|
2002
|
-
set Value(value: string |
|
|
1997
|
+
readonly ParentNode: XmlNode | null;
|
|
1998
|
+
readonly PreviousText: XmlNode | null;
|
|
1999
|
+
get Value(): string | null;
|
|
2000
|
+
set Value(value: string | null);
|
|
2003
2001
|
CloneNode(deep: boolean): XmlNode;
|
|
2004
2002
|
WriteContentTo(w: XmlWriter): void;
|
|
2005
2003
|
WriteTo(w: XmlWriter): void;
|
|
2006
2004
|
}
|
|
2007
2005
|
|
|
2008
2006
|
|
|
2009
|
-
export const XmlSignificantWhitespace: (abstract new(strData: string, doc: XmlDocument) => XmlSignificantWhitespace) & {
|
|
2007
|
+
export const XmlSignificantWhitespace: (abstract new(strData: string | null, doc: XmlDocument) => XmlSignificantWhitespace) & {
|
|
2010
2008
|
};
|
|
2011
2009
|
|
|
2012
2010
|
|
|
@@ -2029,10 +2027,10 @@ export interface XmlText$instance extends XmlCharacterData$instance, System_Xml_
|
|
|
2029
2027
|
readonly LocalName: string;
|
|
2030
2028
|
readonly Name: string;
|
|
2031
2029
|
readonly NodeType: XmlNodeType;
|
|
2032
|
-
readonly ParentNode: XmlNode |
|
|
2033
|
-
readonly PreviousText: XmlNode |
|
|
2034
|
-
get Value(): string |
|
|
2035
|
-
set Value(value: string |
|
|
2030
|
+
readonly ParentNode: XmlNode | null;
|
|
2031
|
+
readonly PreviousText: XmlNode | null;
|
|
2032
|
+
get Value(): string | null;
|
|
2033
|
+
set Value(value: string | null);
|
|
2036
2034
|
CloneNode(deep: boolean): XmlNode;
|
|
2037
2035
|
SplitText(offset: int): XmlText;
|
|
2038
2036
|
WriteContentTo(w: XmlWriter): void;
|
|
@@ -2040,7 +2038,7 @@ export interface XmlText$instance extends XmlCharacterData$instance, System_Xml_
|
|
|
2040
2038
|
}
|
|
2041
2039
|
|
|
2042
2040
|
|
|
2043
|
-
export const XmlText: (abstract new(strData: string, doc: XmlDocument) => XmlText) & {
|
|
2041
|
+
export const XmlText: (abstract new(strData: string | null, doc: XmlDocument) => XmlText) & {
|
|
2044
2042
|
};
|
|
2045
2043
|
|
|
2046
2044
|
|
|
@@ -2067,7 +2065,7 @@ export interface XmlTextReader$instance extends XmlReader$instance, IXmlLineInfo
|
|
|
2067
2065
|
readonly CanResolveEntity: boolean;
|
|
2068
2066
|
readonly Depth: int;
|
|
2069
2067
|
DtdProcessing: DtdProcessing;
|
|
2070
|
-
readonly Encoding: Encoding |
|
|
2068
|
+
readonly Encoding: Encoding | null;
|
|
2071
2069
|
EntityHandling: EntityHandling;
|
|
2072
2070
|
readonly EOF: boolean;
|
|
2073
2071
|
readonly HasValue: boolean;
|
|
@@ -2089,18 +2087,18 @@ export interface XmlTextReader$instance extends XmlReader$instance, IXmlLineInfo
|
|
|
2089
2087
|
readonly Value: string;
|
|
2090
2088
|
WhitespaceHandling: WhitespaceHandling;
|
|
2091
2089
|
readonly XmlLang: string;
|
|
2092
|
-
XmlResolver: XmlResolver |
|
|
2090
|
+
XmlResolver: XmlResolver | null;
|
|
2093
2091
|
readonly XmlSpace: XmlSpace;
|
|
2094
2092
|
Close(): void;
|
|
2095
|
-
GetAttribute(name: string): string |
|
|
2096
|
-
GetAttribute(localName: string, namespaceURI: string): string |
|
|
2093
|
+
GetAttribute(name: string): string | null;
|
|
2094
|
+
GetAttribute(localName: string, namespaceURI: string | null): string | null;
|
|
2097
2095
|
GetAttribute(i: int): string;
|
|
2098
2096
|
GetNamespacesInScope(scope: XmlNamespaceScope): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
2099
2097
|
GetRemainder(): TextReader;
|
|
2100
2098
|
HasLineInfo(): boolean;
|
|
2101
|
-
LookupNamespace(prefix: string): string |
|
|
2099
|
+
LookupNamespace(prefix: string): string | null;
|
|
2102
2100
|
MoveToAttribute(name: string): boolean;
|
|
2103
|
-
MoveToAttribute(localName: string, namespaceURI: string): boolean;
|
|
2101
|
+
MoveToAttribute(localName: string, namespaceURI: string | null): boolean;
|
|
2104
2102
|
MoveToAttribute(i: int): void;
|
|
2105
2103
|
MoveToElement(): boolean;
|
|
2106
2104
|
MoveToFirstAttribute(): boolean;
|
|
@@ -2130,8 +2128,8 @@ export const XmlTextReader: {
|
|
|
2130
2128
|
new(url: string, input: TextReader): XmlTextReader;
|
|
2131
2129
|
new(input: TextReader, nt: XmlNameTable): XmlTextReader;
|
|
2132
2130
|
new(url: string, input: TextReader, nt: XmlNameTable): XmlTextReader;
|
|
2133
|
-
new(xmlFragment: Stream, fragType: XmlNodeType, context: XmlParserContext): XmlTextReader;
|
|
2134
|
-
new(xmlFragment: string, fragType: XmlNodeType, context: XmlParserContext): XmlTextReader;
|
|
2131
|
+
new(xmlFragment: Stream, fragType: XmlNodeType, context: XmlParserContext | null): XmlTextReader;
|
|
2132
|
+
new(xmlFragment: string, fragType: XmlNodeType, context: XmlParserContext | null): XmlTextReader;
|
|
2135
2133
|
new(url: string): XmlTextReader;
|
|
2136
2134
|
new(url: string, nt: XmlNameTable): XmlTextReader;
|
|
2137
2135
|
};
|
|
@@ -2152,25 +2150,25 @@ export interface XmlTextWriter$instance extends XmlWriter$instance, System_Inter
|
|
|
2152
2150
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
2153
2151
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
2154
2152
|
|
|
2155
|
-
readonly BaseStream: Stream |
|
|
2153
|
+
readonly BaseStream: Stream | null;
|
|
2156
2154
|
Formatting: Formatting;
|
|
2157
2155
|
Indentation: int;
|
|
2158
2156
|
IndentChar: char;
|
|
2159
2157
|
Namespaces: boolean;
|
|
2160
2158
|
QuoteChar: char;
|
|
2161
2159
|
readonly WriteState: WriteState;
|
|
2162
|
-
readonly XmlLang: string |
|
|
2160
|
+
readonly XmlLang: string | null;
|
|
2163
2161
|
readonly XmlSpace: XmlSpace;
|
|
2164
2162
|
Close(): void;
|
|
2165
2163
|
Flush(): void;
|
|
2166
|
-
LookupPrefix(ns: string): string |
|
|
2164
|
+
LookupPrefix(ns: string): string | null;
|
|
2167
2165
|
WriteBase64(buffer: byte[], index: int, count: int): void;
|
|
2168
2166
|
WriteBinHex(buffer: byte[], index: int, count: int): void;
|
|
2169
|
-
WriteCData(text: string): void;
|
|
2167
|
+
WriteCData(text: string | null): void;
|
|
2170
2168
|
WriteCharEntity(ch: char): void;
|
|
2171
2169
|
WriteChars(buffer: char[], index: int, count: int): void;
|
|
2172
|
-
WriteComment(text: string): void;
|
|
2173
|
-
WriteDocType(name: string, pubid: string, sysid: string, subset: string): void;
|
|
2170
|
+
WriteComment(text: string | null): void;
|
|
2171
|
+
WriteDocType(name: string, pubid: string | null, sysid: string | null, subset: string | null): void;
|
|
2174
2172
|
WriteEndAttribute(): void;
|
|
2175
2173
|
WriteEndDocument(): void;
|
|
2176
2174
|
WriteEndElement(): void;
|
|
@@ -2178,27 +2176,27 @@ export interface XmlTextWriter$instance extends XmlWriter$instance, System_Inter
|
|
|
2178
2176
|
WriteFullEndElement(): void;
|
|
2179
2177
|
WriteName(name: string): void;
|
|
2180
2178
|
WriteNmToken(name: string): void;
|
|
2181
|
-
WriteProcessingInstruction(name: string, text: string): void;
|
|
2182
|
-
WriteQualifiedName(localName: string, ns: string): void;
|
|
2179
|
+
WriteProcessingInstruction(name: string, text: string | null): void;
|
|
2180
|
+
WriteQualifiedName(localName: string, ns: string | null): void;
|
|
2183
2181
|
WriteRaw(buffer: char[], index: int, count: int): void;
|
|
2184
2182
|
WriteRaw(data: string): void;
|
|
2185
|
-
WriteStartAttribute(prefix: string, localName: string, ns: string): void;
|
|
2186
|
-
WriteStartAttribute(localName: string, ns: string): void;
|
|
2183
|
+
WriteStartAttribute(prefix: string | null, localName: string, ns: string | null): void;
|
|
2184
|
+
WriteStartAttribute(localName: string, ns: string | null): void;
|
|
2187
2185
|
WriteStartAttribute(localName: string): void;
|
|
2188
2186
|
WriteStartDocument(): void;
|
|
2189
2187
|
WriteStartDocument(standalone: boolean): void;
|
|
2190
|
-
WriteStartElement(prefix: string, localName: string, ns: string): void;
|
|
2191
|
-
WriteStartElement(localName: string, ns: string): void;
|
|
2188
|
+
WriteStartElement(prefix: string | null, localName: string, ns: string | null): void;
|
|
2189
|
+
WriteStartElement(localName: string, ns: string | null): void;
|
|
2192
2190
|
WriteStartElement(localName: string): void;
|
|
2193
|
-
WriteString(text: string): void;
|
|
2191
|
+
WriteString(text: string | null): void;
|
|
2194
2192
|
WriteSurrogateCharEntity(lowChar: char, highChar: char): void;
|
|
2195
|
-
WriteWhitespace(ws: string): void;
|
|
2193
|
+
WriteWhitespace(ws: string | null): void;
|
|
2196
2194
|
}
|
|
2197
2195
|
|
|
2198
2196
|
|
|
2199
2197
|
export const XmlTextWriter: {
|
|
2200
|
-
new(w: Stream, encoding: Encoding): XmlTextWriter;
|
|
2201
|
-
new(filename: string, encoding: Encoding): XmlTextWriter;
|
|
2198
|
+
new(w: Stream, encoding: Encoding | null): XmlTextWriter;
|
|
2199
|
+
new(filename: string, encoding: Encoding | null): XmlTextWriter;
|
|
2202
2200
|
new(w: TextWriter): XmlTextWriter;
|
|
2203
2201
|
};
|
|
2204
2202
|
|
|
@@ -2216,10 +2214,10 @@ export interface XmlUrlResolver$instance extends XmlResolver {
|
|
|
2216
2214
|
|
|
2217
2215
|
CachePolicy: RequestCachePolicy;
|
|
2218
2216
|
Credentials: ICredentials;
|
|
2219
|
-
Proxy: IWebProxy |
|
|
2220
|
-
GetEntity(absoluteUri: Uri, role: string, ofObjectToReturn: Type):
|
|
2221
|
-
GetEntityAsync(absoluteUri: Uri, role: string, ofObjectToReturn: Type): Task_1<
|
|
2222
|
-
ResolveUri(baseUri: Uri, relativeUri: string): Uri;
|
|
2217
|
+
Proxy: IWebProxy | null;
|
|
2218
|
+
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): JsValue | null;
|
|
2219
|
+
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<JsValue>;
|
|
2220
|
+
ResolveUri(baseUri: Uri | null, relativeUri: string | null): Uri;
|
|
2223
2221
|
}
|
|
2224
2222
|
|
|
2225
2223
|
|
|
@@ -2242,7 +2240,7 @@ export interface XmlValidatingReader$instance extends XmlReader$instance, IXmlLi
|
|
|
2242
2240
|
readonly CanReadBinaryContent: boolean;
|
|
2243
2241
|
readonly CanResolveEntity: boolean;
|
|
2244
2242
|
readonly Depth: int;
|
|
2245
|
-
readonly Encoding: Encoding |
|
|
2243
|
+
readonly Encoding: Encoding | null;
|
|
2246
2244
|
EntityHandling: EntityHandling;
|
|
2247
2245
|
readonly EOF: boolean;
|
|
2248
2246
|
readonly HasValue: boolean;
|
|
@@ -2261,20 +2259,20 @@ export interface XmlValidatingReader$instance extends XmlReader$instance, IXmlLi
|
|
|
2261
2259
|
readonly Reader: XmlReader;
|
|
2262
2260
|
readonly ReadState: ReadState;
|
|
2263
2261
|
readonly Schemas: XmlSchemaCollection;
|
|
2264
|
-
readonly SchemaType:
|
|
2262
|
+
readonly SchemaType: JsValue | null;
|
|
2265
2263
|
ValidationType: ValidationType;
|
|
2266
2264
|
readonly Value: string;
|
|
2267
2265
|
readonly XmlLang: string;
|
|
2268
2266
|
XmlResolver: XmlResolver;
|
|
2269
2267
|
readonly XmlSpace: XmlSpace;
|
|
2270
2268
|
Close(): void;
|
|
2271
|
-
GetAttribute(name: string): string |
|
|
2272
|
-
GetAttribute(localName: string, namespaceURI: string): string |
|
|
2269
|
+
GetAttribute(name: string): string | null;
|
|
2270
|
+
GetAttribute(localName: string, namespaceURI: string | null): string | null;
|
|
2273
2271
|
GetAttribute(i: int): string;
|
|
2274
2272
|
HasLineInfo(): boolean;
|
|
2275
|
-
LookupNamespace(prefix: string): string |
|
|
2273
|
+
LookupNamespace(prefix: string): string | null;
|
|
2276
2274
|
MoveToAttribute(name: string): boolean;
|
|
2277
|
-
MoveToAttribute(localName: string, namespaceURI: string): boolean;
|
|
2275
|
+
MoveToAttribute(localName: string, namespaceURI: string | null): boolean;
|
|
2278
2276
|
MoveToAttribute(i: int): void;
|
|
2279
2277
|
MoveToElement(): boolean;
|
|
2280
2278
|
MoveToFirstAttribute(): boolean;
|
|
@@ -2286,7 +2284,7 @@ export interface XmlValidatingReader$instance extends XmlReader$instance, IXmlLi
|
|
|
2286
2284
|
ReadElementContentAsBase64(buffer: byte[], index: int, count: int): int;
|
|
2287
2285
|
ReadElementContentAsBinHex(buffer: byte[], index: int, count: int): int;
|
|
2288
2286
|
ReadString(): string;
|
|
2289
|
-
ReadTypedValue():
|
|
2287
|
+
ReadTypedValue(): JsValue | null;
|
|
2290
2288
|
ResolveEntity(): void;
|
|
2291
2289
|
}
|
|
2292
2290
|
|
|
@@ -2317,17 +2315,17 @@ export interface XmlWhitespace$instance extends XmlCharacterData$instance, Syste
|
|
|
2317
2315
|
readonly LocalName: string;
|
|
2318
2316
|
readonly Name: string;
|
|
2319
2317
|
readonly NodeType: XmlNodeType;
|
|
2320
|
-
readonly ParentNode: XmlNode |
|
|
2321
|
-
readonly PreviousText: XmlNode |
|
|
2322
|
-
get Value(): string |
|
|
2323
|
-
set Value(value: string |
|
|
2318
|
+
readonly ParentNode: XmlNode | null;
|
|
2319
|
+
readonly PreviousText: XmlNode | null;
|
|
2320
|
+
get Value(): string | null;
|
|
2321
|
+
set Value(value: string | null);
|
|
2324
2322
|
CloneNode(deep: boolean): XmlNode;
|
|
2325
2323
|
WriteContentTo(w: XmlWriter): void;
|
|
2326
2324
|
WriteTo(w: XmlWriter): void;
|
|
2327
2325
|
}
|
|
2328
2326
|
|
|
2329
2327
|
|
|
2330
|
-
export const XmlWhitespace: (abstract new(strData: string, doc: XmlDocument) => XmlWhitespace) & {
|
|
2328
|
+
export const XmlWhitespace: (abstract new(strData: string | null, doc: XmlDocument) => XmlWhitespace) & {
|
|
2331
2329
|
};
|
|
2332
2330
|
|
|
2333
2331
|
|
|
@@ -2346,9 +2344,9 @@ export interface XmlWriter$instance extends System_Internal.IAsyncDisposable$ins
|
|
|
2346
2344
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
2347
2345
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
2348
2346
|
|
|
2349
|
-
readonly Settings: XmlWriterSettings |
|
|
2347
|
+
readonly Settings: XmlWriterSettings | null;
|
|
2350
2348
|
readonly WriteState: WriteState;
|
|
2351
|
-
readonly XmlLang: string | string |
|
|
2349
|
+
readonly XmlLang: string | string | null;
|
|
2352
2350
|
readonly XmlSpace: XmlSpace;
|
|
2353
2351
|
Close(): void;
|
|
2354
2352
|
Dispose(): void;
|
|
@@ -2357,31 +2355,31 @@ export interface XmlWriter$instance extends System_Internal.IAsyncDisposable$ins
|
|
|
2357
2355
|
DisposeAsyncCore(): ValueTask;
|
|
2358
2356
|
Flush(): void;
|
|
2359
2357
|
FlushAsync(): Task;
|
|
2360
|
-
LookupPrefix(ns: string): string |
|
|
2358
|
+
LookupPrefix(ns: string): string | null;
|
|
2361
2359
|
WriteAttributes(reader: XmlReader, defattr: boolean): void;
|
|
2362
2360
|
WriteAttributesAsync(reader: XmlReader, defattr: boolean): Task;
|
|
2363
|
-
WriteAttributeString(localName: string, ns: string, value: string): void;
|
|
2364
|
-
WriteAttributeString(localName: string, value: string): void;
|
|
2365
|
-
WriteAttributeString(prefix: string, localName: string, ns: string, value: string): void;
|
|
2366
|
-
WriteAttributeStringAsync(prefix: string, localName: string, ns: string, value: string): Task;
|
|
2361
|
+
WriteAttributeString(localName: string, ns: string | null, value: string | null): void;
|
|
2362
|
+
WriteAttributeString(localName: string, value: string | null): void;
|
|
2363
|
+
WriteAttributeString(prefix: string | null, localName: string, ns: string | null, value: string | null): void;
|
|
2364
|
+
WriteAttributeStringAsync(prefix: string | null, localName: string, ns: string | null, value: string | null): Task;
|
|
2367
2365
|
WriteBase64(buffer: byte[], index: int, count: int): void;
|
|
2368
2366
|
WriteBase64Async(buffer: byte[], index: int, count: int): Task;
|
|
2369
2367
|
WriteBinHex(buffer: byte[], index: int, count: int): void;
|
|
2370
2368
|
WriteBinHexAsync(buffer: byte[], index: int, count: int): Task;
|
|
2371
|
-
WriteCData(text: string): void;
|
|
2372
|
-
WriteCDataAsync(text: string): Task;
|
|
2369
|
+
WriteCData(text: string | null): void;
|
|
2370
|
+
WriteCDataAsync(text: string | null): Task;
|
|
2373
2371
|
WriteCharEntity(ch: char): void;
|
|
2374
2372
|
WriteCharEntityAsync(ch: char): Task;
|
|
2375
2373
|
WriteChars(buffer: char[], index: int, count: int): void;
|
|
2376
2374
|
WriteCharsAsync(buffer: char[], index: int, count: int): Task;
|
|
2377
|
-
WriteComment(text: string): void;
|
|
2378
|
-
WriteCommentAsync(text: string): Task;
|
|
2379
|
-
WriteDocType(name: string, pubid: string, sysid: string, subset: string): void;
|
|
2380
|
-
WriteDocTypeAsync(name: string, pubid: string, sysid: string, subset: string): Task;
|
|
2381
|
-
WriteElementString(localName: string, value: string): void;
|
|
2382
|
-
WriteElementString(localName: string, ns: string, value: string): void;
|
|
2383
|
-
WriteElementString(prefix: string, localName: string, ns: string, value: string): void;
|
|
2384
|
-
WriteElementStringAsync(prefix: string, localName: string, ns: string, value: string): Task;
|
|
2375
|
+
WriteComment(text: string | null): void;
|
|
2376
|
+
WriteCommentAsync(text: string | null): Task;
|
|
2377
|
+
WriteDocType(name: string, pubid: string | null, sysid: string | null, subset: string | null): void;
|
|
2378
|
+
WriteDocTypeAsync(name: string, pubid: string | null, sysid: string | null, subset: string | null): Task;
|
|
2379
|
+
WriteElementString(localName: string, value: string | null): void;
|
|
2380
|
+
WriteElementString(localName: string, ns: string | null, value: string | null): void;
|
|
2381
|
+
WriteElementString(prefix: string | null, localName: string, ns: string | null, value: string | null): void;
|
|
2382
|
+
WriteElementStringAsync(prefix: string | null, localName: string, ns: string | null, value: string): Task;
|
|
2385
2383
|
WriteEndAttribute(): void;
|
|
2386
2384
|
WriteEndAttributeAsync(): Task;
|
|
2387
2385
|
WriteEndDocument(): void;
|
|
@@ -2400,32 +2398,32 @@ export interface XmlWriter$instance extends System_Internal.IAsyncDisposable$ins
|
|
|
2400
2398
|
WriteNode(navigator: XPathNavigator, defattr: boolean): void;
|
|
2401
2399
|
WriteNodeAsync(reader: XmlReader, defattr: boolean): Task;
|
|
2402
2400
|
WriteNodeAsync(navigator: XPathNavigator, defattr: boolean): Task;
|
|
2403
|
-
WriteProcessingInstruction(name: string, text: string): void;
|
|
2404
|
-
WriteProcessingInstructionAsync(name: string, text: string): Task;
|
|
2405
|
-
WriteQualifiedName(localName: string, ns: string): void;
|
|
2406
|
-
WriteQualifiedNameAsync(localName: string, ns: string): Task;
|
|
2401
|
+
WriteProcessingInstruction(name: string, text: string | null): void;
|
|
2402
|
+
WriteProcessingInstructionAsync(name: string, text: string | null): Task;
|
|
2403
|
+
WriteQualifiedName(localName: string, ns: string | null): void;
|
|
2404
|
+
WriteQualifiedNameAsync(localName: string, ns: string | null): Task;
|
|
2407
2405
|
WriteRaw(buffer: char[], index: int, count: int): void;
|
|
2408
2406
|
WriteRaw(data: string): void;
|
|
2409
2407
|
WriteRawAsync(buffer: char[], index: int, count: int): Task;
|
|
2410
2408
|
WriteRawAsync(data: string): Task;
|
|
2411
|
-
WriteStartAttribute(localName: string, ns: string): void;
|
|
2412
|
-
WriteStartAttribute(prefix: string, localName: string, ns: string): void;
|
|
2409
|
+
WriteStartAttribute(localName: string, ns: string | null): void;
|
|
2410
|
+
WriteStartAttribute(prefix: string | null, localName: string, ns: string | null): void;
|
|
2413
2411
|
WriteStartAttribute(localName: string): void;
|
|
2414
|
-
WriteStartAttributeAsync(prefix: string, localName: string, ns: string): Task;
|
|
2412
|
+
WriteStartAttributeAsync(prefix: string | null, localName: string, ns: string | null): Task;
|
|
2415
2413
|
WriteStartDocument(): void;
|
|
2416
2414
|
WriteStartDocument(standalone: boolean): void;
|
|
2417
2415
|
WriteStartDocumentAsync(): Task;
|
|
2418
2416
|
WriteStartDocumentAsync(standalone: boolean): Task;
|
|
2419
|
-
WriteStartElement(localName: string, ns: string): void;
|
|
2420
|
-
WriteStartElement(prefix: string, localName: string, ns: string): void;
|
|
2417
|
+
WriteStartElement(localName: string, ns: string | null): void;
|
|
2418
|
+
WriteStartElement(prefix: string | null, localName: string, ns: string | null): void;
|
|
2421
2419
|
WriteStartElement(localName: string): void;
|
|
2422
|
-
WriteStartElementAsync(prefix: string, localName: string, ns: string): Task;
|
|
2423
|
-
WriteString(text: string): void;
|
|
2424
|
-
WriteStringAsync(text: string): Task;
|
|
2420
|
+
WriteStartElementAsync(prefix: string | null, localName: string, ns: string | null): Task;
|
|
2421
|
+
WriteString(text: string | null): void;
|
|
2422
|
+
WriteStringAsync(text: string | null): Task;
|
|
2425
2423
|
WriteSurrogateCharEntity(lowChar: char, highChar: char): void;
|
|
2426
2424
|
WriteSurrogateCharEntityAsync(lowChar: char, highChar: char): Task;
|
|
2427
|
-
WriteValue(value:
|
|
2428
|
-
WriteValue(value: string): void;
|
|
2425
|
+
WriteValue(value: JsValue): void;
|
|
2426
|
+
WriteValue(value: string | null): void;
|
|
2429
2427
|
WriteValue(value: boolean): void;
|
|
2430
2428
|
WriteValue(value: DateTime): void;
|
|
2431
2429
|
WriteValue(value: DateTimeOffset): void;
|
|
@@ -2434,21 +2432,21 @@ export interface XmlWriter$instance extends System_Internal.IAsyncDisposable$ins
|
|
|
2434
2432
|
WriteValue(value: decimal): void;
|
|
2435
2433
|
WriteValue(value: int): void;
|
|
2436
2434
|
WriteValue(value: long): void;
|
|
2437
|
-
WriteWhitespace(ws: string): void;
|
|
2438
|
-
WriteWhitespaceAsync(ws: string): Task;
|
|
2435
|
+
WriteWhitespace(ws: string | null): void;
|
|
2436
|
+
WriteWhitespaceAsync(ws: string | null): Task;
|
|
2439
2437
|
}
|
|
2440
2438
|
|
|
2441
2439
|
|
|
2442
2440
|
export const XmlWriter: (abstract new() => XmlWriter) & {
|
|
2443
|
-
Create(output: Stream, settings: XmlWriterSettings): XmlWriter;
|
|
2441
|
+
Create(output: Stream, settings: XmlWriterSettings | null): XmlWriter;
|
|
2444
2442
|
Create(output: Stream): XmlWriter;
|
|
2445
|
-
Create(output: TextWriter, settings: XmlWriterSettings): XmlWriter;
|
|
2443
|
+
Create(output: TextWriter, settings: XmlWriterSettings | null): XmlWriter;
|
|
2446
2444
|
Create(output: TextWriter): XmlWriter;
|
|
2447
|
-
Create(outputFileName: string, settings: XmlWriterSettings): XmlWriter;
|
|
2445
|
+
Create(outputFileName: string, settings: XmlWriterSettings | null): XmlWriter;
|
|
2448
2446
|
Create(outputFileName: string): XmlWriter;
|
|
2449
|
-
Create(output: StringBuilder, settings: XmlWriterSettings): XmlWriter;
|
|
2447
|
+
Create(output: StringBuilder, settings: XmlWriterSettings | null): XmlWriter;
|
|
2450
2448
|
Create(output: StringBuilder): XmlWriter;
|
|
2451
|
-
Create(output: XmlWriter, settings: XmlWriterSettings): XmlWriter;
|
|
2449
|
+
Create(output: XmlWriter, settings: XmlWriterSettings | null): XmlWriter;
|
|
2452
2450
|
Create(output: XmlWriter): XmlWriter;
|
|
2453
2451
|
};
|
|
2454
2452
|
|