@tsonic/microsoft-extensions 10.0.5 → 10.0.8
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 +21 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +25 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +41 -33
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +98 -89
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +13 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +16 -10
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +15 -9
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +17 -17
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +19 -11
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +129 -118
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +47 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +25 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +39 -39
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +12 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +21 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +20 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +33 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +53 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +13 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +13 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +80 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +28 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +6 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +23 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +168 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +40 -26
- package/Microsoft.Extensions.Validation/internal/index.d.ts +31 -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 +25 -12
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +120 -70
- package/System.Net.Http/internal/index.d.ts +3 -3
- package/System.Security.Cryptography/internal/index.d.ts +12 -7
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +150 -75
- package/System.Security.Cryptography.Xml/internal/index.d.ts +101 -22
- package/__internal/extensions/index.d.ts +614 -505
- package/package.json +3 -3
|
@@ -9,20 +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
|
+
|
|
20
22
|
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IDirectoryContents: never;
|
|
21
23
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
22
24
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
23
25
|
|
|
24
26
|
readonly Exists: boolean;
|
|
25
|
-
GetEnumerator():
|
|
27
|
+
GetEnumerator(): IEnumerator_1<IFileInfo>;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
|
|
@@ -36,8 +38,6 @@ export interface __PhysicalDirectoryContents$views {
|
|
|
36
38
|
As_IDirectoryContents(): Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
export interface PhysicalDirectoryContents$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance {}
|
|
40
|
-
|
|
41
41
|
export type PhysicalDirectoryContents = PhysicalDirectoryContents$instance & __PhysicalDirectoryContents$views;
|
|
42
42
|
|
|
43
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,9 @@ 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
|
+
|
|
31
33
|
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IDirectoryContents: never;
|
|
32
34
|
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileInfo: never;
|
|
33
35
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
@@ -40,7 +42,7 @@ export interface PhysicalDirectoryInfo$instance {
|
|
|
40
42
|
readonly Name: string;
|
|
41
43
|
readonly PhysicalPath: string;
|
|
42
44
|
CreateReadStream(): Stream;
|
|
43
|
-
GetEnumerator():
|
|
45
|
+
GetEnumerator(): IEnumerator_1<IFileInfo>;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
|
|
@@ -54,12 +56,12 @@ export interface __PhysicalDirectoryInfo$views {
|
|
|
54
56
|
As_IFileInfo(): Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
export interface PhysicalDirectoryInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IDirectoryContents$instance, Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {}
|
|
58
|
-
|
|
59
59
|
export type PhysicalDirectoryInfo = PhysicalDirectoryInfo$instance & __PhysicalDirectoryInfo$views;
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
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
|
+
|
|
63
65
|
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IFileInfo: never;
|
|
64
66
|
|
|
65
67
|
readonly Exists: boolean;
|
|
@@ -81,12 +83,12 @@ export interface __PhysicalFileInfo$views {
|
|
|
81
83
|
As_IFileInfo(): Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance;
|
|
82
84
|
}
|
|
83
85
|
|
|
84
|
-
export interface PhysicalFileInfo$instance extends Microsoft_Extensions_FileProviders_Internal.IFileInfo$instance {}
|
|
85
|
-
|
|
86
86
|
export type PhysicalFileInfo = PhysicalFileInfo$instance & __PhysicalFileInfo$views;
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
export interface PhysicalFilesWatcher$instance {
|
|
90
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PhysicalFilesWatcher: never;
|
|
91
|
+
|
|
90
92
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
91
93
|
|
|
92
94
|
CreateFileChangeToken(filter: string): IChangeToken;
|
|
@@ -104,12 +106,14 @@ export const PhysicalFilesWatcher: {
|
|
|
104
106
|
export type PhysicalFilesWatcher = PhysicalFilesWatcher$instance;
|
|
105
107
|
|
|
106
108
|
export interface PollingFileChangeToken$instance {
|
|
109
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PollingFileChangeToken: never;
|
|
110
|
+
|
|
107
111
|
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IPollingChangeToken: never;
|
|
108
112
|
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
109
113
|
|
|
110
114
|
ActiveChangeCallbacks: boolean;
|
|
111
115
|
readonly HasChanged: boolean;
|
|
112
|
-
RegisterChangeCallback(callback:
|
|
116
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
|
|
@@ -126,6 +130,8 @@ export type PollingFileChangeToken = PollingFileChangeToken$instance & __Polling
|
|
|
126
130
|
|
|
127
131
|
|
|
128
132
|
export interface PollingWildCardChangeToken$instance {
|
|
133
|
+
readonly __tsonic_type_Microsoft_Extensions_FileProviders_Physical_PollingWildCardChangeToken: never;
|
|
134
|
+
|
|
129
135
|
readonly __tsonic_iface_Microsoft_Extensions_FileProviders_IPollingChangeToken: never;
|
|
130
136
|
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
131
137
|
|
|
@@ -8,11 +8,13 @@ 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
|
+
|
|
16
18
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
17
19
|
|
|
18
20
|
readonly Path: string;
|
|
@@ -31,23 +33,27 @@ export const FilePatternMatch: {
|
|
|
31
33
|
export type FilePatternMatch = FilePatternMatch$instance;
|
|
32
34
|
|
|
33
35
|
export interface InMemoryDirectoryInfo$instance extends DirectoryInfoBase {
|
|
36
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_InMemoryDirectoryInfo: never;
|
|
37
|
+
|
|
34
38
|
readonly FullName: string;
|
|
35
39
|
readonly Name: string;
|
|
36
40
|
readonly ParentDirectory: DirectoryInfoBase | undefined;
|
|
37
|
-
EnumerateFileSystemInfos():
|
|
41
|
+
EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
|
|
38
42
|
GetDirectory(path: string): DirectoryInfoBase;
|
|
39
43
|
GetFile(path: string): FileInfoBase | undefined;
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
|
|
43
47
|
export const InMemoryDirectoryInfo: {
|
|
44
|
-
new(rootDir: string, files:
|
|
48
|
+
new(rootDir: string, files: IEnumerable_1<System_Internal.String>): InMemoryDirectoryInfo;
|
|
45
49
|
};
|
|
46
50
|
|
|
47
51
|
|
|
48
52
|
export type InMemoryDirectoryInfo = InMemoryDirectoryInfo$instance;
|
|
49
53
|
|
|
50
54
|
export interface Matcher$instance {
|
|
55
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Matcher: never;
|
|
56
|
+
|
|
51
57
|
AddExclude(pattern: string): Matcher;
|
|
52
58
|
AddInclude(pattern: string): Matcher;
|
|
53
59
|
Execute(directoryInfo: DirectoryInfoBase): PatternMatchingResult;
|
|
@@ -64,25 +70,27 @@ export const Matcher: {
|
|
|
64
70
|
export type Matcher = Matcher$instance;
|
|
65
71
|
|
|
66
72
|
export interface PatternMatchingResult$instance {
|
|
67
|
-
|
|
73
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_PatternMatchingResult: never;
|
|
74
|
+
|
|
75
|
+
Files: IEnumerable_1<FilePatternMatch>;
|
|
68
76
|
readonly HasMatches: boolean;
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
|
|
72
80
|
export const PatternMatchingResult: {
|
|
73
|
-
new(files:
|
|
74
|
-
new(files:
|
|
81
|
+
new(files: IEnumerable_1<FilePatternMatch>): PatternMatchingResult;
|
|
82
|
+
new(files: IEnumerable_1<FilePatternMatch>, hasMatches: boolean): PatternMatchingResult;
|
|
75
83
|
};
|
|
76
84
|
|
|
77
85
|
|
|
78
86
|
export type PatternMatchingResult = PatternMatchingResult$instance;
|
|
79
87
|
|
|
80
88
|
export abstract class MatcherExtensions$instance {
|
|
81
|
-
static AddExcludePatterns(matcher: Matcher, ...excludePatternsGroups:
|
|
82
|
-
static AddIncludePatterns(matcher: Matcher, ...includePatternsGroups:
|
|
83
|
-
static GetResultsInFullPath(matcher: Matcher, directoryPath: string):
|
|
84
|
-
static Match(matcher: Matcher, files:
|
|
85
|
-
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;
|
|
86
94
|
static Match(matcher: Matcher, rootDir: string, file: string): PatternMatchingResult;
|
|
87
95
|
static Match(matcher: Matcher, file: string): PatternMatchingResult;
|
|
88
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,14 +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
16
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_ILinearPattern: never;
|
|
17
17
|
|
|
18
|
-
readonly Segments:
|
|
18
|
+
readonly Segments: IList_1<IPathSegment>;
|
|
19
19
|
CreatePatternContextForInclude(): IPatternContext;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -46,7 +46,7 @@ export type IPattern = IPattern$instance;
|
|
|
46
46
|
export interface IPatternContext$instance {
|
|
47
47
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
48
48
|
|
|
49
|
-
Declare(onDeclare:
|
|
49
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
50
50
|
PopDirectory(): void;
|
|
51
51
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
52
52
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -59,10 +59,10 @@ export type IPatternContext = IPatternContext$instance;
|
|
|
59
59
|
export interface IRaggedPattern$instance extends IPattern {
|
|
60
60
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IRaggedPattern: never;
|
|
61
61
|
|
|
62
|
-
readonly Segments:
|
|
63
|
-
readonly StartsWith:
|
|
64
|
-
readonly Contains:
|
|
65
|
-
readonly EndsWith:
|
|
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>;
|
|
66
66
|
CreatePatternContextForInclude(): IPatternContext;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -72,6 +72,8 @@ export interface IRaggedPattern$instance extends IPattern$instance {}
|
|
|
72
72
|
export type IRaggedPattern = IRaggedPattern$instance;
|
|
73
73
|
|
|
74
74
|
export interface PatternTestResult$instance {
|
|
75
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternTestResult: never;
|
|
76
|
+
|
|
75
77
|
readonly IsSuccessful: boolean;
|
|
76
78
|
readonly Stem: string | undefined;
|
|
77
79
|
}
|
|
@@ -87,12 +89,14 @@ export const PatternTestResult: {
|
|
|
87
89
|
export type PatternTestResult = PatternTestResult$instance;
|
|
88
90
|
|
|
89
91
|
export interface MatcherContext$instance {
|
|
92
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_MatcherContext: never;
|
|
93
|
+
|
|
90
94
|
Execute(): PatternMatchingResult;
|
|
91
95
|
}
|
|
92
96
|
|
|
93
97
|
|
|
94
98
|
export const MatcherContext: {
|
|
95
|
-
new(includePatterns:
|
|
99
|
+
new(includePatterns: IEnumerable_1<IPattern>, excludePatterns: IEnumerable_1<IPattern>, directoryInfo: DirectoryInfoBase, comparison: StringComparison): MatcherContext;
|
|
96
100
|
};
|
|
97
101
|
|
|
98
102
|
|
|
@@ -8,11 +8,13 @@ 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;
|
|
14
17
|
|
|
15
|
-
export interface CurrentPathSegment$instance {
|
|
16
18
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
17
19
|
|
|
18
20
|
readonly CanProduceStem: boolean;
|
|
@@ -29,12 +31,12 @@ export interface __CurrentPathSegment$views {
|
|
|
29
31
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
export interface CurrentPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
33
|
-
|
|
34
34
|
export type CurrentPathSegment = CurrentPathSegment$instance & __CurrentPathSegment$views;
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
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
|
+
|
|
38
40
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
39
41
|
|
|
40
42
|
readonly CanProduceStem: boolean;
|
|
@@ -54,12 +56,12 @@ export interface __LiteralPathSegment$views {
|
|
|
54
56
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
export interface LiteralPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
58
|
-
|
|
59
59
|
export type LiteralPathSegment = LiteralPathSegment$instance & __LiteralPathSegment$views;
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
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
|
+
|
|
63
65
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
64
66
|
|
|
65
67
|
readonly CanProduceStem: boolean;
|
|
@@ -76,12 +78,12 @@ export interface __ParentPathSegment$views {
|
|
|
76
78
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
|
-
export interface ParentPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
80
|
-
|
|
81
81
|
export type ParentPathSegment = ParentPathSegment$instance & __ParentPathSegment$views;
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
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
|
+
|
|
85
87
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
86
88
|
|
|
87
89
|
readonly CanProduceStem: boolean;
|
|
@@ -98,24 +100,24 @@ export interface __RecursiveWildcardSegment$views {
|
|
|
98
100
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
99
101
|
}
|
|
100
102
|
|
|
101
|
-
export interface RecursiveWildcardSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
102
|
-
|
|
103
103
|
export type RecursiveWildcardSegment = RecursiveWildcardSegment$instance & __RecursiveWildcardSegment$views;
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
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
|
+
|
|
107
109
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPathSegment: never;
|
|
108
110
|
|
|
109
111
|
readonly BeginsWith: string;
|
|
110
112
|
readonly CanProduceStem: boolean;
|
|
111
|
-
readonly Contains:
|
|
113
|
+
readonly Contains: List_1<System_Internal.String>;
|
|
112
114
|
readonly EndsWith: string;
|
|
113
115
|
Match(value: string): boolean;
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
|
|
117
119
|
export const WildcardPathSegment: {
|
|
118
|
-
new(beginsWith: string, contains:
|
|
120
|
+
new(beginsWith: string, contains: List_1<System_Internal.String>, endsWith: string, comparisonType: StringComparison): WildcardPathSegment;
|
|
119
121
|
readonly MatchAll: WildcardPathSegment;
|
|
120
122
|
};
|
|
121
123
|
|
|
@@ -124,8 +126,6 @@ export interface __WildcardPathSegment$views {
|
|
|
124
126
|
As_IPathSegment(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance;
|
|
125
127
|
}
|
|
126
128
|
|
|
127
|
-
export interface WildcardPathSegment$instance extends Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPathSegment$instance {}
|
|
128
|
-
|
|
129
129
|
export type WildcardPathSegment = WildcardPathSegment$instance & __WildcardPathSegment$views;
|
|
130
130
|
|
|
131
131
|
|
package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts
CHANGED
|
@@ -9,16 +9,18 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { DirectoryInfoBase, FileInfoBase, FileSystemInfoBase } from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
|
|
10
10
|
import * as Microsoft_Extensions_FileSystemGlobbing_Internal_Internal from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
11
11
|
import type { ILinearPattern, IPathSegment, IPatternContext, IRaggedPattern, PatternTestResult } from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
12
|
-
import type {
|
|
13
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type {
|
|
12
|
+
import type { IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Action_2, Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export interface PatternContextLinear_FrameData$instance {
|
|
17
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinear_FrameData: never;
|
|
18
|
+
|
|
17
19
|
IsNotApplicable: boolean;
|
|
18
20
|
SegmentIndex: int;
|
|
19
21
|
InStem: boolean;
|
|
20
22
|
readonly Stem: string | undefined;
|
|
21
|
-
readonly StemItems:
|
|
23
|
+
readonly StemItems: IList_1<System_Internal.String>;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
|
|
@@ -30,14 +32,16 @@ export const PatternContextLinear_FrameData: {
|
|
|
30
32
|
export type PatternContextLinear_FrameData = PatternContextLinear_FrameData$instance;
|
|
31
33
|
|
|
32
34
|
export interface PatternContextRagged_FrameData$instance {
|
|
35
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRagged_FrameData: never;
|
|
36
|
+
|
|
33
37
|
IsNotApplicable: boolean;
|
|
34
38
|
SegmentGroupIndex: int;
|
|
35
|
-
SegmentGroup:
|
|
39
|
+
SegmentGroup: IList_1<IPathSegment>;
|
|
36
40
|
BacktrackAvailable: int;
|
|
37
41
|
SegmentIndex: int;
|
|
38
42
|
InStem: boolean;
|
|
39
43
|
readonly Stem: string | undefined;
|
|
40
|
-
readonly StemItems:
|
|
44
|
+
readonly StemItems: IList_1<System_Internal.String>;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
|
|
@@ -49,9 +53,11 @@ export const PatternContextRagged_FrameData: {
|
|
|
49
53
|
export type PatternContextRagged_FrameData = PatternContextRagged_FrameData$instance;
|
|
50
54
|
|
|
51
55
|
export interface PatternContext_1$instance<TFrame extends unknown> {
|
|
56
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContext_1: never;
|
|
57
|
+
|
|
52
58
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
53
59
|
|
|
54
|
-
Declare(declare:
|
|
60
|
+
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
55
61
|
PopDirectory(): void;
|
|
56
62
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
57
63
|
Test(file: FileInfoBase): PatternTestResult;
|
|
@@ -71,9 +77,11 @@ export type PatternContext_1<TFrame> = PatternContext_1$instance<TFrame> & __Pat
|
|
|
71
77
|
|
|
72
78
|
|
|
73
79
|
export interface PatternContextLinear$instance extends PatternContext_1$instance<PatternContextLinear_FrameData> {
|
|
80
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinear: never;
|
|
81
|
+
|
|
74
82
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
75
83
|
|
|
76
|
-
Declare(declare:
|
|
84
|
+
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
77
85
|
PopDirectory(): void;
|
|
78
86
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
79
87
|
Test(file: FileInfoBase): PatternTestResult;
|
|
@@ -93,9 +101,11 @@ export type PatternContextLinear = PatternContextLinear$instance & __PatternCont
|
|
|
93
101
|
|
|
94
102
|
|
|
95
103
|
export interface PatternContextLinearExclude$instance extends PatternContextLinear$instance {
|
|
104
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinearExclude: never;
|
|
105
|
+
|
|
96
106
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
97
107
|
|
|
98
|
-
Declare(onDeclare:
|
|
108
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
99
109
|
PopDirectory(): void;
|
|
100
110
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
101
111
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -116,10 +126,12 @@ export type PatternContextLinearExclude = PatternContextLinearExclude$instance &
|
|
|
116
126
|
|
|
117
127
|
|
|
118
128
|
export interface PatternContextLinearInclude$instance extends PatternContextLinear$instance {
|
|
129
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinearInclude: never;
|
|
130
|
+
|
|
119
131
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
120
132
|
|
|
121
|
-
Declare(onDeclare:
|
|
122
|
-
Declare(onDeclare:
|
|
133
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
134
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
123
135
|
PopDirectory(): void;
|
|
124
136
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
125
137
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -140,9 +152,11 @@ export type PatternContextLinearInclude = PatternContextLinearInclude$instance &
|
|
|
140
152
|
|
|
141
153
|
|
|
142
154
|
export interface PatternContextRagged$instance extends PatternContext_1$instance<PatternContextRagged_FrameData> {
|
|
155
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRagged: never;
|
|
156
|
+
|
|
143
157
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
144
158
|
|
|
145
|
-
Declare(declare:
|
|
159
|
+
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
146
160
|
PopDirectory(): void;
|
|
147
161
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
148
162
|
Test(file: FileInfoBase): PatternTestResult;
|
|
@@ -162,9 +176,11 @@ export type PatternContextRagged = PatternContextRagged$instance & __PatternCont
|
|
|
162
176
|
|
|
163
177
|
|
|
164
178
|
export interface PatternContextRaggedExclude$instance extends PatternContextRagged$instance {
|
|
179
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRaggedExclude: never;
|
|
180
|
+
|
|
165
181
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
166
182
|
|
|
167
|
-
Declare(onDeclare:
|
|
183
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
168
184
|
PopDirectory(): void;
|
|
169
185
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
170
186
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -185,10 +201,12 @@ export type PatternContextRaggedExclude = PatternContextRaggedExclude$instance &
|
|
|
185
201
|
|
|
186
202
|
|
|
187
203
|
export interface PatternContextRaggedInclude$instance extends PatternContextRagged$instance {
|
|
204
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRaggedInclude: never;
|
|
205
|
+
|
|
188
206
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
189
207
|
|
|
190
|
-
Declare(onDeclare:
|
|
191
|
-
Declare(onDeclare:
|
|
208
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
209
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
192
210
|
PopDirectory(): void;
|
|
193
211
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
194
212
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -7,10 +7,12 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IPattern } from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type { Object as ClrObject, String as ClrString, StringComparison } from "@tsonic/dotnet/System.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Object as ClrObject, String as ClrString, StringComparison } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface PatternBuilder$instance {
|
|
14
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_Patterns_PatternBuilder: never;
|
|
15
|
+
|
|
14
16
|
readonly ComparisonType: StringComparison;
|
|
15
17
|
Build(pattern: string): IPattern;
|
|
16
18
|
}
|