<Import Project="..\..\Directory.Build.props" />
<ItemGroup>
+ <PortedExtensionsProject Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.FileProviders.*\**\*csproj" />
+ <PortedExtensionsProject Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.FileSystemGlobbing\**\*csproj" />
<PortedExtensionsProject Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Primitives\**\*csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)*\tests\**\Microsoft.AspNetCore.Testing\**\*.csproj" Exclude="@(PortedExtensionsProject)" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)*\ref\**\Microsoft.Extensions.*proj" Exclude="@(PortedExtensionsProject)" />
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
<IsAspNetCoreApp>true</IsAspNetCoreApp>
<!-- Temporarily ignore nit warning/errors (e.g. extra whitespace) from Extensions projects -->
- <NoWarn Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">$(NoWarn);SA1129;SA1028;SA1027;SA1121;CA1200</NoWarn>
+ <NoWarn Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">$(NoWarn);SA1129;SA1028;SA1027;SA1121;CA1200;SA1000;CA1507;CA1802;CA1825</NoWarn>
</PropertyGroup>
<PropertyGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.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)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.Abstractions.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.Abstractions.cs" />
<Reference Include="Microsoft.Extensions.Primitives" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more 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);
- }
-}
<PropertyGroup>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <Description>Abstractions of key-value pair based configuration.
-Commonly used types:
-Microsoft.Extensions.Configuration.IConfiguration
-Microsoft.Extensions.Configuration.IConfigurationBuilder
-Microsoft.Extensions.Configuration.IConfigurationProvider
-Microsoft.Extensions.Configuration.IConfigurationRoot
-Microsoft.Extensions.Configuration.IConfigurationSection</Description>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.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)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.Binder.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.Binder.cs" />
<Reference Include="Microsoft.Extensions.Configuration" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more 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; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Functionality to bind an object to data in configuration providers for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.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)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.CommandLine.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.CommandLine.cs" />
<Reference Include="Microsoft.Extensions.Configuration" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more 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; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Command line configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <PackageTags>$(PackageTags);commandline</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.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)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.EnvironmentVariables.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.EnvironmentVariables.cs" />
<Reference Include="Microsoft.Extensions.Configuration" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more 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; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Environment variables configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <PackageTags>$(PackageTags);envvar;environmentvariable</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Configuration.FileExtensions.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration" />
- <Reference Include="Microsoft.Extensions.FileProviders.Physical" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.FileExtensions.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.FileExtensions.cs" />
<Reference Include="Microsoft.Extensions.Configuration" />
<Reference Include="Microsoft.Extensions.FileProviders.Physical" />
</ItemGroup>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Configuration
-{
- public static partial class FileConfigurationExtensions
- {
- public static System.Action<Microsoft.Extensions.Configuration.FileLoadExceptionContext> GetFileLoadExceptionHandler(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- public static Microsoft.Extensions.FileProviders.IFileProvider GetFileProvider(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder SetBasePath(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string basePath) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder SetFileLoadExceptionHandler(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action<Microsoft.Extensions.Configuration.FileLoadExceptionContext> handler) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder SetFileProvider(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, Microsoft.Extensions.FileProviders.IFileProvider fileProvider) { throw null; }
- }
- public abstract partial class FileConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.IDisposable
- {
- public FileConfigurationProvider(Microsoft.Extensions.Configuration.FileConfigurationSource source) { }
- public Microsoft.Extensions.Configuration.FileConfigurationSource Source { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public void Dispose() { }
- protected virtual void Dispose(bool disposing) { }
- public override void Load() { }
- public abstract void Load(System.IO.Stream stream);
- public override string ToString() { throw null; }
- }
- public abstract partial class FileConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
- {
- protected FileConfigurationSource() { }
- public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public System.Action<Microsoft.Extensions.Configuration.FileLoadExceptionContext> OnLoadException { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool Optional { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string Path { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public int ReloadDelay { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool ReloadOnChange { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public abstract Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder);
- public void EnsureDefaults(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { }
- public void ResolveFileProvider() { }
- }
- public partial class FileLoadExceptionContext
- {
- public FileLoadExceptionContext() { }
- public System.Exception Exception { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool Ignore { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public Microsoft.Extensions.Configuration.FileConfigurationProvider Provider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Extension methods for configuring file-based configuration providers for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Configuration.Ini.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration" />
- <Reference Include="Microsoft.Extensions.Configuration.FileExtensions" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.Ini.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.Ini.cs" />
<Reference Include="Microsoft.Extensions.Configuration" />
<Reference Include="Microsoft.Extensions.Configuration.FileExtensions" />
</ItemGroup>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Configuration
-{
- public static partial class IniConfigurationExtensions
- {
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, Microsoft.Extensions.FileProviders.IFileProvider provider, string path, bool optional, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action<Microsoft.Extensions.Configuration.Ini.IniConfigurationSource> configureSource) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path, bool optional) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniStream(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.IO.Stream stream) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Configuration.Ini
-{
- public partial class IniConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider
- {
- public IniConfigurationProvider(Microsoft.Extensions.Configuration.Ini.IniConfigurationSource source) : base (default(Microsoft.Extensions.Configuration.FileConfigurationSource)) { }
- public override void Load(System.IO.Stream stream) { }
- }
- public partial class IniConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource
- {
- public IniConfigurationSource() { }
- public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- }
- public partial class IniStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider
- {
- public IniStreamConfigurationProvider(Microsoft.Extensions.Configuration.Ini.IniStreamConfigurationSource source) : base (default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) { }
- public override void Load(System.IO.Stream stream) { }
- public static System.Collections.Generic.IDictionary<string, string> Read(System.IO.Stream stream) { throw null; }
- }
- public partial class IniStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource
- {
- public IniStreamConfigurationSource() { }
- public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>INI configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <PackageTags>$(PackageTags);ini</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Configuration.Json.netstandard2.0.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.Json.cs" />
<Reference Include="Microsoft.Extensions.Configuration" />
<Reference Include="Microsoft.Extensions.Configuration.FileExtensions" />
<Reference Include="System.Text.Json" />
<Reference Include="System.Threading.Tasks.Extensions" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.Json.netcoreapp.cs" />
- <Reference Include="Microsoft.Extensions.Configuration" />
- <Reference Include="Microsoft.Extensions.Configuration.FileExtensions" />
- </ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Configuration
-{
- public static partial class JsonConfigurationExtensions
- {
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, Microsoft.Extensions.FileProviders.IFileProvider provider, string path, bool optional, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action<Microsoft.Extensions.Configuration.Json.JsonConfigurationSource> configureSource) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path, bool optional) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddJsonStream(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.IO.Stream stream) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Configuration.Json
-{
- public partial class JsonConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider
- {
- public JsonConfigurationProvider(Microsoft.Extensions.Configuration.Json.JsonConfigurationSource source) : base (default(Microsoft.Extensions.Configuration.FileConfigurationSource)) { }
- public override void Load(System.IO.Stream stream) { }
- }
- public partial class JsonConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource
- {
- public JsonConfigurationSource() { }
- public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- }
- public partial class JsonStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider
- {
- public JsonStreamConfigurationProvider(Microsoft.Extensions.Configuration.Json.JsonStreamConfigurationSource source) : base (default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) { }
- public override void Load(System.IO.Stream stream) { }
- }
- public partial class JsonStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource
- {
- public JsonStreamConfigurationSource() { }
- public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>JSON configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <PackageTags>$(PackageTags);json</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <IsPackable>true</IsPackable>
<NoWarn>$(NoWarn);3021</NoWarn>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Configuration.UserSecrets.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration.Json" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.UserSecrets.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.UserSecrets.cs" />
<Reference Include="Microsoft.Extensions.Configuration.Json" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Configuration
-{
- public static partial class UserSecretsConfigurationExtensions
- {
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, System.Reflection.Assembly assembly) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, System.Reflection.Assembly assembly, bool optional) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, System.Reflection.Assembly assembly, bool optional, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, string userSecretsId) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, string userSecretsId, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets<T>(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration) where T : class { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets<T>(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, bool optional) where T : class { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddUserSecrets<T>(this Microsoft.Extensions.Configuration.IConfigurationBuilder configuration, bool optional, bool reloadOnChange) where T : class { throw null; }
- }
-}
-namespace Microsoft.Extensions.Configuration.UserSecrets
-{
- public partial class PathHelper
- {
- public PathHelper() { }
- public static string GetSecretsPathFromSecretsId(string userSecretsId) { throw null; }
- }
- [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false, AllowMultiple=false)]
- public partial class UserSecretsIdAttribute : System.Attribute
- {
- public UserSecretsIdAttribute(string userSecretId) { }
- public string UserSecretsId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>User secrets configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <PackageTags>$(PackageTags);secrets;usersecrets</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Configuration.Xml.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration" />
- <Reference Include="Microsoft.Extensions.Configuration.FileExtensions" />
- <Reference Include="System.Security.Cryptography.Xml" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.Xml.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.Xml.cs" />
<Reference Include="Microsoft.Extensions.Configuration" />
<Reference Include="Microsoft.Extensions.Configuration.FileExtensions" />
<Reference Include="System.Security.Cryptography.Xml" />
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Configuration
-{
- public static partial class XmlConfigurationExtensions
- {
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, Microsoft.Extensions.FileProviders.IFileProvider provider, string path, bool optional, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.Action<Microsoft.Extensions.Configuration.Xml.XmlConfigurationSource> configureSource) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path, bool optional) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlFile(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddXmlStream(this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.IO.Stream stream) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Configuration.Xml
-{
- public partial class XmlConfigurationProvider : Microsoft.Extensions.Configuration.FileConfigurationProvider
- {
- public XmlConfigurationProvider(Microsoft.Extensions.Configuration.Xml.XmlConfigurationSource source) : base (default(Microsoft.Extensions.Configuration.FileConfigurationSource)) { }
- public override void Load(System.IO.Stream stream) { }
- }
- public partial class XmlConfigurationSource : Microsoft.Extensions.Configuration.FileConfigurationSource
- {
- public XmlConfigurationSource() { }
- public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- }
- public partial class XmlDocumentDecryptor
- {
- public static readonly Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor Instance;
- protected XmlDocumentDecryptor() { }
- public System.Xml.XmlReader CreateDecryptingXmlReader(System.IO.Stream input, System.Xml.XmlReaderSettings settings) { throw null; }
- protected virtual System.Xml.XmlReader DecryptDocumentAndCreateXmlReader(System.Xml.XmlDocument document) { throw null; }
- }
- public partial class XmlStreamConfigurationProvider : Microsoft.Extensions.Configuration.StreamConfigurationProvider
- {
- public XmlStreamConfigurationProvider(Microsoft.Extensions.Configuration.Xml.XmlStreamConfigurationSource source) : base (default(Microsoft.Extensions.Configuration.StreamConfigurationSource)) { }
- public override void Load(System.IO.Stream stream) { }
- public static System.Collections.Generic.IDictionary<string, string> Read(System.IO.Stream stream, Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor decryptor) { throw null; }
- }
- public partial class XmlStreamConfigurationSource : Microsoft.Extensions.Configuration.StreamConfigurationSource
- {
- public XmlStreamConfigurationSource() { }
- public override Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder) { throw null; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>XML configuration provider implementation for Microsoft.Extensions.Configuration.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <PackageTags>$(PackageTags);xml</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Configuration.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Configuration.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Configuration.cs" />
<Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Configuration
-{
- public static partial class ChainedBuilderExtensions
- {
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config, bool shouldDisposeConfiguration) { throw null; }
- }
- public partial class ChainedConfigurationProvider : Microsoft.Extensions.Configuration.IConfigurationProvider, System.IDisposable
- {
- public ChainedConfigurationProvider(Microsoft.Extensions.Configuration.ChainedConfigurationSource source) { }
- public void Dispose() { }
- public System.Collections.Generic.IEnumerable<string> GetChildKeys(System.Collections.Generic.IEnumerable<string> earlierKeys, string parentPath) { throw null; }
- public Microsoft.Extensions.Primitives.IChangeToken GetReloadToken() { throw null; }
- public void Load() { }
- public void Set(string key, string value) { }
- public bool TryGet(string key, out string value) { throw null; }
- }
- public partial class ChainedConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
- {
- public ChainedConfigurationSource() { }
- public Microsoft.Extensions.Configuration.IConfiguration Configuration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool ShouldDisposeConfiguration { [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; }
- }
- public partial class ConfigurationBuilder : Microsoft.Extensions.Configuration.IConfigurationBuilder
- {
- public ConfigurationBuilder() { }
- public System.Collections.Generic.IDictionary<string, object> Properties { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Collections.Generic.IList<Microsoft.Extensions.Configuration.IConfigurationSource> Sources { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Configuration.IConfigurationBuilder Add(Microsoft.Extensions.Configuration.IConfigurationSource source) { throw null; }
- public Microsoft.Extensions.Configuration.IConfigurationRoot Build() { throw null; }
- }
- public partial class ConfigurationKeyComparer : System.Collections.Generic.IComparer<string>
- {
- public ConfigurationKeyComparer() { }
- public static Microsoft.Extensions.Configuration.ConfigurationKeyComparer Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public int Compare(string x, string y) { throw null; }
- }
- public abstract partial class ConfigurationProvider : Microsoft.Extensions.Configuration.IConfigurationProvider
- {
- protected ConfigurationProvider() { }
- protected System.Collections.Generic.IDictionary<string, string> Data { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public virtual System.Collections.Generic.IEnumerable<string> GetChildKeys(System.Collections.Generic.IEnumerable<string> earlierKeys, string parentPath) { throw null; }
- public Microsoft.Extensions.Primitives.IChangeToken GetReloadToken() { throw null; }
- public virtual void Load() { }
- protected void OnReload() { }
- public virtual void Set(string key, string value) { }
- public override string ToString() { throw null; }
- public virtual bool TryGet(string key, out string value) { throw null; }
- }
- public partial class ConfigurationReloadToken : Microsoft.Extensions.Primitives.IChangeToken
- {
- public ConfigurationReloadToken() { }
- public bool ActiveChangeCallbacks { get { throw null; } }
- public bool HasChanged { get { throw null; } }
- public void OnReload() { }
- public System.IDisposable RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
- }
- public partial class ConfigurationRoot : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationRoot, System.IDisposable
- {
- public ConfigurationRoot(System.Collections.Generic.IList<Microsoft.Extensions.Configuration.IConfigurationProvider> providers) { }
- public string this[string key] { get { throw null; } set { } }
- public System.Collections.Generic.IEnumerable<Microsoft.Extensions.Configuration.IConfigurationProvider> Providers { get { throw null; } }
- public void Dispose() { }
- public System.Collections.Generic.IEnumerable<Microsoft.Extensions.Configuration.IConfigurationSection> GetChildren() { throw null; }
- public Microsoft.Extensions.Primitives.IChangeToken GetReloadToken() { throw null; }
- public Microsoft.Extensions.Configuration.IConfigurationSection GetSection(string key) { throw null; }
- public void Reload() { }
- }
- public partial class ConfigurationSection : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationSection
- {
- public ConfigurationSection(Microsoft.Extensions.Configuration.IConfigurationRoot root, string path) { }
- public string this[string key] { get { throw null; } set { } }
- public string Key { get { throw null; } }
- public string Path { get { throw null; } }
- public string Value { get { throw null; } set { } }
- public System.Collections.Generic.IEnumerable<Microsoft.Extensions.Configuration.IConfigurationSection> GetChildren() { throw null; }
- public Microsoft.Extensions.Primitives.IChangeToken GetReloadToken() { throw null; }
- public Microsoft.Extensions.Configuration.IConfigurationSection GetSection(string key) { throw null; }
- }
- public static partial class MemoryConfigurationBuilderExtensions
- {
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder) { throw null; }
- public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> initialData) { throw null; }
- }
- public abstract partial class StreamConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider
- {
- public StreamConfigurationProvider(Microsoft.Extensions.Configuration.StreamConfigurationSource source) { }
- public Microsoft.Extensions.Configuration.StreamConfigurationSource Source { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public override void Load() { }
- public abstract void Load(System.IO.Stream stream);
- }
- public abstract partial class StreamConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
- {
- protected StreamConfigurationSource() { }
- public System.IO.Stream Stream { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public abstract Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder);
- }
-}
-namespace Microsoft.Extensions.Configuration.Memory
-{
- public partial class MemoryConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>>, System.Collections.IEnumerable
- {
- public MemoryConfigurationProvider(Microsoft.Extensions.Configuration.Memory.MemoryConfigurationSource source) { }
- public void Add(string key, string value) { }
- public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, string>> GetEnumerator() { throw null; }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- }
- public partial class MemoryConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
- {
- public MemoryConfigurationSource() { }
- public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> InitialData { [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; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.DependencyInjection.Abstractions.netstandard2.0.cs" />
-
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.DependencyInjection.Abstractions.cs" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Abstractions for dependency injection.
-Commonly used types:
-Microsoft.Extensions.DependencyInjection.IServiceCollection</Description>
<TargetFramework>netstandard2.0</TargetFramework>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>dependencyinjection;di</PackageTags>
<DefineConstants>$(DefineConstants);ActivatorUtilities_In_DependencyInjection</DefineConstants>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);netstandard2.0;netstandard2.1</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.DependencyInjection.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.DependencyInjection.cs" />
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.DependencyInjection.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<Reference Include="Microsoft.Bcl.AsyncInterfaces" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
- <Compile Include="Microsoft.Extensions.DependencyInjection.netstandard2.1.cs" />
- <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
- </ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.DependencyInjection
-{
- public partial class DefaultServiceProviderFactory : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<Microsoft.Extensions.DependencyInjection.IServiceCollection>
- {
- public DefaultServiceProviderFactory() { }
- public DefaultServiceProviderFactory(Microsoft.Extensions.DependencyInjection.ServiceProviderOptions options) { }
- public Microsoft.Extensions.DependencyInjection.IServiceCollection CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
- public System.IServiceProvider CreateServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection containerBuilder) { throw null; }
- }
- public partial class ServiceCollection : Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IList<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.IEnumerable
- {
- public ServiceCollection() { }
- public int Count { get { throw null; } }
- public bool IsReadOnly { get { throw null; } }
- public Microsoft.Extensions.DependencyInjection.ServiceDescriptor this[int index] { get { throw null; } set { } }
- public void Clear() { }
- public bool Contains(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { throw null; }
- public void CopyTo(Microsoft.Extensions.DependencyInjection.ServiceDescriptor[] array, int arrayIndex) { }
- public System.Collections.Generic.IEnumerator<Microsoft.Extensions.DependencyInjection.ServiceDescriptor> GetEnumerator() { throw null; }
- public int IndexOf(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { throw null; }
- public void Insert(int index, Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { }
- public bool Remove(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { throw null; }
- public void RemoveAt(int index) { }
- void System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>.Add(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- }
- public static partial class ServiceCollectionContainerBuilderExtensions
- {
- public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.DependencyInjection.ServiceProviderOptions options) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, bool validateScopes) { throw null; }
- }
- public sealed partial class ServiceProvider : System.IAsyncDisposable, System.IDisposable, System.IServiceProvider
- {
- internal ServiceProvider() { }
- public void Dispose() { }
- public System.Threading.Tasks.ValueTask DisposeAsync() { throw null; }
- public object GetService(System.Type serviceType) { throw null; }
- }
- public partial class ServiceProviderOptions
- {
- public ServiceProviderOptions() { }
- public bool ValidateOnBuild { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool ValidateScopes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.DependencyInjection
-{
- public partial class DefaultServiceProviderFactory : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<Microsoft.Extensions.DependencyInjection.IServiceCollection>
- {
- public DefaultServiceProviderFactory() { }
- public DefaultServiceProviderFactory(Microsoft.Extensions.DependencyInjection.ServiceProviderOptions options) { }
- public Microsoft.Extensions.DependencyInjection.IServiceCollection CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
- public System.IServiceProvider CreateServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection containerBuilder) { throw null; }
- }
- public partial class ServiceCollection : Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IList<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.IEnumerable
- {
- public ServiceCollection() { }
- public int Count { get { throw null; } }
- public bool IsReadOnly { get { throw null; } }
- public Microsoft.Extensions.DependencyInjection.ServiceDescriptor this[int index] { get { throw null; } set { } }
- public void Clear() { }
- public bool Contains(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { throw null; }
- public void CopyTo(Microsoft.Extensions.DependencyInjection.ServiceDescriptor[] array, int arrayIndex) { }
- public System.Collections.Generic.IEnumerator<Microsoft.Extensions.DependencyInjection.ServiceDescriptor> GetEnumerator() { throw null; }
- public int IndexOf(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { throw null; }
- public void Insert(int index, Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { }
- public bool Remove(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { throw null; }
- public void RemoveAt(int index) { }
- void System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>.Add(Microsoft.Extensions.DependencyInjection.ServiceDescriptor item) { }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- }
- public static partial class ServiceCollectionContainerBuilderExtensions
- {
- public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.DependencyInjection.ServiceProviderOptions options) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.ServiceProvider BuildServiceProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, bool validateScopes) { throw null; }
- }
- public sealed partial class ServiceProvider : System.IAsyncDisposable, System.IDisposable, System.IServiceProvider
- {
- internal ServiceProvider() { }
- public void Dispose() { }
- public System.Threading.Tasks.ValueTask DisposeAsync() { throw null; }
- public object GetService(System.Type serviceType) { throw null; }
- }
- public partial class ServiceProviderOptions
- {
- public ServiceProviderOptions() { }
- public bool ValidateOnBuild { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool ValidateScopes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.</Description>
<TargetFrameworks>$(DefaultNetCoreTargetFramework);net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>dependencyinjection;di</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
<ILEmitBackend Condition="$(TargetFramework) != 'netstandard2.0'">True</ILEmitBackend>
<DefineConstants Condition="'$(ILEmitBackend)' == 'True'">$(DefineConstants);IL_EMIT</DefineConstants>
<Import Project="$(MSBuildThisFileDirectory)..\..\Logging.Testing\src\build\Microsoft.Extensions.Logging.Testing.props" />
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
<RootNamespace>Microsoft.Extensions.DependencyInjection</RootNamespace>
</PropertyGroup>
--- /dev/null
+<Project DefaultTargets="Build">
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
+ <ItemGroup>
+ <ProjectReference Include="..\src\Microsoft.Extensions.FileProviders.Abstractions.csproj">
+ <SupportedFramework>net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks)</SupportedFramework>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
+</Project>
\ No newline at end of file
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+// ------------------------------------------------------------------------------
+// Changes to this file must follow the https://aka.ms/api-review process.
+// ------------------------------------------------------------------------------
namespace Microsoft.Extensions.FileProviders
{
{
public NotFoundDirectoryContents() { }
public bool Exists { get { throw null; } }
- public static Microsoft.Extensions.FileProviders.NotFoundDirectoryContents Singleton { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public static Microsoft.Extensions.FileProviders.NotFoundDirectoryContents Singleton { get { throw null; } }
public System.Collections.Generic.IEnumerator<Microsoft.Extensions.FileProviders.IFileInfo> GetEnumerator() { throw null; }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
}
public bool IsDirectory { get { throw null; } }
public System.DateTimeOffset LastModified { get { throw null; } }
public long Length { get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public string Name { get { throw null; } }
public string PhysicalPath { get { throw null; } }
public System.IO.Stream CreateReadStream() { throw null; }
}
internal NullChangeToken() { }
public bool ActiveChangeCallbacks { get { throw null; } }
public bool HasChanged { get { throw null; } }
- public static Microsoft.Extensions.FileProviders.NullChangeToken Singleton { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public static Microsoft.Extensions.FileProviders.NullChangeToken Singleton { get { throw null; } }
public System.IDisposable RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
}
public partial class NullFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.FileProviders.Abstractions.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Primitives" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.FileProviders.Abstractions.cs" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.FileProviders.Abstractions.netcoreapp.cs" />
- <Reference Include="Microsoft.Extensions.Primitives" />
+ <ItemGroup>
+ <ProjectReference Include="..\..\Microsoft.Extensions.Primitives\ref\Microsoft.Extensions.Primitives.csproj" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.FileProviders
-{
- public partial interface IDirectoryContents : System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>, System.Collections.IEnumerable
- {
- bool Exists { get; }
- }
- public partial interface IFileInfo
- {
- bool Exists { get; }
- bool IsDirectory { get; }
- System.DateTimeOffset LastModified { get; }
- long Length { get; }
- string Name { get; }
- string PhysicalPath { get; }
- System.IO.Stream CreateReadStream();
- }
- public partial interface IFileProvider
- {
- Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath);
- Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath);
- Microsoft.Extensions.Primitives.IChangeToken Watch(string filter);
- }
- public partial class NotFoundDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>, System.Collections.IEnumerable
- {
- public NotFoundDirectoryContents() { }
- public bool Exists { get { throw null; } }
- public static Microsoft.Extensions.FileProviders.NotFoundDirectoryContents Singleton { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Collections.Generic.IEnumerator<Microsoft.Extensions.FileProviders.IFileInfo> GetEnumerator() { throw null; }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- }
- public partial class NotFoundFileInfo : Microsoft.Extensions.FileProviders.IFileInfo
- {
- public NotFoundFileInfo(string name) { }
- public bool Exists { get { throw null; } }
- public bool IsDirectory { get { throw null; } }
- public System.DateTimeOffset LastModified { get { throw null; } }
- public long Length { get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string PhysicalPath { get { throw null; } }
- public System.IO.Stream CreateReadStream() { throw null; }
- }
- public partial class NullChangeToken : Microsoft.Extensions.Primitives.IChangeToken
- {
- internal NullChangeToken() { }
- public bool ActiveChangeCallbacks { get { throw null; } }
- public bool HasChanged { get { throw null; } }
- public static Microsoft.Extensions.FileProviders.NullChangeToken Singleton { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.IDisposable RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
- }
- public partial class NullFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
- {
- public NullFileProvider() { }
- public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) { throw null; }
- public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath) { throw null; }
- public Microsoft.Extensions.Primitives.IChangeToken Watch(string filter) { throw null; }
- }
-}
<PropertyGroup>
<RootNamespace>Microsoft.Extensions.FileProviders</RootNamespace>
- <Description>Abstractions of files and directories.
-Commonly used types:
-Microsoft.Extensions.FileProviders.IDirectoryContents
-Microsoft.Extensions.FileProviders.IFileInfo
-Microsoft.Extensions.FileProviders.IFileProvider</Description>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
- <Compile Include="$(SharedSourceRoot)EmptyDisposable.cs" />
+ <Compile Include="$(CommonPath)Extensions\EmptyDisposable.cs">
+ <Link>Common\src\Extensions\EmptyDisposable.cs</Link>
+ </Compile>
+ <Compile Include="**\*.cs" />
</ItemGroup>
<ItemGroup>
+ <Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
<Reference Include="Microsoft.Extensions.Primitives" />
</ItemGroup>
--- /dev/null
+<Project DefaultTargets="Build">
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
+ <ItemGroup>
+ <ProjectReference Include="..\src\Microsoft.Extensions.FileProviders.Composite.csproj">
+ <SupportedFramework>net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks)</SupportedFramework>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
+</Project>
\ No newline at end of file
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+// ------------------------------------------------------------------------------
+// Changes to this file must follow the https://aka.ms/api-review process.
+// ------------------------------------------------------------------------------
namespace Microsoft.Extensions.FileProviders
{
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <RootNamespace>Microsoft.Extensions.FileProviders</RootNamespace>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.FileProviders.Composite.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.FileProviders.Composite.cs" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.FileProviders.Composite.netcoreapp.cs" />
- <Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
+ <ItemGroup>
+ <ProjectReference Include="..\..\Microsoft.Extensions.FileProviders.Abstractions\ref\Microsoft.Extensions.FileProviders.Abstractions.csproj" />
+ <ProjectReference Include="..\..\Microsoft.Extensions.Primitives\ref\Microsoft.Extensions.Primitives.csproj" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.FileProviders
-{
- public partial class CompositeFileProvider : Microsoft.Extensions.FileProviders.IFileProvider
- {
- public CompositeFileProvider(params Microsoft.Extensions.FileProviders.IFileProvider[] fileProviders) { }
- public CompositeFileProvider(System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileProvider> fileProviders) { }
- public System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileProvider> FileProviders { get { throw null; } }
- public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) { throw null; }
- public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath) { throw null; }
- public Microsoft.Extensions.Primitives.IChangeToken Watch(string pattern) { throw null; }
- }
-}
-namespace Microsoft.Extensions.FileProviders.Composite
-{
- public partial class CompositeDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>, System.Collections.IEnumerable
- {
- public CompositeDirectoryContents(System.Collections.Generic.IList<Microsoft.Extensions.FileProviders.IFileProvider> fileProviders, string subpath) { }
- public bool Exists { get { throw null; } }
- public System.Collections.Generic.IEnumerator<Microsoft.Extensions.FileProviders.IFileInfo> GetEnumerator() { throw null; }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- }
-}
<PropertyGroup>
<RootNamespace>Microsoft.Extensions.FileProviders</RootNamespace>
- <Description>Composite file and directory providers for Microsoft.Extensions.FileProviders.</Description>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
+ <Compile Include="**\*.cs" />
+ </ItemGroup>
+
+ <ItemGroup>
<Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
+ <Reference Include="Microsoft.Extensions.Primitives" />
</ItemGroup>
</Project>
<PropertyGroup>
<RootNamespace>Microsoft.Extensions.FileProviders.Composite</RootNamespace>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
- <Compile Include="..\..\Shared\**\*.cs" />
+ <Compile Include="**\*.cs" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Moq" Version="$(MoqVersion)" />
</ItemGroup>
<ItemGroup>
--- /dev/null
+<Project DefaultTargets="Build">
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
+ <ItemGroup>
+ <ProjectReference Include="..\src\Microsoft.Extensions.FileProviders.Physical.csproj">
+ <SupportedFramework>net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks)</SupportedFramework>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
+</Project>
\ No newline at end of file
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+// ------------------------------------------------------------------------------
+// Changes to this file must follow the https://aka.ms/api-review process.
+// ------------------------------------------------------------------------------
namespace Microsoft.Extensions.FileProviders
{
{
public PhysicalFileProvider(string root) { }
public PhysicalFileProvider(string root, Microsoft.Extensions.FileProviders.Physical.ExclusionFilters filters) { }
- public string Root { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public string Root { get { throw null; } }
public bool UseActivePolling { get { throw null; } set { } }
public bool UsePollingFileWatcher { get { throw null; } set { } }
public void Dispose() { }
public partial class PollingFileChangeToken : Microsoft.Extensions.Primitives.IChangeToken
{
public PollingFileChangeToken(System.IO.FileInfo fileInfo) { }
- public bool ActiveChangeCallbacks { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public bool ActiveChangeCallbacks { get { throw null; } }
public bool HasChanged { get { throw null; } }
public System.IDisposable RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
}
public partial class PollingWildCardChangeToken : Microsoft.Extensions.Primitives.IChangeToken
{
public PollingWildCardChangeToken(string root, string pattern) { }
- public bool ActiveChangeCallbacks { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public bool ActiveChangeCallbacks { get { throw null; } }
public bool HasChanged { get { throw null; } }
protected virtual System.DateTime GetLastWriteUtc(string path) { throw null; }
System.IDisposable Microsoft.Extensions.Primitives.IChangeToken.RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.FileProviders.Physical.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
- <Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.FileProviders.Physical.cs" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.FileProviders.Physical.netcoreapp.cs" />
- <Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
- <Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
+ <ItemGroup>
+ <ProjectReference Include="..\..\Microsoft.Extensions.FileProviders.Abstractions\ref\Microsoft.Extensions.FileProviders.Abstractions.csproj" />
+ <ProjectReference Include="..\..\Microsoft.Extensions.FileSystemGlobbing\ref\Microsoft.Extensions.FileSystemGlobbing.csproj" />
+ <ProjectReference Include="..\..\Microsoft.Extensions.Primitives\ref\Microsoft.Extensions.Primitives.csproj" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.FileProviders
-{
- public partial class PhysicalFileProvider : Microsoft.Extensions.FileProviders.IFileProvider, System.IDisposable
- {
- public PhysicalFileProvider(string root) { }
- public PhysicalFileProvider(string root, Microsoft.Extensions.FileProviders.Physical.ExclusionFilters filters) { }
- public string Root { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public bool UseActivePolling { get { throw null; } set { } }
- public bool UsePollingFileWatcher { get { throw null; } set { } }
- public void Dispose() { }
- protected virtual void Dispose(bool disposing) { }
- ~PhysicalFileProvider() { }
- public Microsoft.Extensions.FileProviders.IDirectoryContents GetDirectoryContents(string subpath) { throw null; }
- public Microsoft.Extensions.FileProviders.IFileInfo GetFileInfo(string subpath) { throw null; }
- public Microsoft.Extensions.Primitives.IChangeToken Watch(string filter) { throw null; }
- }
-}
-namespace Microsoft.Extensions.FileProviders.Internal
-{
- public partial class PhysicalDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>, System.Collections.IEnumerable
- {
- public PhysicalDirectoryContents(string directory) { }
- public PhysicalDirectoryContents(string directory, Microsoft.Extensions.FileProviders.Physical.ExclusionFilters filters) { }
- public bool Exists { get { throw null; } }
- public System.Collections.Generic.IEnumerator<Microsoft.Extensions.FileProviders.IFileInfo> GetEnumerator() { throw null; }
- System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
- }
-}
-namespace Microsoft.Extensions.FileProviders.Physical
-{
- [System.FlagsAttribute]
- public enum ExclusionFilters
- {
- None = 0,
- DotPrefixed = 1,
- Hidden = 2,
- System = 4,
- Sensitive = 7,
- }
- public partial class PhysicalDirectoryInfo : Microsoft.Extensions.FileProviders.IFileInfo
- {
- public PhysicalDirectoryInfo(System.IO.DirectoryInfo info) { }
- public bool Exists { get { throw null; } }
- public bool IsDirectory { get { throw null; } }
- public System.DateTimeOffset LastModified { get { throw null; } }
- public long Length { get { throw null; } }
- public string Name { get { throw null; } }
- public string PhysicalPath { get { throw null; } }
- public System.IO.Stream CreateReadStream() { throw null; }
- }
- public partial class PhysicalFileInfo : Microsoft.Extensions.FileProviders.IFileInfo
- {
- public PhysicalFileInfo(System.IO.FileInfo info) { }
- public bool Exists { get { throw null; } }
- public bool IsDirectory { get { throw null; } }
- public System.DateTimeOffset LastModified { get { throw null; } }
- public long Length { get { throw null; } }
- public string Name { get { throw null; } }
- public string PhysicalPath { get { throw null; } }
- public System.IO.Stream CreateReadStream() { throw null; }
- }
- public partial class PhysicalFilesWatcher : System.IDisposable
- {
- public PhysicalFilesWatcher(string root, System.IO.FileSystemWatcher fileSystemWatcher, bool pollForChanges) { }
- public PhysicalFilesWatcher(string root, System.IO.FileSystemWatcher fileSystemWatcher, bool pollForChanges, Microsoft.Extensions.FileProviders.Physical.ExclusionFilters filters) { }
- public Microsoft.Extensions.Primitives.IChangeToken CreateFileChangeToken(string filter) { throw null; }
- public void Dispose() { }
- protected virtual void Dispose(bool disposing) { }
- ~PhysicalFilesWatcher() { }
- }
- public partial class PollingFileChangeToken : Microsoft.Extensions.Primitives.IChangeToken
- {
- public PollingFileChangeToken(System.IO.FileInfo fileInfo) { }
- public bool ActiveChangeCallbacks { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public bool HasChanged { get { throw null; } }
- public System.IDisposable RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
- }
- public partial class PollingWildCardChangeToken : Microsoft.Extensions.Primitives.IChangeToken
- {
- public PollingWildCardChangeToken(string root, string pattern) { }
- public bool ActiveChangeCallbacks { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public bool HasChanged { get { throw null; } }
- protected virtual System.DateTime GetLastWriteUtc(string path) { throw null; }
- System.IDisposable Microsoft.Extensions.Primitives.IChangeToken.RegisterChangeCallback(System.Action<object> callback, object state) { throw null; }
- }
-}
<PropertyGroup>
<RootNamespace>Microsoft.Extensions.FileProviders</RootNamespace>
- <Description>File provider for physical files for Microsoft.Extensions.FileProviders.</Description>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
- <InternalsVisibleTo Include="Microsoft.Extensions.FileProviders.Physical.Tests" />
- <InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
- </ItemGroup>
-
- <ItemGroup>
- <Compile Include="$(SharedSourceRoot)EmptyDisposable.cs" />
- <Compile Include="$(SharedSourceRoot)NonCapturingTimer\*.cs" />
+ <Compile Include="$(CommonPath)Extensions\EmptyDisposable.cs">
+ <Link>Common\src\Extensions\EmptyDisposable.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonPath)Extensions\NonCapturingTimer\NonCapturingTimer.cs">
+ <Link>Common\src\Extensions\NonCapturingTimer\NonCapturingTimer.cs</Link>
+ </Compile>
+ <Compile Include="**\*.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
<Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
+ <Reference Include="Microsoft.Extensions.Primitives" />
</ItemGroup>
</Project>
--- /dev/null
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System.Runtime.CompilerServices;
+
+[assembly: InternalsVisibleTo("Microsoft.Extensions.FileProviders.Physical.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")]
+[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
<PropertyGroup>
<RootNamespace>Microsoft.Extensions.FileProviders.Physical</RootNamespace>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
+ <Compile Include="**\*.cs" />
+ <Compile Include="$(CommonTestPath)Extensions\TestingUtils\Microsoft.AspNetCore.Testing\src\xunit\ITestCondition.cs">
+ <Link>Common\tests\Extensions\TestingUtils\Microsoft.AspNetCore.Testing\src\xunit\ITestCondition.cs</Link>
+ </Compile>
+ <Compile Include="$(CommonTestPath)Extensions\TestingUtils\Microsoft.AspNetCore.Testing\src\TaskExtensions.cs">
+ <Link>Common\tests\Extensions\TestingUtils\Microsoft.AspNetCore.Testing\src\TaskExtensions.cs</Link>
+ </Compile>
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Moq" Version="$(MoqVersion)" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <!-- Some internal types are needed, so we reference the implementation assembly, rather than the reference assembly. -->
+ <DefaultReferenceExclusions Include="Microsoft.Extensions.FileProviders.Physical" />
+ <ReferenceFromRuntime Include="Microsoft.Extensions.FileProviders.Physical" />
+ </ItemGroup>
+
+ <ItemGroup>
<Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
<Reference Include="Microsoft.Extensions.FileProviders.Physical" />
<Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
}
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/")]
[InlineData("///")]
[InlineData("/\\/")]
[InlineData("\\/\\/")]
+ // Testing Windows specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetFileInfoReturnsPhysicalFileInfoForValidPathsWithLeadingSlashes_Windows(string path)
{
GetFileInfoReturnsPhysicalFileInfoForValidPathsWithLeadingSlashes(path);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows, SkipReason = "Testing Unix specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/")]
[InlineData("///")]
+ // Testing Unix specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public void GetFileInfoReturnsPhysicalFileInfoForValidPathsWithLeadingSlashes_Unix(string path)
{
GetFileInfoReturnsPhysicalFileInfoForValidPathsWithLeadingSlashes(path);
}
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/C:\\Windows\\System32")]
[InlineData("/\0/")]
+ // Testing Windows specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetFileInfoReturnsNotFoundFileInfoForIllegalPathWithLeadingSlashes_Windows(string path)
{
GetFileInfoReturnsNotFoundFileInfoForIllegalPathWithLeadingSlashes(path);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows, SkipReason = "Testing Unix specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/\0/")]
+ // Testing Unix specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public void GetFileInfoReturnsNotFoundFileInfoForIllegalPathWithLeadingSlashes_Unix(string path)
{
GetFileInfoReturnsNotFoundFileInfoForIllegalPathWithLeadingSlashes(path);
}
}
- [ConditionalFact]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Paths starting with / are considered relative.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Paths starting with / are considered relative.")]
+ [Fact]
+ // Paths starting with / are considered relative.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetFileInfoReturnsNotFoundFileInfoForAbsolutePath()
{
using (var provider = new PhysicalFileProvider(Path.GetTempPath()))
}
}
- [ConditionalFact]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Hidden and system files only make sense on Windows.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Hidden and system files only make sense on Windows.")]
+ [Fact]
+ // Hidden and system files only make sense on Windows.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetFileInfoReturnsNotFoundFileInfoForHiddenFile()
{
using (var root = new DisposableFileSystem())
}
}
- [ConditionalFact]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Hidden and system files only make sense on Windows.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Hidden and system files only make sense on Windows.")]
+ [Fact]
+ // Hidden and system files only make sense on Windows.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetFileInfoReturnsNotFoundFileInfoForSystemFile()
{
using (var root = new DisposableFileSystem())
}
// On Unix the minimum invalid file path characters are / and \0
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux)]
- [OSSkipCondition(OperatingSystems.MacOSX)]
+ [Theory]
[InlineData("/test:test")]
[InlineData("/dir/name\"")]
[InlineData("/dir>/name")]
+ [PlatformSpecific(TestPlatforms.Windows)]
public void InvalidPath_DoesNotThrowWindows_GetFileInfo(string path)
{
InvalidPath_DoesNotThrowGeneric_GetFileInfo(path);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows)]
+ [Theory]
[InlineData("/test:test\0")]
[InlineData("/dir/\0name\"")]
[InlineData("/dir>/name\0")]
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public void InvalidPath_DoesNotThrowUnix_GetFileInfo(string path)
{
InvalidPath_DoesNotThrowGeneric_GetFileInfo(path);
}
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux)]
- [OSSkipCondition(OperatingSystems.MacOSX)]
+ [Theory]
[InlineData("/test:test")]
[InlineData("/dir/name\"")]
[InlineData("/dir>/name")]
+ [PlatformSpecific(TestPlatforms.Windows)]
public void InvalidPath_DoesNotThrowWindows_GetDirectoryContents(string path)
{
InvalidPath_DoesNotThrowGeneric_GetDirectoryContents(path);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows)]
+ [Theory]
[InlineData("/test:test\0")]
[InlineData("/dir/\0name\"")]
[InlineData("/dir>/name\0")]
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public void InvalidPath_DoesNotThrowUnix_GetDirectoryContents(string path)
{
InvalidPath_DoesNotThrowGeneric_GetDirectoryContents(path);
}
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/")]
[InlineData("///")]
[InlineData("/\\/")]
[InlineData("\\/\\/")]
+ // Testing Windows specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetDirectoryContentsReturnsEnumerableDirectoryContentsForValidPathWithLeadingSlashes_Windows(string path)
{
GetDirectoryContentsReturnsEnumerableDirectoryContentsForValidPathWithLeadingSlashes(path);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows, SkipReason = "Testing Unix specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/")]
[InlineData("///")]
+ // Testing Unix specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public void GetDirectoryContentsReturnsEnumerableDirectoryContentsForValidPathWithLeadingSlashes_Unix(string path)
{
GetDirectoryContentsReturnsEnumerableDirectoryContentsForValidPathWithLeadingSlashes(path);
}
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/C:\\Windows\\System32")]
[InlineData("/\0/")]
[MemberData(nameof(InvalidPaths))]
+ // Testing Windows specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetDirectoryContentsReturnsNotFoundDirectoryContentsForInvalidPath_Windows(string path)
{
GetDirectoryContentsReturnsNotFoundDirectoryContentsForInvalidPath(path);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows, SkipReason = "Testing Unix specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/\0/")]
[InlineData("/\\/")]
[InlineData("\\/\\/")]
[MemberData(nameof(InvalidPaths))]
+ // Testing Unix specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public void GetDirectoryContentsReturnsNotFoundDirectoryContentsForInvalidPath_Unix(string path)
{
GetDirectoryContentsReturnsNotFoundDirectoryContentsForInvalidPath(path);
}
}
- [ConditionalFact]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Hidden and system files only make sense on Windows.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Hidden and system files only make sense on Windows.")]
+ [Fact]
+ // Hidden and system files only make sense on Windows.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetDirectoryContentsDoesNotReturnFileInfoForHiddenFile()
{
using (var root = new DisposableFileSystem())
}
}
- [ConditionalFact]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Hidden and system files only make sense on Windows.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Hidden and system files only make sense on Windows.")]
+ [Fact]
+ // Hidden and system files only make sense on Windows.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void GetDirectoryContentsDoesNotReturnFileInfoForSystemFile()
{
using (var root = new DisposableFileSystem())
}
}
- [ConditionalFact]
- [OSSkipCondition(OperatingSystems.Linux,
- SkipReason = "We treat forward slash differently so rooted path can happen only on windows.")]
- [OSSkipCondition(OperatingSystems.MacOSX,
- SkipReason = "We treat forward slash differently so rooted path can happen only on windows.")]
+ [Fact]
+ // We treat forward slash differently so rooted path can happen only on windows.
+ [PlatformSpecific(TestPlatforms.Windows)]
public void NoopChangeTokenForAbsolutePathFilters()
{
using (var root = new DisposableFileSystem())
}
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/")]
[InlineData("///")]
[InlineData("/\\/")]
[InlineData("\\/\\/")]
+ // Testing Windows specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.Windows)]
public async Task TokenFiredForRelativePathStartingWithSlash_Windows(string slashes)
{
await TokenFiredForRelativePathStartingWithSlash(slashes);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows, SkipReason = "Testing Unix specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/")]
[InlineData("///")]
+ // Testing Unix specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public async Task TokenFiredForRelativePathStartingWithSlash_Unix(string slashes)
{
await TokenFiredForRelativePathStartingWithSlash(slashes);
}
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Testing Windows specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/C:\\Windows\\System32")]
[InlineData("/\0/")]
+ // Testing Windows specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.Windows)]
public async Task TokenNotFiredForInvalidPathStartingWithSlash_Windows(string slashes)
{
await TokenNotFiredForInvalidPathStartingWithSlash(slashes);
}
- [ConditionalTheory]
- [OSSkipCondition(OperatingSystems.Windows, SkipReason = "Testing Unix specific behaviour on leading slashes.")]
+ [Theory]
[InlineData("/\0/")]
+ // Testing Unix specific behaviour on leading slashes.
+ [PlatformSpecific(TestPlatforms.AnyUnix)]
public async Task TokenNotFiredForInvalidPathStartingWithSlash_Unix(string slashes)
{
await TokenNotFiredForInvalidPathStartingWithSlash(slashes);
}
}
- [ConditionalFact]
- [OSSkipCondition(OperatingSystems.Linux, SkipReason = "Hidden and system files only make sense on Windows.")]
- [OSSkipCondition(OperatingSystems.MacOSX, SkipReason = "Hidden and system files only make sense on Windows.")]
+ [Fact]
+ // Hidden and system files only make sense on Windows.
+ [PlatformSpecific(TestPlatforms.Windows)]
public async Task TokensNotFiredForHiddenAndSystemFiles()
{
using (var root = new DisposableFileSystem())
--- /dev/null
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29827.131
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1A2F9F4A-A032-433E-B914-ADD5992BB178}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E107E9C1-E893-4E87-987E-04EF0DCEAEFD}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{2E666815-2EDB-464B-9DF6-380BF4789AD4}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.FileSystemGlobbing.Tests", "tests\Microsoft.Extensions.FileSystemGlobbing.Tests.csproj", "{5E9F6F6C-6B42-42FC-A2C0-2D63B01351F1}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.FileSystemGlobbing", "src\Microsoft.Extensions.FileSystemGlobbing.csproj", "{58A26DC9-8A10-4F32-927C-D6E2A1B99E1B}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.FileSystemGlobbing", "ref\Microsoft.Extensions.FileSystemGlobbing.csproj", "{49CB4AB9-5D76-481D-9FFA-458C9AC394EF}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5E9F6F6C-6B42-42FC-A2C0-2D63B01351F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5E9F6F6C-6B42-42FC-A2C0-2D63B01351F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5E9F6F6C-6B42-42FC-A2C0-2D63B01351F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5E9F6F6C-6B42-42FC-A2C0-2D63B01351F1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {58A26DC9-8A10-4F32-927C-D6E2A1B99E1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {58A26DC9-8A10-4F32-927C-D6E2A1B99E1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {58A26DC9-8A10-4F32-927C-D6E2A1B99E1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {58A26DC9-8A10-4F32-927C-D6E2A1B99E1B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {49CB4AB9-5D76-481D-9FFA-458C9AC394EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {49CB4AB9-5D76-481D-9FFA-458C9AC394EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {49CB4AB9-5D76-481D-9FFA-458C9AC394EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {49CB4AB9-5D76-481D-9FFA-458C9AC394EF}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {5E9F6F6C-6B42-42FC-A2C0-2D63B01351F1} = {1A2F9F4A-A032-433E-B914-ADD5992BB178}
+ {58A26DC9-8A10-4F32-927C-D6E2A1B99E1B} = {E107E9C1-E893-4E87-987E-04EF0DCEAEFD}
+ {49CB4AB9-5D76-481D-9FFA-458C9AC394EF} = {2E666815-2EDB-464B-9DF6-380BF4789AD4}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {904B2FDB-F1D7-4CE0-B0CD-FFDF8C51FDF8}
+ EndGlobalSection
+EndGlobal
--- /dev/null
+<Project DefaultTargets="Build">
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
+ <ItemGroup>
+ <ProjectReference Include="..\src\Microsoft.Extensions.FileSystemGlobbing.csproj">
+ <SupportedFramework>net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks)</SupportedFramework>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
+</Project>
\ No newline at end of file
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+// ------------------------------------------------------------------------------
+// Changes to this file must follow the https://aka.ms/api-review process.
+// ------------------------------------------------------------------------------
namespace Microsoft.Extensions.FileSystemGlobbing
{
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public partial struct FilePatternMatch : System.IEquatable<Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch>
{
private object _dummy;
private int _dummyPrimitive;
public FilePatternMatch(string path, string stem) { throw null; }
- public string Path { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Stem { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public readonly string Path { get { throw null; } }
+ public readonly string Stem { get { throw null; } }
public bool Equals(Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch other) { throw null; }
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
public partial class InMemoryDirectoryInfo : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase
{
public InMemoryDirectoryInfo(string rootDir, System.Collections.Generic.IEnumerable<string> files) { }
- public override string FullName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public override string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public override string FullName { get { throw null; } }
+ public override string Name { get { throw null; } }
public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase ParentDirectory { get { throw null; } }
public override System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase> EnumerateFileSystemInfos() { throw null; }
public override Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase GetDirectory(string path) { throw null; }
{
public PatternMatchingResult(System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch> files) { }
public PatternMatchingResult(System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch> files, bool hasMatches) { }
- public System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch> Files { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool HasMatches { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch> Files { get { throw null; } set { } }
+ public bool HasMatches { get { throw null; } }
}
}
namespace Microsoft.Extensions.FileSystemGlobbing.Abstractions
public MatcherContext(System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern> includePatterns, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern> excludePatterns, Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directoryInfo, System.StringComparison comparison) { }
public Microsoft.Extensions.FileSystemGlobbing.PatternMatchingResult Execute() { throw null; }
}
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public partial struct PatternTestResult
{
private object _dummy;
private int _dummyPrimitive;
public static readonly Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Failed;
- public bool IsSuccessful { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Stem { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public readonly bool IsSuccessful { get { throw null; } }
+ public readonly string Stem { get { throw null; } }
public static Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Success(string stem) { throw null; }
}
}
{
public LiteralPathSegment(string value, System.StringComparison comparisonType) { }
public bool CanProduceStem { get { throw null; } }
- public string Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public string Value { get { throw null; } }
public override bool Equals(object obj) { throw null; }
public override int GetHashCode() { throw null; }
public bool Match(string value) { throw null; }
{
public static readonly Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.WildcardPathSegment MatchAll;
public WildcardPathSegment(string beginsWith, System.Collections.Generic.List<string> contains, string endsWith, System.StringComparison comparisonType) { }
- public string BeginsWith { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public string BeginsWith { get { throw null; } }
public bool CanProduceStem { get { throw null; } }
- public System.Collections.Generic.List<string> Contains { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string EndsWith { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public System.Collections.Generic.List<string> Contains { get { throw null; } }
+ public string EndsWith { get { throw null; } }
public bool Match(string value) { throw null; }
}
}
public abstract partial class PatternContextLinear : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext<Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextLinear.FrameData>
{
public PatternContextLinear(Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern pattern) { }
- protected Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern Pattern { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ protected Microsoft.Extensions.FileSystemGlobbing.Internal.ILinearPattern Pattern { get { throw null; } }
protected string CalculateStem(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase matchedFile) { throw null; }
protected bool IsLastSegment() { throw null; }
public override void PushDirectory(Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory) { }
public override Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase file) { throw null; }
protected bool TestMatchingSegment(string value) { throw null; }
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public partial struct FrameData
{
private object _dummy;
public abstract partial class PatternContextRagged : Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContext<Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.PatternContextRagged.FrameData>
{
public PatternContextRagged(Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern pattern) { }
- protected Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern Pattern { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ protected Microsoft.Extensions.FileSystemGlobbing.Internal.IRaggedPattern Pattern { get { throw null; } }
protected string CalculateStem(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase matchedFile) { throw null; }
protected bool IsEndingGroup() { throw null; }
protected bool IsStartingGroup() { throw null; }
public override Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Test(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase file) { throw null; }
protected bool TestMatchingGroup(Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase value) { throw null; }
protected bool TestMatchingSegment(string value) { throw null; }
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public partial struct FrameData
{
private object _dummy;
{
public PatternBuilder() { }
public PatternBuilder(System.StringComparison comparisonType) { }
- public System.StringComparison ComparisonType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
+ public System.StringComparison ComparisonType { get { throw null; } }
public Microsoft.Extensions.FileSystemGlobbing.Internal.IPattern Build(string pattern) { throw null; }
}
}
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.FileSystemGlobbing.netstandard2.0.cs" />
-
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.FileSystemGlobbing.cs" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <RootNamespace>Microsoft.Extensions.FileSystemGlobbing</RootNamespace>
- <AssemblyName>Microsoft.Extensions.FileSystemGlobbing</AssemblyName>
- <Description>File system globbing to find files matching a specified pattern.</Description>
- <TargetFramework>netstandard2.0</TargetFramework>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <PackageTags>files;filesystem;glob;globbing</PackageTags>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
- <InternalsVisibleTo Include="Microsoft.Extensions.FileSystemGlobbing.Tests" />
- </ItemGroup>
-
- <ItemGroup>
- <Compile Include="$(SharedSourceRoot)HashCodeCombiner\*.cs" />
+ <Compile Include="$(CommonPath)Extensions\HashCodeCombiner\HashCodeCombiner.cs">
+ <Link>Common\src\Extensions\HashCodeCombiner\HashCodeCombiner.cs</Link>
+ </Compile>
+ <Compile Include="**\*.cs"></Compile>
</ItemGroup>
</Project>
--- /dev/null
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System.Runtime.CompilerServices;
+
+[assembly: InternalsVisibleTo("Microsoft.Extensions.FileSystemGlobbing.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")]
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <RootNamespace>Microsoft.Extensions.FileSystemGlobbing</RootNamespace>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
</ItemGroup>
+ <ItemGroup>
+ <Compile Include="**\*.cs" />
+ </ItemGroup>
+
</Project>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Hosting.Abstractions.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
- <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
- <Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
- <Reference Include="Microsoft.Extensions.Logging.Abstractions" />
<Reference Include="Microsoft.Bcl.AsyncInterfaces" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Hosting.Abstractions.netcoreapp.cs" />
- <Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
- <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
- <Reference Include="Microsoft.Extensions.FileProviders.Abstractions" />
- <Reference Include="Microsoft.Extensions.Logging.Abstractions" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Hosting.Abstractions.cs" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.DependencyInjection
-{
- public static partial class ServiceCollectionHostedServiceExtensions
- {
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHostedService<THostedService>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where THostedService : class, Microsoft.Extensions.Hosting.IHostedService { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHostedService<THostedService>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Func<System.IServiceProvider, THostedService> implementationFactory) where THostedService : class, Microsoft.Extensions.Hosting.IHostedService { throw null; }
- }
-}
-namespace Microsoft.Extensions.Hosting
-{
- public abstract partial class BackgroundService : Microsoft.Extensions.Hosting.IHostedService, System.IDisposable
- {
- protected BackgroundService() { }
- public virtual void Dispose() { }
- protected abstract System.Threading.Tasks.Task ExecuteAsync(System.Threading.CancellationToken stoppingToken);
- public virtual System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public virtual System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- }
- [System.ObsoleteAttribute("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.", false)]
- public static partial class EnvironmentName
- {
- public static readonly string Development;
- public static readonly string Production;
- public static readonly string Staging;
- }
- public static partial class Environments
- {
- public static readonly string Development;
- public static readonly string Production;
- public static readonly string Staging;
- }
- public partial class HostBuilderContext
- {
- public HostBuilderContext(System.Collections.Generic.IDictionary<object, object> properties) { }
- public Microsoft.Extensions.Configuration.IConfiguration Configuration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public Microsoft.Extensions.Hosting.IHostEnvironment HostingEnvironment { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public System.Collections.Generic.IDictionary<object, object> Properties { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
- public static partial class HostDefaults
- {
- public static readonly string ApplicationKey;
- public static readonly string ContentRootKey;
- public static readonly string EnvironmentKey;
- }
- public static partial class HostEnvironmentEnvExtensions
- {
- public static bool IsDevelopment(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment) { throw null; }
- public static bool IsEnvironment(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment, string environmentName) { throw null; }
- public static bool IsProduction(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment) { throw null; }
- public static bool IsStaging(this Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment) { throw null; }
- }
- public static partial class HostingAbstractionsHostBuilderExtensions
- {
- public static Microsoft.Extensions.Hosting.IHost Start(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder) { throw null; }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public static System.Threading.Tasks.Task<Microsoft.Extensions.Hosting.IHost> StartAsync(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- }
- public static partial class HostingAbstractionsHostExtensions
- {
- public static void Run(this Microsoft.Extensions.Hosting.IHost host) { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public static System.Threading.Tasks.Task RunAsync(this Microsoft.Extensions.Hosting.IHost host, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) { throw null; }
- public static void Start(this Microsoft.Extensions.Hosting.IHost host) { }
- public static System.Threading.Tasks.Task StopAsync(this Microsoft.Extensions.Hosting.IHost host, System.TimeSpan timeout) { throw null; }
- public static void WaitForShutdown(this Microsoft.Extensions.Hosting.IHost host) { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public static System.Threading.Tasks.Task WaitForShutdownAsync(this Microsoft.Extensions.Hosting.IHost host, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) { throw null; }
- }
- public static partial class HostingEnvironmentExtensions
- {
- public static bool IsDevelopment(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment) { throw null; }
- public static bool IsEnvironment(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment, string environmentName) { throw null; }
- public static bool IsProduction(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment) { throw null; }
- public static bool IsStaging(this Microsoft.Extensions.Hosting.IHostingEnvironment hostingEnvironment) { throw null; }
- }
- [System.ObsoleteAttribute("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.IHostApplicationLifetime.", false)]
- public partial interface IApplicationLifetime
- {
- System.Threading.CancellationToken ApplicationStarted { get; }
- System.Threading.CancellationToken ApplicationStopped { get; }
- System.Threading.CancellationToken ApplicationStopping { get; }
- void StopApplication();
- }
- public partial interface IHost : System.IDisposable
- {
- System.IServiceProvider Services { get; }
- System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
- System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
- }
- public partial interface IHostApplicationLifetime
- {
- System.Threading.CancellationToken ApplicationStarted { get; }
- System.Threading.CancellationToken ApplicationStopped { get; }
- System.Threading.CancellationToken ApplicationStopping { get; }
- void StopApplication();
- }
- public partial interface IHostBuilder
- {
- System.Collections.Generic.IDictionary<object, object> Properties { get; }
- Microsoft.Extensions.Hosting.IHost Build();
- Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
- Microsoft.Extensions.Hosting.IHostBuilder ConfigureContainer<TContainerBuilder>(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, TContainerBuilder> configureDelegate);
- Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostConfiguration(System.Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
- Microsoft.Extensions.Hosting.IHostBuilder ConfigureServices(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate);
- Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory<TContainerBuilder>(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder> factory);
- Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory<TContainerBuilder>(System.Func<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder>> factory);
- }
- public partial interface IHostedService
- {
- System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken);
- System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken);
- }
- public partial interface IHostEnvironment
- {
- string ApplicationName { get; set; }
- Microsoft.Extensions.FileProviders.IFileProvider ContentRootFileProvider { get; set; }
- string ContentRootPath { get; set; }
- string EnvironmentName { get; set; }
- }
- [System.ObsoleteAttribute("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.IHostEnvironment.", false)]
- public partial interface IHostingEnvironment
- {
- string ApplicationName { get; set; }
- Microsoft.Extensions.FileProviders.IFileProvider ContentRootFileProvider { get; set; }
- string ContentRootPath { get; set; }
- string EnvironmentName { get; set; }
- }
- public partial interface IHostLifetime
- {
- System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken);
- System.Threading.Tasks.Task WaitForStartAsync(System.Threading.CancellationToken cancellationToken);
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>.NET Core hosting and startup abstractions for applications.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>hosting</PackageTags>
<RootNamespace>Microsoft.Extensions.Hosting</RootNamespace>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;netstandard2.1;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Hosting.netstandard2.0.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Hosting.cs" />
<Reference Include="Microsoft.Extensions.Hosting.Abstractions" />
<Reference Include="Microsoft.Extensions.Configuration" />
<Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
<Reference Include="Microsoft.Extensions.Logging.EventLog" />
<Reference Include="Microsoft.Bcl.AsyncInterfaces" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
- <Compile Include="Microsoft.Extensions.Hosting.netstandard2.1.cs" />
- <Reference Include="Microsoft.Extensions.Hosting.Abstractions" />
- <Reference Include="Microsoft.Extensions.Configuration" />
- <Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
- <Reference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" />
- <Reference Include="Microsoft.Extensions.Configuration.UserSecrets" />
- <Reference Include="Microsoft.Extensions.DependencyInjection" />
- <Reference Include="Microsoft.Extensions.FileProviders.Physical" />
- <Reference Include="Microsoft.Extensions.Logging" />
- <Reference Include="Microsoft.Extensions.Logging.Console" />
- <Reference Include="Microsoft.Extensions.Logging.Debug" />
- <Reference Include="Microsoft.Extensions.Logging.EventSource" />
- <Reference Include="Microsoft.Extensions.Logging.EventLog" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Hosting.netcoreapp.cs" />
- <Reference Include="Microsoft.Extensions.Hosting.Abstractions" />
- <Reference Include="Microsoft.Extensions.Configuration" />
- <Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
- <Reference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" />
- <Reference Include="Microsoft.Extensions.Configuration.UserSecrets" />
- <Reference Include="Microsoft.Extensions.DependencyInjection" />
- <Reference Include="Microsoft.Extensions.FileProviders.Physical" />
- <Reference Include="Microsoft.Extensions.Logging" />
- <Reference Include="Microsoft.Extensions.Logging.Console" />
- <Reference Include="Microsoft.Extensions.Logging.Debug" />
- <Reference Include="Microsoft.Extensions.Logging.EventSource" />
- <Reference Include="Microsoft.Extensions.Logging.EventLog" />
- </ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Hosting
-{
- public partial class ConsoleLifetimeOptions
- {
- public ConsoleLifetimeOptions() { }
- public bool SuppressStatusMessages { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
- public static partial class Host
- {
- public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder() { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder(string[] args) { throw null; }
- }
- public partial class HostBuilder : Microsoft.Extensions.Hosting.IHostBuilder
- {
- public HostBuilder() { }
- public System.Collections.Generic.IDictionary<object, object> Properties { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Hosting.IHost Build() { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureContainer<TContainerBuilder>(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, TContainerBuilder> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostConfiguration(System.Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureServices(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory<TContainerBuilder>(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder> factory) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory<TContainerBuilder>(System.Func<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder>> factory) { throw null; }
- }
- public static partial class HostingHostBuilderExtensions
- {
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureContainer<TContainerBuilder>(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<TContainerBuilder> configureDelegate) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureLogging(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureLogging(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureServices(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate) { throw null; }
- public static System.Threading.Tasks.Task RunConsoleAsync(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> configureOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task RunConsoleAsync(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseConsoleLifetime(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseConsoleLifetime(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> configureOptions) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseContentRoot(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, string contentRoot) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseDefaultServiceProvider(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.DependencyInjection.ServiceProviderOptions> configure) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseDefaultServiceProvider(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.ServiceProviderOptions> configure) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseEnvironment(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, string environment) { throw null; }
- }
- public partial class HostOptions
- {
- public HostOptions() { }
- public System.TimeSpan ShutdownTimeout { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
-namespace Microsoft.Extensions.Hosting.Internal
-{
- public partial class ApplicationLifetime : Microsoft.Extensions.Hosting.IApplicationLifetime, Microsoft.Extensions.Hosting.IHostApplicationLifetime
- {
- public ApplicationLifetime(Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime> logger) { }
- public System.Threading.CancellationToken ApplicationStarted { get { throw null; } }
- public System.Threading.CancellationToken ApplicationStopped { get { throw null; } }
- public System.Threading.CancellationToken ApplicationStopping { get { throw null; } }
- public void NotifyStarted() { }
- public void NotifyStopped() { }
- public void StopApplication() { }
- }
- public partial class ConsoleLifetime : Microsoft.Extensions.Hosting.IHostLifetime, System.IDisposable
- {
- public ConsoleLifetime(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.HostOptions> hostOptions) { }
- public ConsoleLifetime(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.HostOptions> hostOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
- public void Dispose() { }
- public System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- public System.Threading.Tasks.Task WaitForStartAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- }
- public partial class HostingEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment, Microsoft.Extensions.Hosting.IHostingEnvironment
- {
- public HostingEnvironment() { }
- public string ApplicationName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public Microsoft.Extensions.FileProviders.IFileProvider ContentRootFileProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string ContentRootPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string EnvironmentName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Hosting
-{
- public partial class ConsoleLifetimeOptions
- {
- public ConsoleLifetimeOptions() { }
- public bool SuppressStatusMessages { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
- public static partial class Host
- {
- public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder() { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder(string[] args) { throw null; }
- }
- public partial class HostBuilder : Microsoft.Extensions.Hosting.IHostBuilder
- {
- public HostBuilder() { }
- public System.Collections.Generic.IDictionary<object, object> Properties { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Hosting.IHost Build() { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureContainer<TContainerBuilder>(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, TContainerBuilder> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostConfiguration(System.Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder ConfigureServices(System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory<TContainerBuilder>(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder> factory) { throw null; }
- public Microsoft.Extensions.Hosting.IHostBuilder UseServiceProviderFactory<TContainerBuilder>(System.Func<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder>> factory) { throw null; }
- }
- public static partial class HostingHostBuilderExtensions
- {
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureContainer<TContainerBuilder>(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<TContainerBuilder> configureDelegate) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureLogging(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureLogging(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureServices(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate) { throw null; }
- public static System.Threading.Tasks.Task RunConsoleAsync(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> configureOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task RunConsoleAsync(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseConsoleLifetime(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseConsoleLifetime(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> configureOptions) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseContentRoot(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, string contentRoot) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseDefaultServiceProvider(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.DependencyInjection.ServiceProviderOptions> configure) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseDefaultServiceProvider(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, System.Action<Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.ServiceProviderOptions> configure) { throw null; }
- public static Microsoft.Extensions.Hosting.IHostBuilder UseEnvironment(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder, string environment) { throw null; }
- }
- public partial class HostOptions
- {
- public HostOptions() { }
- public System.TimeSpan ShutdownTimeout { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
-namespace Microsoft.Extensions.Hosting.Internal
-{
- public partial class ApplicationLifetime : Microsoft.Extensions.Hosting.IApplicationLifetime, Microsoft.Extensions.Hosting.IHostApplicationLifetime
- {
- public ApplicationLifetime(Microsoft.Extensions.Logging.ILogger<Microsoft.Extensions.Hosting.Internal.ApplicationLifetime> logger) { }
- public System.Threading.CancellationToken ApplicationStarted { get { throw null; } }
- public System.Threading.CancellationToken ApplicationStopped { get { throw null; } }
- public System.Threading.CancellationToken ApplicationStopping { get { throw null; } }
- public void NotifyStarted() { }
- public void NotifyStopped() { }
- public void StopApplication() { }
- }
- public partial class ConsoleLifetime : Microsoft.Extensions.Hosting.IHostLifetime, System.IDisposable
- {
- public ConsoleLifetime(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.HostOptions> hostOptions) { }
- public ConsoleLifetime(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.ConsoleLifetimeOptions> options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Hosting.HostOptions> hostOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
- public void Dispose() { }
- public System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- public System.Threading.Tasks.Task WaitForStartAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- }
- public partial class HostingEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment, Microsoft.Extensions.Hosting.IHostingEnvironment
- {
- public HostingEnvironment() { }
- public string ApplicationName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public Microsoft.Extensions.FileProviders.IFileProvider ContentRootFileProvider { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string ContentRootPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string EnvironmentName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>.NET Core hosting and startup infrastructures for applications.</Description>
<TargetFrameworks>netstandard2.0;netstandard2.1;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>hosting</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Import Project="$(MSBuildThisFileDirectory)..\..\..\Logging\Logging.Testing\src\build\Microsoft.Extensions.Logging.Testing.props" />
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.Abstractions.netstandard2.0.cs" />
-
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.Abstractions.cs" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Logging abstractions for Microsoft.Extensions.Logging.
-Commonly used types:
-Microsoft.Extensions.Logging.ILogger
-Microsoft.Extensions.Logging.ILoggerFactory
-Microsoft.Extensions.Logging.ILogger<TCategoryName>
-Microsoft.Extensions.Logging.LogLevel
-Microsoft.Extensions.Logging.Logger<T>
-Microsoft.Extensions.Logging.LoggerMessage
-Microsoft.Extensions.Logging.Abstractions.NullLogger</Description>
<TargetFramework>netstandard2.0</TargetFramework>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.Configuration.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Logging" />
- <Reference Include="Microsoft.Extensions.Options.ConfigurationExtensions" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Logging.Configuration.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.Configuration.cs" />
<Reference Include="Microsoft.Extensions.Logging" />
<Reference Include="Microsoft.Extensions.Options.ConfigurationExtensions" />
</ItemGroup>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Logging
-{
- public static partial class LoggingBuilderExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddConfiguration(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Logging.Configuration
-{
- public partial interface ILoggerProviderConfigurationFactory
- {
- Microsoft.Extensions.Configuration.IConfiguration GetConfiguration(System.Type providerType);
- }
- public partial interface ILoggerProviderConfiguration<T>
- {
- Microsoft.Extensions.Configuration.IConfiguration Configuration { get; }
- }
- public static partial class LoggerProviderOptions
- {
- public static void RegisterProviderOptions<TOptions, TProvider>(Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TOptions : class { }
- }
- public partial class LoggerProviderOptionsChangeTokenSource<TOptions, TProvider> : Microsoft.Extensions.Options.ConfigurationChangeTokenSource<TOptions>
- {
- public LoggerProviderOptionsChangeTokenSource(Microsoft.Extensions.Logging.Configuration.ILoggerProviderConfiguration<TProvider> providerConfiguration) : base (default(Microsoft.Extensions.Configuration.IConfiguration)) { }
- }
- public static partial class LoggingBuilderConfigurationExtensions
- {
- public static void AddConfiguration(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Configuration support for Microsoft.Extensions.Logging.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.Console.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
- <Reference Include="Microsoft.Extensions.Logging.Configuration" />
- <Reference Include="Microsoft.Extensions.Logging" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Logging.Console.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.Console.cs" />
<Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
<Reference Include="Microsoft.Extensions.Logging.Configuration" />
<Reference Include="Microsoft.Extensions.Logging" />
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Logging
-{
- public static partial class ConsoleLoggerExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddConsole(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddConsole(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Action<Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions> configure) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Logging.Console
-{
- public enum ConsoleLoggerFormat
- {
- Default = 0,
- Systemd = 1,
- }
- public partial class ConsoleLoggerOptions
- {
- public ConsoleLoggerOptions() { }
- public bool DisableColors { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat Format { get { throw null; } set { } }
- public bool IncludeScopes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public Microsoft.Extensions.Logging.LogLevel LogToStandardErrorThreshold { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string TimestampFormat { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool UseUtcTimestamp { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
- [Microsoft.Extensions.Logging.ProviderAliasAttribute("Console")]
- public partial class ConsoleLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope, System.IDisposable
- {
- public ConsoleLoggerProvider(Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions> options) { }
- public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) { throw null; }
- public void Dispose() { }
- public void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider) { }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Console logger provider implementation for Microsoft.Extensions.Logging.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.Debug.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Logging" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Logging.Debug.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.Debug.cs" />
<Reference Include="Microsoft.Extensions.Logging" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Logging
-{
- public static partial class DebugLoggerFactoryExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddDebug(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Logging.Debug
-{
- [Microsoft.Extensions.Logging.ProviderAliasAttribute("Debug")]
- public partial class DebugLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable
- {
- public DebugLoggerProvider() { }
- public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) { throw null; }
- public void Dispose() { }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Debug output logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a debugger monitor by writing messages with System.Diagnostics.Debug.WriteLine().</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.EventLog.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Logging" />
- <Reference Include="System.Diagnostics.EventLog" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Logging.EventLog.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.EventLog.cs" />
<Reference Include="Microsoft.Extensions.Logging" />
<Reference Include="System.Diagnostics.EventLog" />
</ItemGroup>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Logging
-{
- public static partial class EventLoggerFactoryExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.EventLog.EventLogSettings settings) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventLog(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Action<Microsoft.Extensions.Logging.EventLog.EventLogSettings> configure) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Logging.EventLog
-{
- [Microsoft.Extensions.Logging.ProviderAliasAttribute("EventLog")]
- public partial class EventLogLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope, System.IDisposable
- {
- public EventLogLoggerProvider() { }
- public EventLogLoggerProvider(Microsoft.Extensions.Logging.EventLog.EventLogSettings settings) { }
- public EventLogLoggerProvider(Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Logging.EventLog.EventLogSettings> options) { }
- public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) { throw null; }
- public void Dispose() { }
- public void SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider scopeProvider) { }
- }
- public partial class EventLogSettings
- {
- public EventLogSettings() { }
- public System.Func<string, Microsoft.Extensions.Logging.LogLevel, bool> Filter { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string LogName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string MachineName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public string SourceName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Windows Event Log logger provider implementation for Microsoft.Extensions.Logging.</Description>
<TargetFrameworks>netstandard2.0;net461;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <PackageTags>$(PackageTags);eventlog;windowseventlog</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.EventSource.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Logging" />
<Reference Include="System.Text.Json" />
<Reference Include="System.Threading.Tasks.Extensions" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Logging.EventSource.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.EventSource.cs" />
<Reference Include="Microsoft.Extensions.Logging" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Logging
-{
- public static partial class EventSourceLoggerFactoryExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddEventSourceLogger(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Logging.EventSource
-{
- [Microsoft.Extensions.Logging.ProviderAliasAttribute("EventSource")]
- public partial class EventSourceLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable
- {
- public EventSourceLoggerProvider(Microsoft.Extensions.Logging.EventSource.LoggingEventSource eventSource) { }
- public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) { throw null; }
- public void Dispose() { }
- }
- [System.Diagnostics.Tracing.EventSourceAttribute(Name="Microsoft-Extensions-Logging")]
- public sealed partial class LoggingEventSource : System.Diagnostics.Tracing.EventSource
- {
- internal LoggingEventSource() { }
- protected override void OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs command) { }
- public static partial class Keywords
- {
- public const System.Diagnostics.Tracing.EventKeywords FormattedMessage = (System.Diagnostics.Tracing.EventKeywords)(4);
- public const System.Diagnostics.Tracing.EventKeywords JsonMessage = (System.Diagnostics.Tracing.EventKeywords)(8);
- public const System.Diagnostics.Tracing.EventKeywords Message = (System.Diagnostics.Tracing.EventKeywords)(2);
- public const System.Diagnostics.Tracing.EventKeywords Meta = (System.Diagnostics.Tracing.EventKeywords)(1);
- }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>EventSource/EventListener logger provider implementation for Microsoft.Extensions.Logging.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <PackageTags>$(PackageTags);EventSource;ETW</PackageTags>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
<NoWarn>$(NoWarn);CS3021</NoWarn>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.TraceSource.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Logging" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Logging.TraceSource.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.TraceSource.cs" />
<Reference Include="Microsoft.Extensions.Logging" />
</ItemGroup>
</Project>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.Logging
-{
- public static partial class TraceSourceFactoryExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddTraceSource(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Diagnostics.SourceSwitch sourceSwitch) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddTraceSource(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Diagnostics.SourceSwitch sourceSwitch, System.Diagnostics.TraceListener listener) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddTraceSource(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string switchName) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddTraceSource(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string switchName, System.Diagnostics.TraceListener listener) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Logging.TraceSource
-{
- [Microsoft.Extensions.Logging.ProviderAliasAttribute("TraceSource")]
- public partial class TraceSourceLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable
- {
- public TraceSourceLoggerProvider(System.Diagnostics.SourceSwitch rootSourceSwitch) { }
- public TraceSourceLoggerProvider(System.Diagnostics.SourceSwitch rootSourceSwitch, System.Diagnostics.TraceListener rootTraceListener) { }
- public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) { throw null; }
- public void Dispose() { }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>TraceSource logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a trace listener by writing messages with System.Diagnostics.TraceSource.TraceEvent().</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>logging;tracesource</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Logging.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration.Binder" />
- <Reference Include="Microsoft.Extensions.DependencyInjection" />
- <Reference Include="Microsoft.Extensions.Logging.Abstractions" />
- <Reference Include="Microsoft.Extensions.Options" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Logging.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Logging.cs" />
<Reference Include="Microsoft.Extensions.Configuration.Binder" />
<Reference Include="Microsoft.Extensions.DependencyInjection" />
<Reference Include="Microsoft.Extensions.Logging.Abstractions" />
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.DependencyInjection
-{
- public static partial class LoggingServiceCollectionExtensions
- {
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLogging(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLogging(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Microsoft.Extensions.Logging.ILoggingBuilder> configure) { throw null; }
- }
-}
-namespace Microsoft.Extensions.Logging
-{
- public static partial class FilterLoggingBuilderExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func<string, Microsoft.Extensions.Logging.LogLevel, bool> categoryLevelFilter) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool> filter) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, Microsoft.Extensions.Logging.LogLevel level) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, System.Func<string, Microsoft.Extensions.Logging.LogLevel, bool> categoryLevelFilter) { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, System.Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool> filter) { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Microsoft.Extensions.Logging.LogLevel level) { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T>(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T>(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func<string, Microsoft.Extensions.Logging.LogLevel, bool> categoryLevelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T>(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T>(this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T>(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T>(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, System.Func<string, Microsoft.Extensions.Logging.LogLevel, bool> categoryLevelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T>(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T>(this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, System.Func<Microsoft.Extensions.Logging.LogLevel, bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider { throw null; }
- }
- public partial interface ILoggingBuilder
- {
- Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; }
- }
- public partial class LoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable
- {
- public LoggerFactory() { }
- public LoggerFactory(System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> providers) { }
- public LoggerFactory(System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> providers, Microsoft.Extensions.Logging.LoggerFilterOptions filterOptions) { }
- public LoggerFactory(System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> providers, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.LoggerFilterOptions> filterOption) { }
- public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) { }
- protected virtual bool CheckDisposed() { throw null; }
- public static Microsoft.Extensions.Logging.ILoggerFactory Create(System.Action<Microsoft.Extensions.Logging.ILoggingBuilder> configure) { throw null; }
- public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) { throw null; }
- public void Dispose() { }
- }
- public partial class LoggerFilterOptions
- {
- public LoggerFilterOptions() { }
- public bool CaptureScopes { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public Microsoft.Extensions.Logging.LogLevel MinLevel { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public System.Collections.Generic.IList<Microsoft.Extensions.Logging.LoggerFilterRule> Rules { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
- public partial class LoggerFilterRule
- {
- public LoggerFilterRule(string providerName, string categoryName, Microsoft.Extensions.Logging.LogLevel? logLevel, System.Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool> filter) { }
- public string CategoryName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool> Filter { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Logging.LogLevel? LogLevel { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string ProviderName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public override string ToString() { throw null; }
- }
- public static partial class LoggingBuilderExtensions
- {
- public static Microsoft.Extensions.Logging.ILoggingBuilder AddProvider(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.ILoggerProvider provider) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder ClearProviders(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { throw null; }
- public static Microsoft.Extensions.Logging.ILoggingBuilder SetMinimumLevel(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.LogLevel level) { throw null; }
- }
- [System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
- public partial class ProviderAliasAttribute : System.Attribute
- {
- public ProviderAliasAttribute(string alias) { }
- public string Alias { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Logging infrastructure default implementation for Microsoft.Extensions.Logging.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<NoWarn>$(NoWarn);CS1591</NoWarn>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Options.ConfigurationExtensions.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
- <Reference Include="Microsoft.Extensions.Configuration.Binder" />
- <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
- <Reference Include="Microsoft.Extensions.Options" />
- </ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Options.ConfigurationExtensions.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Options.ConfigurationExtensions.cs" />
<Reference Include="Microsoft.Extensions.Configuration.Abstractions" />
<Reference Include="Microsoft.Extensions.Configuration.Binder" />
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.DependencyInjection
-{
- public static partial class OptionsBuilderConfigurationExtensions
- {
- public static Microsoft.Extensions.Options.OptionsBuilder<TOptions> Bind<TOptions>(this Microsoft.Extensions.Options.OptionsBuilder<TOptions> optionsBuilder, Microsoft.Extensions.Configuration.IConfiguration config) where TOptions : class { throw null; }
- public static Microsoft.Extensions.Options.OptionsBuilder<TOptions> Bind<TOptions>(this Microsoft.Extensions.Options.OptionsBuilder<TOptions> optionsBuilder, Microsoft.Extensions.Configuration.IConfiguration config, System.Action<Microsoft.Extensions.Configuration.BinderOptions> configureBinder) where TOptions : class { throw null; }
- }
- public static partial class OptionsConfigurationServiceCollectionExtensions
- {
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration config) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration config, System.Action<Microsoft.Extensions.Configuration.BinderOptions> configureBinder) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Microsoft.Extensions.Configuration.IConfiguration config) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Microsoft.Extensions.Configuration.IConfiguration config, System.Action<Microsoft.Extensions.Configuration.BinderOptions> configureBinder) where TOptions : class { throw null; }
- }
-}
-namespace Microsoft.Extensions.Options
-{
- public partial class ConfigurationChangeTokenSource<TOptions> : Microsoft.Extensions.Options.IOptionsChangeTokenSource<TOptions>
- {
- public ConfigurationChangeTokenSource(Microsoft.Extensions.Configuration.IConfiguration config) { }
- public ConfigurationChangeTokenSource(string name, Microsoft.Extensions.Configuration.IConfiguration config) { }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Primitives.IChangeToken GetChangeToken() { throw null; }
- }
- public partial class ConfigureFromConfigurationOptions<TOptions> : Microsoft.Extensions.Options.ConfigureOptions<TOptions> where TOptions : class
- {
- public ConfigureFromConfigurationOptions(Microsoft.Extensions.Configuration.IConfiguration config) : base (default(System.Action<TOptions>)) { }
- }
- public partial class NamedConfigureFromConfigurationOptions<TOptions> : Microsoft.Extensions.Options.ConfigureNamedOptions<TOptions> where TOptions : class
- {
- public NamedConfigureFromConfigurationOptions(string name, Microsoft.Extensions.Configuration.IConfiguration config) : base (default(string), default(System.Action<TOptions>)) { }
- public NamedConfigureFromConfigurationOptions(string name, Microsoft.Extensions.Configuration.IConfiguration config, System.Action<Microsoft.Extensions.Configuration.BinderOptions> configureBinder) : base (default(string), default(System.Action<TOptions>)) { }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Provides additional configuration specific functionality related to Options.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>aspnetcore;configuration;options</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Options.DataAnnotations.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
- <Reference Include="Microsoft.Extensions.Options" />
<Reference Include="System.ComponentModel.Annotations" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Options.DataAnnotations.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Options.DataAnnotations.cs" />
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<Reference Include="Microsoft.Extensions.Options" />
</ItemGroup>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.DependencyInjection
-{
- public static partial class OptionsBuilderDataAnnotationsExtensions
- {
- public static Microsoft.Extensions.Options.OptionsBuilder<TOptions> ValidateDataAnnotations<TOptions>(this Microsoft.Extensions.Options.OptionsBuilder<TOptions> optionsBuilder) where TOptions : class { throw null; }
- }
-}
-namespace Microsoft.Extensions.Options
-{
- public partial class DataAnnotationValidateOptions<TOptions> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
- {
- public DataAnnotationValidateOptions(string name) { }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options) { throw null; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Provides additional DataAnnotations specific functionality related to Options.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>aspnetcore;validation;options</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
-<!-- This file is automatically generated. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
+ <TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
- <Compile Include="Microsoft.Extensions.Options.netstandard2.0.cs" />
- <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
- <Reference Include="Microsoft.Extensions.Primitives" />
<Reference Include="System.ComponentModel.Annotations" />
</ItemGroup>
-<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <Compile Include="Microsoft.Extensions.Options.netcoreapp.cs" />
+ <ItemGroup>
+ <Compile Include="Microsoft.Extensions.Options.cs" />
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
<Reference Include="Microsoft.Extensions.Primitives" />
</ItemGroup>
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Microsoft.Extensions.DependencyInjection
-{
- public static partial class OptionsServiceCollectionExtensions
- {
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddOptions(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
- public static Microsoft.Extensions.Options.OptionsBuilder<TOptions> AddOptions<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TOptions : class { throw null; }
- public static Microsoft.Extensions.Options.OptionsBuilder<TOptions> AddOptions<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureAll<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<TOptions> configureOptions) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureOptions(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, object configureInstance) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureOptions(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Type configureType) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureOptions<TConfigureOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TConfigureOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<TOptions> configureOptions) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection Configure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, System.Action<TOptions> configureOptions) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection PostConfigureAll<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<TOptions> configureOptions) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection PostConfigure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<TOptions> configureOptions) where TOptions : class { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection PostConfigure<TOptions>(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, System.Action<TOptions> configureOptions) where TOptions : class { throw null; }
- }
-}
-namespace Microsoft.Extensions.Options
-{
- public partial class ConfigureNamedOptions<TOptions> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class
- {
- public ConfigureNamedOptions(string name, System.Action<TOptions> action) { }
- public System.Action<TOptions> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void Configure(string name, TOptions options) { }
- public void Configure(TOptions options) { }
- }
- public partial class ConfigureNamedOptions<TOptions, TDep> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class where TDep : class
- {
- public ConfigureNamedOptions(string name, TDep dependency, System.Action<TOptions, TDep> action) { }
- public System.Action<TOptions, TDep> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep Dependency { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void Configure(string name, TOptions options) { }
- public void Configure(TOptions options) { }
- }
- public partial class ConfigureNamedOptions<TOptions, TDep1, TDep2> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class
- {
- public ConfigureNamedOptions(string name, TDep1 dependency, TDep2 dependency2, System.Action<TOptions, TDep1, TDep2> action) { }
- public System.Action<TOptions, TDep1, TDep2> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void Configure(string name, TOptions options) { }
- public void Configure(TOptions options) { }
- }
- public partial class ConfigureNamedOptions<TOptions, TDep1, TDep2, TDep3> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class
- {
- public ConfigureNamedOptions(string name, TDep1 dependency, TDep2 dependency2, TDep3 dependency3, System.Action<TOptions, TDep1, TDep2, TDep3> action) { }
- public System.Action<TOptions, TDep1, TDep2, TDep3> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void Configure(string name, TOptions options) { }
- public void Configure(TOptions options) { }
- }
- public partial class ConfigureNamedOptions<TOptions, TDep1, TDep2, TDep3, TDep4> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class
- {
- public ConfigureNamedOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, System.Action<TOptions, TDep1, TDep2, TDep3, TDep4> action) { }
- public System.Action<TOptions, TDep1, TDep2, TDep3, TDep4> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep4 Dependency4 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void Configure(string name, TOptions options) { }
- public void Configure(TOptions options) { }
- }
- public partial class ConfigureNamedOptions<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class
- {
- public ConfigureNamedOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, System.Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> action) { }
- public System.Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep4 Dependency4 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep5 Dependency5 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void Configure(string name, TOptions options) { }
- public void Configure(TOptions options) { }
- }
- public partial class ConfigureOptions<TOptions> : Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class
- {
- public ConfigureOptions(System.Action<TOptions> action) { }
- public System.Action<TOptions> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void Configure(TOptions options) { }
- }
- public partial interface IConfigureNamedOptions<in TOptions> : Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class
- {
- void Configure(string name, TOptions options);
- }
- public partial interface IConfigureOptions<in TOptions> where TOptions : class
- {
- void Configure(TOptions options);
- }
- public partial interface IOptionsChangeTokenSource<out TOptions>
- {
- string Name { get; }
- Microsoft.Extensions.Primitives.IChangeToken GetChangeToken();
- }
- public partial interface IOptionsFactory<TOptions> where TOptions : class
- {
- TOptions Create(string name);
- }
- public partial interface IOptionsMonitorCache<TOptions> where TOptions : class
- {
- void Clear();
- TOptions GetOrAdd(string name, System.Func<TOptions> createOptions);
- bool TryAdd(string name, TOptions options);
- bool TryRemove(string name);
- }
- public partial interface IOptionsMonitor<out TOptions>
- {
- TOptions CurrentValue { get; }
- TOptions Get(string name);
- System.IDisposable OnChange(System.Action<TOptions, string> listener);
- }
- public partial interface IOptionsSnapshot<out TOptions> : Microsoft.Extensions.Options.IOptions<TOptions> where TOptions : class
- {
- TOptions Get(string name);
- }
- public partial interface IOptions<out TOptions> where TOptions : class
- {
- TOptions Value { get; }
- }
- public partial interface IPostConfigureOptions<in TOptions> where TOptions : class
- {
- void PostConfigure(string name, TOptions options);
- }
- public partial interface IValidateOptions<TOptions> where TOptions : class
- {
- Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options);
- }
- public static partial class Options
- {
- public static readonly string DefaultName;
- public static Microsoft.Extensions.Options.IOptions<TOptions> Create<TOptions>(TOptions options) where TOptions : class { throw null; }
- }
- public partial class OptionsBuilder<TOptions> where TOptions : class
- {
- public OptionsBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name) { }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.DependencyInjection.IServiceCollection Services { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Configure(System.Action<TOptions> configureOptions) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Configure<TDep>(System.Action<TOptions, TDep> configureOptions) where TDep : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Configure<TDep1, TDep2>(System.Action<TOptions, TDep1, TDep2> configureOptions) where TDep1 : class where TDep2 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Configure<TDep1, TDep2, TDep3>(System.Action<TOptions, TDep1, TDep2, TDep3> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Configure<TDep1, TDep2, TDep3, TDep4>(System.Action<TOptions, TDep1, TDep2, TDep3, TDep4> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Configure<TDep1, TDep2, TDep3, TDep4, TDep5>(System.Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure(System.Action<TOptions> configureOptions) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep>(System.Action<TOptions, TDep> configureOptions) where TDep : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1, TDep2>(System.Action<TOptions, TDep1, TDep2> configureOptions) where TDep1 : class where TDep2 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1, TDep2, TDep3>(System.Action<TOptions, TDep1, TDep2, TDep3> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1, TDep2, TDep3, TDep4>(System.Action<TOptions, TDep1, TDep2, TDep3, TDep4> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> PostConfigure<TDep1, TDep2, TDep3, TDep4, TDep5>(System.Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> configureOptions) where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate(System.Func<TOptions, bool> validation) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate(System.Func<TOptions, bool> validation, string failureMessage) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep>(System.Func<TOptions, TDep, bool> validation) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep>(System.Func<TOptions, TDep, bool> validation, string failureMessage) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2>(System.Func<TOptions, TDep1, TDep2, bool> validation) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2>(System.Func<TOptions, TDep1, TDep2, bool> validation, string failureMessage) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3>(System.Func<TOptions, TDep1, TDep2, TDep3, bool> validation) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3>(System.Func<TOptions, TDep1, TDep2, TDep3, bool> validation, string failureMessage) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> validation) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4>(System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> validation, string failureMessage) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4, TDep5>(System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation) { throw null; }
- public virtual Microsoft.Extensions.Options.OptionsBuilder<TOptions> Validate<TDep1, TDep2, TDep3, TDep4, TDep5>(System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation, string failureMessage) { throw null; }
- }
- public partial class OptionsCache<TOptions> : Microsoft.Extensions.Options.IOptionsMonitorCache<TOptions> where TOptions : class
- {
- public OptionsCache() { }
- public void Clear() { }
- public virtual TOptions GetOrAdd(string name, System.Func<TOptions> createOptions) { throw null; }
- public virtual bool TryAdd(string name, TOptions options) { throw null; }
- public virtual bool TryRemove(string name) { throw null; }
- }
- public partial class OptionsFactory<TOptions> : Microsoft.Extensions.Options.IOptionsFactory<TOptions> where TOptions : class
- {
- public OptionsFactory(System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<TOptions>> setups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IPostConfigureOptions<TOptions>> postConfigures) { }
- public OptionsFactory(System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<TOptions>> setups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IPostConfigureOptions<TOptions>> postConfigures, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IValidateOptions<TOptions>> validations) { }
- public TOptions Create(string name) { throw null; }
- protected virtual TOptions CreateInstance(string name) { throw null; }
- }
- public partial class OptionsManager<TOptions> : Microsoft.Extensions.Options.IOptions<TOptions>, Microsoft.Extensions.Options.IOptionsSnapshot<TOptions> where TOptions : class
- {
- public OptionsManager(Microsoft.Extensions.Options.IOptionsFactory<TOptions> factory) { }
- public TOptions Value { get { throw null; } }
- public virtual TOptions Get(string name) { throw null; }
- }
- public static partial class OptionsMonitorExtensions
- {
- public static System.IDisposable OnChange<TOptions>(this Microsoft.Extensions.Options.IOptionsMonitor<TOptions> monitor, System.Action<TOptions> listener) { throw null; }
- }
- public partial class OptionsMonitor<TOptions> : Microsoft.Extensions.Options.IOptionsMonitor<TOptions>, System.IDisposable where TOptions : class
- {
- public OptionsMonitor(Microsoft.Extensions.Options.IOptionsFactory<TOptions> factory, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IOptionsChangeTokenSource<TOptions>> sources, Microsoft.Extensions.Options.IOptionsMonitorCache<TOptions> cache) { }
- public TOptions CurrentValue { get { throw null; } }
- public void Dispose() { }
- public virtual TOptions Get(string name) { throw null; }
- public System.IDisposable OnChange(System.Action<TOptions, string> listener) { throw null; }
- }
- public partial class OptionsValidationException : System.Exception
- {
- public OptionsValidationException(string optionsName, System.Type optionsType, System.Collections.Generic.IEnumerable<string> failureMessages) { }
- public System.Collections.Generic.IEnumerable<string> Failures { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public override string Message { get { throw null; } }
- public string OptionsName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Type OptionsType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
- public partial class OptionsWrapper<TOptions> : Microsoft.Extensions.Options.IOptions<TOptions> where TOptions : class
- {
- public OptionsWrapper(TOptions options) { }
- public TOptions Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
- public partial class PostConfigureOptions<TOptions> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class
- {
- public PostConfigureOptions(string name, System.Action<TOptions> action) { }
- public System.Action<TOptions> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void PostConfigure(string name, TOptions options) { }
- }
- public partial class PostConfigureOptions<TOptions, TDep> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep : class
- {
- public PostConfigureOptions(string name, TDep dependency, System.Action<TOptions, TDep> action) { }
- public System.Action<TOptions, TDep> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep Dependency { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void PostConfigure(string name, TOptions options) { }
- public void PostConfigure(TOptions options) { }
- }
- public partial class PostConfigureOptions<TOptions, TDep1, TDep2> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class
- {
- public PostConfigureOptions(string name, TDep1 dependency, TDep2 dependency2, System.Action<TOptions, TDep1, TDep2> action) { }
- public System.Action<TOptions, TDep1, TDep2> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void PostConfigure(string name, TOptions options) { }
- public void PostConfigure(TOptions options) { }
- }
- public partial class PostConfigureOptions<TOptions, TDep1, TDep2, TDep3> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class
- {
- public PostConfigureOptions(string name, TDep1 dependency, TDep2 dependency2, TDep3 dependency3, System.Action<TOptions, TDep1, TDep2, TDep3> action) { }
- public System.Action<TOptions, TDep1, TDep2, TDep3> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void PostConfigure(string name, TOptions options) { }
- public void PostConfigure(TOptions options) { }
- }
- public partial class PostConfigureOptions<TOptions, TDep1, TDep2, TDep3, TDep4> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class
- {
- public PostConfigureOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, System.Action<TOptions, TDep1, TDep2, TDep3, TDep4> action) { }
- public System.Action<TOptions, TDep1, TDep2, TDep3, TDep4> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep4 Dependency4 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void PostConfigure(string name, TOptions options) { }
- public void PostConfigure(TOptions options) { }
- }
- public partial class PostConfigureOptions<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class
- {
- public PostConfigureOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, System.Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> action) { }
- public System.Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> Action { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep4 Dependency4 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep5 Dependency5 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public virtual void PostConfigure(string name, TOptions options) { }
- public void PostConfigure(TOptions options) { }
- }
- public partial class ValidateOptionsResult
- {
- public static readonly Microsoft.Extensions.Options.ValidateOptionsResult Skip;
- public static readonly Microsoft.Extensions.Options.ValidateOptionsResult Success;
- public ValidateOptionsResult() { }
- public bool Failed { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] protected set { } }
- public string FailureMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] protected set { } }
- public System.Collections.Generic.IEnumerable<string> Failures { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] protected set { } }
- public bool Skipped { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] protected set { } }
- public bool Succeeded { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] protected set { } }
- public static Microsoft.Extensions.Options.ValidateOptionsResult Fail(System.Collections.Generic.IEnumerable<string> failures) { throw null; }
- public static Microsoft.Extensions.Options.ValidateOptionsResult Fail(string failureMessage) { throw null; }
- }
- public partial class ValidateOptions<TOptions> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
- {
- public ValidateOptions(string name, System.Func<TOptions, bool> validation, string failureMessage) { }
- public string FailureMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Func<TOptions, bool> Validation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options) { throw null; }
- }
- public partial class ValidateOptions<TOptions, TDep> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
- {
- public ValidateOptions(string name, TDep dependency, System.Func<TOptions, TDep, bool> validation, string failureMessage) { }
- public TDep Dependency { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string FailureMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Func<TOptions, TDep, bool> Validation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options) { throw null; }
- }
- public partial class ValidateOptions<TOptions, TDep1, TDep2> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
- {
- public ValidateOptions(string name, TDep1 dependency1, TDep2 dependency2, System.Func<TOptions, TDep1, TDep2, bool> validation, string failureMessage) { }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string FailureMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Func<TOptions, TDep1, TDep2, bool> Validation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options) { throw null; }
- }
- public partial class ValidateOptions<TOptions, TDep1, TDep2, TDep3> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
- {
- public ValidateOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, System.Func<TOptions, TDep1, TDep2, TDep3, bool> validation, string failureMessage) { }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string FailureMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Func<TOptions, TDep1, TDep2, TDep3, bool> Validation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options) { throw null; }
- }
- public partial class ValidateOptions<TOptions, TDep1, TDep2, TDep3, TDep4> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
- {
- public ValidateOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> validation, string failureMessage) { }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep4 Dependency4 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string FailureMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, bool> Validation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options) { throw null; }
- }
- public partial class ValidateOptions<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> : Microsoft.Extensions.Options.IValidateOptions<TOptions> where TOptions : class
- {
- public ValidateOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation, string failureMessage) { }
- public TDep1 Dependency1 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep2 Dependency2 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep3 Dependency3 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep4 Dependency4 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public TDep5 Dependency5 { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string FailureMessage { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public System.Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> Validation { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public Microsoft.Extensions.Options.ValidateOptionsResult Validate(string name, TOptions options) { throw null; }
- }
-}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <Description>Provides a strongly typed way of specifying and accessing settings using dependency injection.</Description>
<TargetFrameworks>netstandard2.0;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
<TargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <PackageTags>aspnetcore;options</PackageTags>
- <IsPackable>true</IsPackable>
- <IsShipping>true</IsShipping>
</PropertyGroup>
<ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework);net472</TargetFrameworks>
+ <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
"5.0.0.0": "5.0.0"
}
},
+ "Microsoft.Extensions.FileProviders.Abstractions": {
+ "StableVersions": [
+ "1.0.0",
+ "1.0.1",
+ "1.1.0",
+ "1.1.1",
+ "2.0.0",
+ "2.0.1",
+ "2.1.0",
+ "2.1.1",
+ "2.2.0",
+ "3.0.0",
+ "3.0.1",
+ "3.0.2",
+ "3.0.3",
+ "3.1.0",
+ "3.1.1",
+ "3.1.2"
+ ],
+ "InboxOn": {},
+ "AssemblyVersionInPackageVersion": {
+ "5.0.0.0": "5.0.0"
+ }
+ },
+ "Microsoft.Extensions.FileProviders.Composite": {
+ "StableVersions": [
+ "1.0.0",
+ "1.0.1",
+ "1.1.0",
+ "1.1.1",
+ "2.0.0",
+ "2.0.1",
+ "2.1.0",
+ "2.1.1",
+ "2.2.0",
+ "3.0.0",
+ "3.0.1",
+ "3.0.2",
+ "3.0.3",
+ "3.1.0",
+ "3.1.1",
+ "3.1.2"
+ ],
+ "InboxOn": {},
+ "AssemblyVersionInPackageVersion": {
+ "5.0.0.0": "5.0.0"
+ }
+ },
+ "Microsoft.Extensions.FileProviders.Physical": {
+ "StableVersions": [
+ "1.0.0",
+ "1.0.1",
+ "1.1.0",
+ "1.1.1",
+ "2.0.0",
+ "2.0.1",
+ "2.1.0",
+ "2.1.1",
+ "2.2.0",
+ "3.0.0",
+ "3.0.1",
+ "3.0.2",
+ "3.0.3",
+ "3.1.0",
+ "3.1.1",
+ "3.1.2"
+ ],
+ "InboxOn": {},
+ "AssemblyVersionInPackageVersion": {
+ "5.0.0.0": "5.0.0"
+ }
+ },
+ "Microsoft.Extensions.FileSystemGlobbing": {
+ "StableVersions": [
+ "1.0.0",
+ "1.0.1",
+ "1.1.0",
+ "1.1.1",
+ "2.0.0",
+ "2.0.1",
+ "2.1.0",
+ "2.1.1",
+ "2.2.0",
+ "3.0.0",
+ "3.0.1",
+ "3.0.2",
+ "3.1.0",
+ "3.1.1"
+ ],
+ "InboxOn": {},
+ "AssemblyVersionInPackageVersion": {
+ "5.0.0.0": "5.0.0"
+ }
+ },
"Microsoft.Extensions.Primitives": {
"StableVersions": [
"1.0.0",
"3.0.0",
"3.0.1",
"3.0.2",
+ "3.0.3",
"3.1.0",
- "3.1.1"
+ "3.1.1",
+ "3.1.2"
],
"InboxOn": {},
"AssemblyVersionInPackageVersion": {
"CommonTypes": []
},
{
+ "Name": "Microsoft.Extensions.Configuration",
+ "Description": "Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.Abstraction",
+ "Description": "Abstractions of key-value pair based configuration.",
+ "CommonTypes": [
+ "Microsoft.Extensions.Configuration.IConfiguration",
+ "Microsoft.Extensions.Configuration.IConfigurationBuilder",
+ "Microsoft.Extensions.Configuration.IConfigurationProvider",
+ "Microsoft.Extensions.Configuration.IConfigurationRoot",
+ "Microsoft.Extensions.Configuration.IConfigurationSection"
+ ]
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.Bindar",
+ "Description": "Functionality to bind an object to data in configuration providers for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.CommandLine",
+ "Description": "Command line configuration provider implementation for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.EnvironmentVariables",
+ "Description": "Environment variables configuration provider implementation for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.FileExtensions",
+ "Description": "Extension methods for configuring file-based configuration providers for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.Ini",
+ "Description": "INI configuration provider implementation for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.Json",
+ "Description": "JSON configuration provider implementation for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.UserSecrets",
+ "Description": "User secrets configuration provider implementation for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Configuration.Xml",
+ "Description": "XML configuration provider implementation for Microsoft.Extensions.Configuration.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.DependencyInjection",
+ "Description": "Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.DependencyInjection.Abstractions",
+ "Description": "Abstractions for dependency injection.",
+ "CommonTypes": [
+ "Microsoft.Extensions.DependencyInjection.IServiceCollection"
+ ]
+ },
+ {
+ "Name": "Microsoft.Extensions.FileProviders.Abstractions",
+ "Description": "Abstractions of files and directories.",
+ "CommonTypes": [
+ "Microsoft.Extensions.FileProviders.IDirectoryContents",
+ "Microsoft.Extensions.FileProviders.IFileInfo",
+ "Microsoft.Extensions.FileProviders.IFileProvider"
+ ]
+ },
+ {
+ "Name": "Microsoft.Extensions.FileProviders.Composite",
+ "Description": "Composite file and directory providers for Microsoft.Extensions.FileProviders.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.FileProviders.Physical",
+ "Description": "File provider for physical files for Microsoft.Extensions.FileProviders.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.FileSystemGlobbing",
+ "Description": "File system globbing to find files matching a specified pattern.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Hosting",
+ "Description": ".NET Core hosting and startup infrastructures for applications.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Hosting.Abstractions",
+ "Description": ".NET Core hosting and startup abstractions for applications.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging",
+ "Description": "Logging infrastructure default implementation for Microsoft.Extensions.Logging.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging.Abstractions",
+ "Description": "Logging abstractions for Microsoft.Extensions.Logging.",
+ "CommonTypes": [
+ "Microsoft.Extensions.Logging.ILogger",
+ "Microsoft.Extensions.Logging.ILoggerFactory",
+ "Microsoft.Extensions.Logging.ILogger<TCategoryName>",
+ "Microsoft.Extensions.Logging.LogLevel",
+ "Microsoft.Extensions.Logging.Logger<T>",
+ "Microsoft.Extensions.Logging.LoggerMessage",
+ "Microsoft.Extensions.Logging.Abstractions.NullLogger"
+ ]
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging.Configuration",
+ "Description": "Configuration support for Microsoft.Extensions.Logging.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging.Console",
+ "Description": "Console logger provider implementation for Microsoft.Extensions.Logging.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging.Debug",
+ "Description": "Debug output logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a debugger monitor by writing messages with System.Diagnostics.Debug.WriteLine().",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging.EventLog",
+ "Description": "Windows Event Log logger provider implementation for Microsoft.Extensions.Logging.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging.EventSource",
+ "Description": "EventSource/EventListener logger provider implementation for Microsoft.Extensions.Logging.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Logging.TraceSource",
+ "Description": "TraceSource logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a trace listener by writing messages with System.Diagnostics.TraceSource.TraceEvent().",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Options",
+ "Description": "Provides a strongly typed way of specifying and accessing settings using dependency injection.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Options.ConfigurationExtensions",
+ "Description": "Provides additional configuration specific functionality related to Options.",
+ "CommonTypes": []
+ },
+ {
+ "Name": "Microsoft.Extensions.Options.DataAnnotations",
+ "Description": "Provides additional DataAnnotations specific functionality related to Options.",
+ "CommonTypes": []
+ },
+ {
"Name": "Microsoft.Extensions.Primitives",
"Description": "Primitives shared by framework extensions. Commonly used types include:",
"CommonTypes": [