forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into merge/release/3.0-to-master
Commit migrated from dotnet/extensions@ad8ba0c
- Loading branch information
Showing
90 changed files
with
1,934 additions
and
151 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
...ons.Configuration.Abstractions/ref/Microsoft.Extensions.Configuration.Abstractions.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<!-- This file is automatically generated. --> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netcoreapp3.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netcoreapp5.0</TargetFrameworks> | ||
</PropertyGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.Abstractions.netstandard2.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Primitives" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.Abstractions.netcoreapp3.0.cs" /> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp5.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.Abstractions.netcoreapp5.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Primitives" /> | ||
</ItemGroup> | ||
</Project> |
63 changes: 63 additions & 0 deletions
63
...uration.Abstractions/ref/Microsoft.Extensions.Configuration.Abstractions.netcoreapp5.0.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Extensions.Configuration | ||
{ | ||
public static partial class ConfigurationExtensions | ||
{ | ||
public static Microsoft.Extensions.Configuration.IConfigurationBuilder Add<TSource>(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action<TSource> configureSource) where TSource : Microsoft.Extensions.Configuration.IConfigurationSource, new() { throw null; } | ||
public static System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> AsEnumerable(this Microsoft.Extensions.Configuration.IConfiguration configuration) { throw null; } | ||
public static System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> AsEnumerable(this Microsoft.Extensions.Configuration.IConfiguration configuration, bool makePathsRelative) { throw null; } | ||
public static bool Exists(this Microsoft.Extensions.Configuration.IConfigurationSection section) { throw null; } | ||
public static string GetConnectionString(this Microsoft.Extensions.Configuration.IConfiguration configuration, string name) { throw null; } | ||
} | ||
public static partial class ConfigurationPath | ||
{ | ||
public static readonly string KeyDelimiter; | ||
public static string Combine(System.Collections.Generic.IEnumerable<string> pathSegments) { throw null; } | ||
public static string Combine(params string[] pathSegments) { throw null; } | ||
public static string GetParentPath(string path) { throw null; } | ||
public static string GetSectionKey(string path) { throw null; } | ||
} | ||
public static partial class ConfigurationRootExtensions | ||
{ | ||
public static string GetDebugView(this Microsoft.Extensions.Configuration.IConfigurationRoot root) { throw null; } | ||
} | ||
public partial interface IConfiguration | ||
{ | ||
string this[string key] { get; set; } | ||
System.Collections.Generic.IEnumerable<Microsoft.Extensions.Configuration.IConfigurationSection> GetChildren(); | ||
Microsoft.Extensions.Primitives.IChangeToken GetReloadToken(); | ||
Microsoft.Extensions.Configuration.IConfigurationSection GetSection(string key); | ||
} | ||
public partial interface IConfigurationBuilder | ||
{ | ||
System.Collections.Generic.IDictionary<string, object> Properties { get; } | ||
System.Collections.Generic.IList<Microsoft.Extensions.Configuration.IConfigurationSource> Sources { get; } | ||
Microsoft.Extensions.Configuration.IConfigurationBuilder Add(Microsoft.Extensions.Configuration.IConfigurationSource source); | ||
Microsoft.Extensions.Configuration.IConfigurationRoot Build(); | ||
} | ||
public partial interface IConfigurationProvider | ||
{ | ||
System.Collections.Generic.IEnumerable<string> GetChildKeys(System.Collections.Generic.IEnumerable<string> earlierKeys, string parentPath); | ||
Microsoft.Extensions.Primitives.IChangeToken GetReloadToken(); | ||
void Load(); | ||
void Set(string key, string value); | ||
bool TryGet(string key, out string value); | ||
} | ||
public partial interface IConfigurationRoot : Microsoft.Extensions.Configuration.IConfiguration | ||
{ | ||
System.Collections.Generic.IEnumerable<Microsoft.Extensions.Configuration.IConfigurationProvider> Providers { get; } | ||
void Reload(); | ||
} | ||
public partial interface IConfigurationSection : Microsoft.Extensions.Configuration.IConfiguration | ||
{ | ||
string Key { get; } | ||
string Path { get; } | ||
string Value { get; set; } | ||
} | ||
public partial interface IConfigurationSource | ||
{ | ||
Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...ons.Configuration.Abstractions/src/Microsoft.Extensions.Configuration.Abstractions.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...soft.Extensions.Configuration.Binder/ref/Microsoft.Extensions.Configuration.Binder.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<!-- This file is automatically generated. --> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netcoreapp3.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netcoreapp5.0</TargetFrameworks> | ||
</PropertyGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.Binder.netstandard2.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Configuration" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.Binder.netcoreapp3.0.cs" /> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp5.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.Binder.netcoreapp5.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Configuration" /> | ||
</ItemGroup> | ||
</Project> |
25 changes: 25 additions & 0 deletions
25
...sions.Configuration.Binder/ref/Microsoft.Extensions.Configuration.Binder.netcoreapp5.0.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Extensions.Configuration | ||
{ | ||
public partial class BinderOptions | ||
{ | ||
public BinderOptions() { } | ||
public bool BindNonPublicProperties { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } | ||
} | ||
public static partial class ConfigurationBinder | ||
{ | ||
public static void Bind(this Microsoft.Extensions.Configuration.IConfiguration configuration, object instance) { } | ||
public static void Bind(this Microsoft.Extensions.Configuration.IConfiguration configuration, object instance, System.Action<Microsoft.Extensions.Configuration.BinderOptions> configureOptions) { } | ||
public static void Bind(this Microsoft.Extensions.Configuration.IConfiguration configuration, string key, object instance) { } | ||
public static object Get(this Microsoft.Extensions.Configuration.IConfiguration configuration, System.Type type) { throw null; } | ||
public static object Get(this Microsoft.Extensions.Configuration.IConfiguration configuration, System.Type type, System.Action<Microsoft.Extensions.Configuration.BinderOptions> configureOptions) { throw null; } | ||
public static object GetValue(this Microsoft.Extensions.Configuration.IConfiguration configuration, System.Type type, string key) { throw null; } | ||
public static object GetValue(this Microsoft.Extensions.Configuration.IConfiguration configuration, System.Type type, string key, object defaultValue) { throw null; } | ||
public static T GetValue<T>(this Microsoft.Extensions.Configuration.IConfiguration configuration, string key) { throw null; } | ||
public static T GetValue<T>(this Microsoft.Extensions.Configuration.IConfiguration configuration, string key, T defaultValue) { throw null; } | ||
public static T Get<T>(this Microsoft.Extensions.Configuration.IConfiguration configuration) { throw null; } | ||
public static T Get<T>(this Microsoft.Extensions.Configuration.IConfiguration configuration, System.Action<Microsoft.Extensions.Configuration.BinderOptions> configureOptions) { throw null; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...sions.Configuration.CommandLine/ref/Microsoft.Extensions.Configuration.CommandLine.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<!-- This file is automatically generated. --> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netcoreapp3.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netcoreapp5.0</TargetFrameworks> | ||
</PropertyGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.CommandLine.netstandard2.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Configuration" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.CommandLine.netcoreapp3.0.cs" /> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp5.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.CommandLine.netcoreapp5.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Configuration" /> | ||
</ItemGroup> | ||
</Project> |
28 changes: 28 additions & 0 deletions
28
...iguration.CommandLine/ref/Microsoft.Extensions.Configuration.CommandLine.netcoreapp5.0.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Extensions.Configuration | ||
{ | ||
public static partial class CommandLineConfigurationExtensions | ||
{ | ||
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddCommandLine(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action<Microsoft.Extensions.Configuration.CommandLine.CommandLineConfigurationSource> configureSource) { throw null; } | ||
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddCommandLine(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string[] args) { throw null; } | ||
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddCommandLine(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string[] args, System.Collections.Generic.IDictionary<string, string> switchMappings) { throw null; } | ||
} | ||
} | ||
namespace Microsoft.Extensions.Configuration.CommandLine | ||
{ | ||
public partial class CommandLineConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider | ||
{ | ||
public CommandLineConfigurationProvider(System.Collections.Generic.IEnumerable<string> args, System.Collections.Generic.IDictionary<string, string> switchMappings = null) { } | ||
protected System.Collections.Generic.IEnumerable<string> Args { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } | ||
public override void Load() { } | ||
} | ||
public partial class CommandLineConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource | ||
{ | ||
public CommandLineConfigurationSource() { } | ||
public System.Collections.Generic.IEnumerable<string> Args { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } | ||
public System.Collections.Generic.IDictionary<string, string> SwitchMappings { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } | ||
public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...n.EnvironmentVariables/ref/Microsoft.Extensions.Configuration.EnvironmentVariables.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<!-- This file is automatically generated. --> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netcoreapp3.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netcoreapp5.0</TargetFrameworks> | ||
</PropertyGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.EnvironmentVariables.netstandard2.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Configuration" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.EnvironmentVariables.netcoreapp3.0.cs" /> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp5.0'"> | ||
<Compile Include="Microsoft.Extensions.Configuration.EnvironmentVariables.netcoreapp5.0.cs" /> | ||
<Reference Include="Microsoft.Extensions.Configuration" /> | ||
</ItemGroup> | ||
</Project> |
27 changes: 27 additions & 0 deletions
27
...entVariables/ref/Microsoft.Extensions.Configuration.EnvironmentVariables.netcoreapp5.0.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Extensions.Configuration | ||
{ | ||
public static partial class EnvironmentVariablesExtensions | ||
{ | ||
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddEnvironmentVariables(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder) { throw null; } | ||
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddEnvironmentVariables(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action<Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationSource> configureSource) { throw null; } | ||
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddEnvironmentVariables(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string prefix) { throw null; } | ||
} | ||
} | ||
namespace Microsoft.Extensions.Configuration.EnvironmentVariables | ||
{ | ||
public partial class EnvironmentVariablesConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider | ||
{ | ||
public EnvironmentVariablesConfigurationProvider() { } | ||
public EnvironmentVariablesConfigurationProvider(string prefix) { } | ||
public override void Load() { } | ||
} | ||
public partial class EnvironmentVariablesConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource | ||
{ | ||
public EnvironmentVariablesConfigurationSource() { } | ||
public string Prefix { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } | ||
public Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...Configuration.FileExtensions/ref/Microsoft.Extensions.Configuration.FileExtensions.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.