@tsonic/microsoft-extensions 10.0.3 → 10.0.7
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/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +27 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +29 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +54 -31
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +141 -70
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +17 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +25 -8
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +24 -7
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +16 -9
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +29 -10
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +171 -114
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +51 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +65 -38
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +16 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +15 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +36 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +30 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +47 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +84 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +22 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +18 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +21 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +9 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +48 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +108 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +41 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +10 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +34 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +8 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +14 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +9 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +33 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +257 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +68 -22
- package/Microsoft.Extensions.Primitives.d.ts +3 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +41 -21
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -3
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +10 -4
- package/System.Diagnostics/internal/index.d.ts +37 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +146 -70
- package/System.Net.Http/internal/index.d.ts +7 -3
- package/System.Security.Cryptography/internal/index.d.ts +16 -5
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +162 -69
- package/System.Security.Cryptography.Xml/internal/index.d.ts +115 -16
- package/__internal/extensions/index.d.ts +633 -487
- package/package.json +3 -3
|
@@ -8,12 +8,16 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Microsoft_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
10
10
|
import type { IFileInfo } from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
11
|
-
import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import type {
|
|
11
|
+
import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
12
|
+
import type { Assembly } from "@tsonic/dotnet/System.Reflection/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, DateTimeOffset, Int64, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
|
+
|
|
16
|
+
export interface EmbeddedResourceFileInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {
|
|
17
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Embedded_EmbeddedResourceFileInfo: never;
|
|
18
|
+
|
|
19
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileInfo: never;
|
|
15
20
|
|
|
16
|
-
export interface EmbeddedResourceFileInfo$instance {
|
|
17
21
|
readonly Exists: boolean;
|
|
18
22
|
readonly IsDirectory: boolean;
|
|
19
23
|
readonly LastModified: DateTimeOffset;
|
|
@@ -33,8 +37,6 @@ export interface __EmbeddedResourceFileInfo$views {
|
|
|
33
37
|
As_IFileInfo(): Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
|
-
export interface EmbeddedResourceFileInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {}
|
|
37
|
-
|
|
38
40
|
export type EmbeddedResourceFileInfo = EmbeddedResourceFileInfo$instance & __EmbeddedResourceFileInfo$views;
|
|
39
41
|
|
|
40
42
|
|
|
@@ -9,16 +9,22 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { ExclusionFilters } from "../../Microsoft.Extensions.FileProviders.Physical/internal/index.js";
|
|
10
10
|
import * as Microsoft_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
11
11
|
import type { IDirectoryContents, IFileInfo } from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
12
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
13
|
-
import type {
|
|
14
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
15
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
16
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
17
|
-
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
18
|
-
|
|
19
|
-
export interface PhysicalDirectoryContents$instance {
|
|
12
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import type { IEnumerable_1, IEnumerator_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
15
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
16
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
|
|
19
|
+
export interface PhysicalDirectoryContents$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance {
|
|
20
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Internal_PhysicalDirectoryContents: never;
|
|
21
|
+
|
|
22
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IDirectoryContents: never;
|
|
23
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
24
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
25
|
+
|
|
20
26
|
readonly Exists: boolean;
|
|
21
|
-
GetEnumerator():
|
|
27
|
+
GetEnumerator(): IEnumerator_1<IFileInfo>;
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
|
|
@@ -32,8 +38,6 @@ export interface __PhysicalDirectoryContents$views {
|
|
|
32
38
|
As_IDirectoryContents(): Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
export interface PhysicalDirectoryContents$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance {}
|
|
36
|
-
|
|
37
41
|
export type PhysicalDirectoryContents = PhysicalDirectoryContents$instance & __PhysicalDirectoryContents$views;
|
|
38
42
|
|
|
39
43
|
|
|
@@ -10,13 +10,13 @@ import * as Microsoft_Extensions_FileProviders_Internal from "../../Microsoft.Ex
|
|
|
10
10
|
import type { IDirectoryContents, IFileInfo } from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
11
11
|
import * as Microsoft_Extensions_Primitives_Internal from "../../Microsoft.Extensions.Primitives/internal/index.js";
|
|
12
12
|
import type { IChangeToken } from "../../Microsoft.Extensions.Primitives/internal/index.js";
|
|
13
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
14
|
-
import type {
|
|
15
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
16
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
17
|
-
import type { DirectoryInfo, FileInfo, FileSystemWatcher, Stream } from "@tsonic/dotnet/System.IO.js";
|
|
18
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
19
|
-
import type {
|
|
13
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import type { IEnumerable_1, IEnumerator_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
16
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
17
|
+
import type { DirectoryInfo, FileInfo, FileSystemWatcher, Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
18
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { Action_1, Boolean as ClrBoolean, DateTime, DateTimeOffset, Enum, IComparable, IConvertible, IDisposable, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
20
20
|
|
|
21
21
|
export enum ExclusionFilters {
|
|
22
22
|
Sensitive = 7,
|
|
@@ -27,7 +27,14 @@ export enum ExclusionFilters {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
export interface PhysicalDirectoryInfo$instance {
|
|
30
|
+
export interface PhysicalDirectoryInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance, Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {
|
|
31
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PhysicalDirectoryInfo: never;
|
|
32
|
+
|
|
33
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IDirectoryContents: never;
|
|
34
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileInfo: never;
|
|
35
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
36
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
37
|
+
|
|
31
38
|
readonly Exists: boolean;
|
|
32
39
|
readonly IsDirectory: boolean;
|
|
33
40
|
readonly LastModified: DateTimeOffset;
|
|
@@ -35,7 +42,7 @@ export interface PhysicalDirectoryInfo$instance {
|
|
|
35
42
|
readonly Name: string;
|
|
36
43
|
readonly PhysicalPath: string;
|
|
37
44
|
CreateReadStream(): Stream;
|
|
38
|
-
GetEnumerator():
|
|
45
|
+
GetEnumerator(): IEnumerator_1<IFileInfo>;
|
|
39
46
|
}
|
|
40
47
|
|
|
41
48
|
|
|
@@ -49,12 +56,14 @@ export interface __PhysicalDirectoryInfo$views {
|
|
|
49
56
|
As_IFileInfo(): Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance;
|
|
50
57
|
}
|
|
51
58
|
|
|
52
|
-
export interface PhysicalDirectoryInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance, Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {}
|
|
53
|
-
|
|
54
59
|
export type PhysicalDirectoryInfo = PhysicalDirectoryInfo$instance & __PhysicalDirectoryInfo$views;
|
|
55
60
|
|
|
56
61
|
|
|
57
|
-
export interface PhysicalFileInfo$instance {
|
|
62
|
+
export interface PhysicalFileInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {
|
|
63
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PhysicalFileInfo: never;
|
|
64
|
+
|
|
65
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileInfo: never;
|
|
66
|
+
|
|
58
67
|
readonly Exists: boolean;
|
|
59
68
|
readonly IsDirectory: boolean;
|
|
60
69
|
readonly LastModified: DateTimeOffset;
|
|
@@ -74,12 +83,14 @@ export interface __PhysicalFileInfo$views {
|
|
|
74
83
|
As_IFileInfo(): Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance;
|
|
75
84
|
}
|
|
76
85
|
|
|
77
|
-
export interface PhysicalFileInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {}
|
|
78
|
-
|
|
79
86
|
export type PhysicalFileInfo = PhysicalFileInfo$instance & __PhysicalFileInfo$views;
|
|
80
87
|
|
|
81
88
|
|
|
82
89
|
export interface PhysicalFilesWatcher$instance {
|
|
90
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PhysicalFilesWatcher: never;
|
|
91
|
+
|
|
92
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
93
|
+
|
|
83
94
|
CreateFileChangeToken(filter: string): IChangeToken;
|
|
84
95
|
Dispose(): void;
|
|
85
96
|
Dispose(disposing: boolean): void;
|
|
@@ -95,9 +106,14 @@ export const PhysicalFilesWatcher: {
|
|
|
95
106
|
export type PhysicalFilesWatcher = PhysicalFilesWatcher$instance;
|
|
96
107
|
|
|
97
108
|
export interface PollingFileChangeToken$instance {
|
|
109
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PollingFileChangeToken: never;
|
|
110
|
+
|
|
111
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IPollingChangeToken: never;
|
|
112
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
113
|
+
|
|
98
114
|
ActiveChangeCallbacks: boolean;
|
|
99
115
|
readonly HasChanged: boolean;
|
|
100
|
-
RegisterChangeCallback(callback:
|
|
116
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
101
117
|
}
|
|
102
118
|
|
|
103
119
|
|
|
@@ -114,6 +130,11 @@ export type PollingFileChangeToken = PollingFileChangeToken$instance & __Polling
|
|
|
114
130
|
|
|
115
131
|
|
|
116
132
|
export interface PollingWildCardChangeToken$instance {
|
|
133
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PollingWildCardChangeToken: never;
|
|
134
|
+
|
|
135
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IPollingChangeToken: never;
|
|
136
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
137
|
+
|
|
117
138
|
ActiveChangeCallbacks: boolean;
|
|
118
139
|
readonly HasChanged: boolean;
|
|
119
140
|
GetLastWriteUtc(path: string): DateTime;
|
|
@@ -8,11 +8,15 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Microsoft_Extensions_FileSystemGlobbing_Abstractions_Internal from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
|
|
10
10
|
import type { DirectoryInfoBase, FileInfoBase, FileSystemInfoBase } from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
|
|
11
|
-
import type {
|
|
12
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type { Boolean as ClrBoolean,
|
|
11
|
+
import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, IEquatable_1, Int32, Object as ClrObject, String as ClrString, StringComparison, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface FilePatternMatch$instance {
|
|
16
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_FilePatternMatch: never;
|
|
17
|
+
|
|
18
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
19
|
+
|
|
16
20
|
readonly Path: string;
|
|
17
21
|
readonly Stem: string;
|
|
18
22
|
Equals(other: FilePatternMatch): boolean;
|
|
@@ -29,23 +33,27 @@ export const FilePatternMatch: {
|
|
|
29
33
|
export type FilePatternMatch = FilePatternMatch$instance;
|
|
30
34
|
|
|
31
35
|
export interface InMemoryDirectoryInfo$instance extends DirectoryInfoBase {
|
|
36
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_InMemoryDirectoryInfo: never;
|
|
37
|
+
|
|
32
38
|
readonly FullName: string;
|
|
33
39
|
readonly Name: string;
|
|
34
40
|
readonly ParentDirectory: DirectoryInfoBase | undefined;
|
|
35
|
-
EnumerateFileSystemInfos():
|
|
41
|
+
EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
|
|
36
42
|
GetDirectory(path: string): DirectoryInfoBase;
|
|
37
43
|
GetFile(path: string): FileInfoBase | undefined;
|
|
38
44
|
}
|
|
39
45
|
|
|
40
46
|
|
|
41
47
|
export const InMemoryDirectoryInfo: {
|
|
42
|
-
new(rootDir: string, files:
|
|
48
|
+
new(rootDir: string, files: IEnumerable_1<System_Internal.String>): InMemoryDirectoryInfo;
|
|
43
49
|
};
|
|
44
50
|
|
|
45
51
|
|
|
46
52
|
export type InMemoryDirectoryInfo = InMemoryDirectoryInfo$instance;
|
|
47
53
|
|
|
48
54
|
export interface Matcher$instance {
|
|
55
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Matcher: never;
|
|
56
|
+
|
|
49
57
|
AddExclude(pattern: string): Matcher;
|
|
50
58
|
AddInclude(pattern: string): Matcher;
|
|
51
59
|
Execute(directoryInfo: DirectoryInfoBase): PatternMatchingResult;
|
|
@@ -62,25 +70,27 @@ export const Matcher: {
|
|
|
62
70
|
export type Matcher = Matcher$instance;
|
|
63
71
|
|
|
64
72
|
export interface PatternMatchingResult$instance {
|
|
65
|
-
|
|
73
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_PatternMatchingResult: never;
|
|
74
|
+
|
|
75
|
+
Files: IEnumerable_1<FilePatternMatch>;
|
|
66
76
|
readonly HasMatches: boolean;
|
|
67
77
|
}
|
|
68
78
|
|
|
69
79
|
|
|
70
80
|
export const PatternMatchingResult: {
|
|
71
|
-
new(files:
|
|
72
|
-
new(files:
|
|
81
|
+
new(files: IEnumerable_1<FilePatternMatch>): PatternMatchingResult;
|
|
82
|
+
new(files: IEnumerable_1<FilePatternMatch>, hasMatches: boolean): PatternMatchingResult;
|
|
73
83
|
};
|
|
74
84
|
|
|
75
85
|
|
|
76
86
|
export type PatternMatchingResult = PatternMatchingResult$instance;
|
|
77
87
|
|
|
78
88
|
export abstract class MatcherExtensions$instance {
|
|
79
|
-
static AddExcludePatterns(matcher: Matcher, ...excludePatternsGroups:
|
|
80
|
-
static AddIncludePatterns(matcher: Matcher, ...includePatternsGroups:
|
|
81
|
-
static GetResultsInFullPath(matcher: Matcher, directoryPath: string):
|
|
82
|
-
static Match(matcher: Matcher, files:
|
|
83
|
-
static Match(matcher: Matcher, rootDir: string, files:
|
|
89
|
+
static AddExcludePatterns(matcher: Matcher, ...excludePatternsGroups: IEnumerable_1<System_Internal.String>[]): void;
|
|
90
|
+
static AddIncludePatterns(matcher: Matcher, ...includePatternsGroups: IEnumerable_1<System_Internal.String>[]): void;
|
|
91
|
+
static GetResultsInFullPath(matcher: Matcher, directoryPath: string): IEnumerable_1<System_Internal.String>;
|
|
92
|
+
static Match(matcher: Matcher, files: IEnumerable_1<System_Internal.String>): PatternMatchingResult;
|
|
93
|
+
static Match(matcher: Matcher, rootDir: string, files: IEnumerable_1<System_Internal.String>): PatternMatchingResult;
|
|
84
94
|
static Match(matcher: Matcher, rootDir: string, file: string): PatternMatchingResult;
|
|
85
95
|
static Match(matcher: Matcher, file: string): PatternMatchingResult;
|
|
86
96
|
}
|
|
@@ -6,13 +6,15 @@
|
|
|
6
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';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import type {
|
|
10
|
-
import type { DirectoryInfo, FileInfo } from "@tsonic/dotnet/System.IO.js";
|
|
11
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
12
|
-
import type { Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
9
|
+
import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import type { DirectoryInfo, FileInfo } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
11
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export interface DirectoryInfoBase$instance extends FileSystemInfoBase {
|
|
15
|
-
|
|
15
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Abstractions_DirectoryInfoBase: never;
|
|
16
|
+
|
|
17
|
+
EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
|
|
16
18
|
GetDirectory(path: string): DirectoryInfoBase | undefined;
|
|
17
19
|
GetFile(path: string): FileInfoBase | undefined;
|
|
18
20
|
}
|
|
@@ -25,10 +27,12 @@ export const DirectoryInfoBase: (abstract new() => DirectoryInfoBase) & {
|
|
|
25
27
|
export type DirectoryInfoBase = DirectoryInfoBase$instance;
|
|
26
28
|
|
|
27
29
|
export interface DirectoryInfoWrapper$instance extends DirectoryInfoBase {
|
|
30
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Abstractions_DirectoryInfoWrapper: never;
|
|
31
|
+
|
|
28
32
|
readonly FullName: string;
|
|
29
33
|
readonly Name: string;
|
|
30
34
|
readonly ParentDirectory: DirectoryInfoBase | undefined;
|
|
31
|
-
EnumerateFileSystemInfos():
|
|
35
|
+
EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
|
|
32
36
|
GetDirectory(name: string): DirectoryInfoBase | undefined;
|
|
33
37
|
GetFile(name: string): FileInfoBase;
|
|
34
38
|
}
|
|
@@ -42,6 +46,8 @@ export const DirectoryInfoWrapper: {
|
|
|
42
46
|
export type DirectoryInfoWrapper = DirectoryInfoWrapper$instance;
|
|
43
47
|
|
|
44
48
|
export interface FileInfoBase$instance extends FileSystemInfoBase {
|
|
49
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Abstractions_FileInfoBase: never;
|
|
50
|
+
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
|
|
@@ -52,6 +58,8 @@ export const FileInfoBase: (abstract new() => FileInfoBase) & {
|
|
|
52
58
|
export type FileInfoBase = FileInfoBase$instance;
|
|
53
59
|
|
|
54
60
|
export interface FileInfoWrapper$instance extends FileInfoBase {
|
|
61
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Abstractions_FileInfoWrapper: never;
|
|
62
|
+
|
|
55
63
|
readonly FullName: string;
|
|
56
64
|
readonly Name: string;
|
|
57
65
|
readonly ParentDirectory: DirectoryInfoBase | undefined;
|
|
@@ -66,6 +74,8 @@ export const FileInfoWrapper: {
|
|
|
66
74
|
export type FileInfoWrapper = FileInfoWrapper$instance;
|
|
67
75
|
|
|
68
76
|
export interface FileSystemInfoBase$instance {
|
|
77
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Abstractions_FileSystemInfoBase: never;
|
|
78
|
+
|
|
69
79
|
readonly FullName: string;
|
|
70
80
|
readonly Name: string;
|
|
71
81
|
readonly ParentDirectory: DirectoryInfoBase | undefined;
|
|
@@ -8,12 +8,14 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { DirectoryInfoBase, FileInfoBase } from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
|
|
10
10
|
import type { PatternMatchingResult } from "../../Microsoft.Extensions.FileSystemGlobbing/internal/index.js";
|
|
11
|
-
import type {
|
|
12
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type {
|
|
11
|
+
import type { IEnumerable_1, IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Action_2, Boolean as ClrBoolean, Object as ClrObject, String as ClrString, StringComparison, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface ILinearPattern$instance extends IPattern {
|
|
16
|
-
readonly
|
|
16
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_ILinearPattern: never;
|
|
17
|
+
|
|
18
|
+
readonly Segments: IList_1<IPathSegment>;
|
|
17
19
|
CreatePatternContextForInclude(): IPatternContext;
|
|
18
20
|
}
|
|
19
21
|
|
|
@@ -23,6 +25,8 @@ export interface ILinearPattern$instance extends IPattern$instance {}
|
|
|
23
25
|
export type ILinearPattern = ILinearPattern$instance;
|
|
24
26
|
|
|
25
27
|
export interface IPathSegment$instance {
|
|
28
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
29
|
+
|
|
26
30
|
readonly CanProduceStem: boolean;
|
|
27
31
|
Match(value: string): boolean;
|
|
28
32
|
}
|
|
@@ -31,6 +35,8 @@ export interface IPathSegment$instance {
|
|
|
31
35
|
export type IPathSegment = IPathSegment$instance;
|
|
32
36
|
|
|
33
37
|
export interface IPattern$instance {
|
|
38
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPattern: never;
|
|
39
|
+
|
|
34
40
|
CreatePatternContextForInclude(): IPatternContext;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -38,7 +44,9 @@ export interface IPattern$instance {
|
|
|
38
44
|
export type IPattern = IPattern$instance;
|
|
39
45
|
|
|
40
46
|
export interface IPatternContext$instance {
|
|
41
|
-
|
|
47
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
48
|
+
|
|
49
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
42
50
|
PopDirectory(): void;
|
|
43
51
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
44
52
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -49,10 +57,12 @@ export interface IPatternContext$instance {
|
|
|
49
57
|
export type IPatternContext = IPatternContext$instance;
|
|
50
58
|
|
|
51
59
|
export interface IRaggedPattern$instance extends IPattern {
|
|
52
|
-
readonly
|
|
53
|
-
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
60
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IRaggedPattern: never;
|
|
61
|
+
|
|
62
|
+
readonly Segments: IList_1<IPathSegment>;
|
|
63
|
+
readonly StartsWith: IList_1<IPathSegment>;
|
|
64
|
+
readonly Contains: IList_1<IList_1<IPathSegment>>;
|
|
65
|
+
readonly EndsWith: IList_1<IPathSegment>;
|
|
56
66
|
CreatePatternContextForInclude(): IPatternContext;
|
|
57
67
|
}
|
|
58
68
|
|
|
@@ -62,6 +72,8 @@ export interface IRaggedPattern$instance extends IPattern$instance {}
|
|
|
62
72
|
export type IRaggedPattern = IRaggedPattern$instance;
|
|
63
73
|
|
|
64
74
|
export interface PatternTestResult$instance {
|
|
75
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternTestResult: never;
|
|
76
|
+
|
|
65
77
|
readonly IsSuccessful: boolean;
|
|
66
78
|
readonly Stem: string | undefined;
|
|
67
79
|
}
|
|
@@ -77,12 +89,14 @@ export const PatternTestResult: {
|
|
|
77
89
|
export type PatternTestResult = PatternTestResult$instance;
|
|
78
90
|
|
|
79
91
|
export interface MatcherContext$instance {
|
|
92
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_MatcherContext: never;
|
|
93
|
+
|
|
80
94
|
Execute(): PatternMatchingResult;
|
|
81
95
|
}
|
|
82
96
|
|
|
83
97
|
|
|
84
98
|
export const MatcherContext: {
|
|
85
|
-
new(includePatterns:
|
|
99
|
+
new(includePatterns: IEnumerable_1<IPattern>, excludePatterns: IEnumerable_1<IPattern>, directoryInfo: DirectoryInfoBase, comparison: StringComparison): MatcherContext;
|
|
86
100
|
};
|
|
87
101
|
|
|
88
102
|
|
|
@@ -8,11 +8,15 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as Microsoft_Extensions_FileSystemGlobbing_Internal_Internal from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
10
10
|
import type { IPathSegment } from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
11
|
-
import type {
|
|
12
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, StringComparison } from "@tsonic/dotnet/System.js";
|
|
11
|
+
import type { List_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, StringComparison } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
|
|
15
|
+
export interface CurrentPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {
|
|
16
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PathSegments_CurrentPathSegment: never;
|
|
17
|
+
|
|
18
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
14
19
|
|
|
15
|
-
export interface CurrentPathSegment$instance {
|
|
16
20
|
readonly CanProduceStem: boolean;
|
|
17
21
|
Match(value: string): boolean;
|
|
18
22
|
}
|
|
@@ -27,12 +31,14 @@ export interface __CurrentPathSegment$views {
|
|
|
27
31
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
28
32
|
}
|
|
29
33
|
|
|
30
|
-
export interface CurrentPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
31
|
-
|
|
32
34
|
export type CurrentPathSegment = CurrentPathSegment$instance & __CurrentPathSegment$views;
|
|
33
35
|
|
|
34
36
|
|
|
35
|
-
export interface LiteralPathSegment$instance {
|
|
37
|
+
export interface LiteralPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {
|
|
38
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PathSegments_LiteralPathSegment: never;
|
|
39
|
+
|
|
40
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
41
|
+
|
|
36
42
|
readonly CanProduceStem: boolean;
|
|
37
43
|
readonly Value: string;
|
|
38
44
|
Equals(obj: unknown): boolean;
|
|
@@ -50,12 +56,14 @@ export interface __LiteralPathSegment$views {
|
|
|
50
56
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
51
57
|
}
|
|
52
58
|
|
|
53
|
-
export interface LiteralPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
54
|
-
|
|
55
59
|
export type LiteralPathSegment = LiteralPathSegment$instance & __LiteralPathSegment$views;
|
|
56
60
|
|
|
57
61
|
|
|
58
|
-
export interface ParentPathSegment$instance {
|
|
62
|
+
export interface ParentPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {
|
|
63
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PathSegments_ParentPathSegment: never;
|
|
64
|
+
|
|
65
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
66
|
+
|
|
59
67
|
readonly CanProduceStem: boolean;
|
|
60
68
|
Match(value: string): boolean;
|
|
61
69
|
}
|
|
@@ -70,12 +78,14 @@ export interface __ParentPathSegment$views {
|
|
|
70
78
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
71
79
|
}
|
|
72
80
|
|
|
73
|
-
export interface ParentPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
74
|
-
|
|
75
81
|
export type ParentPathSegment = ParentPathSegment$instance & __ParentPathSegment$views;
|
|
76
82
|
|
|
77
83
|
|
|
78
|
-
export interface RecursiveWildcardSegment$instance {
|
|
84
|
+
export interface RecursiveWildcardSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {
|
|
85
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PathSegments_RecursiveWildcardSegment: never;
|
|
86
|
+
|
|
87
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
88
|
+
|
|
79
89
|
readonly CanProduceStem: boolean;
|
|
80
90
|
Match(value: string): boolean;
|
|
81
91
|
}
|
|
@@ -90,22 +100,24 @@ export interface __RecursiveWildcardSegment$views {
|
|
|
90
100
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
91
101
|
}
|
|
92
102
|
|
|
93
|
-
export interface RecursiveWildcardSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
94
|
-
|
|
95
103
|
export type RecursiveWildcardSegment = RecursiveWildcardSegment$instance & __RecursiveWildcardSegment$views;
|
|
96
104
|
|
|
97
105
|
|
|
98
|
-
export interface WildcardPathSegment$instance {
|
|
106
|
+
export interface WildcardPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {
|
|
107
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PathSegments_WildcardPathSegment: never;
|
|
108
|
+
|
|
109
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
110
|
+
|
|
99
111
|
readonly BeginsWith: string;
|
|
100
112
|
readonly CanProduceStem: boolean;
|
|
101
|
-
readonly Contains:
|
|
113
|
+
readonly Contains: List_1<System_Internal.String>;
|
|
102
114
|
readonly EndsWith: string;
|
|
103
115
|
Match(value: string): boolean;
|
|
104
116
|
}
|
|
105
117
|
|
|
106
118
|
|
|
107
119
|
export const WildcardPathSegment: {
|
|
108
|
-
new(beginsWith: string, contains:
|
|
120
|
+
new(beginsWith: string, contains: List_1<System_Internal.String>, endsWith: string, comparisonType: StringComparison): WildcardPathSegment;
|
|
109
121
|
readonly MatchAll: WildcardPathSegment;
|
|
110
122
|
};
|
|
111
123
|
|
|
@@ -114,8 +126,6 @@ export interface __WildcardPathSegment$views {
|
|
|
114
126
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
115
127
|
}
|
|
116
128
|
|
|
117
|
-
export interface WildcardPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
118
|
-
|
|
119
129
|
export type WildcardPathSegment = WildcardPathSegment$instance & __WildcardPathSegment$views;
|
|
120
130
|
|
|
121
131
|
|