diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8.md b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8.md new file mode 100644 index 00000000..0d47db0b --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8.md @@ -0,0 +1,10 @@ +# API Difference netcoreapp3.0-preview7 vs netcoreapp3.0-preview8 + +API listing follows standard diff formatting. Lines preceded by a '+' are +additions and a '-' indicates removal. + +* [Microsoft.VisualBasic](3.0-preview8_Microsoft.VisualBasic.md) +* [System.Collections.Generic](3.0-preview8_System.Collections.Generic.md) +* [System.Text.Encodings.Web](3.0-preview8_System.Text.Encodings.Web.md) +* [System.Text.Json](3.0-preview8_System.Text.Json.md) +* [System.Text.Json.Serialization](3.0-preview8_System.Text.Json.Serialization.md) diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_Microsoft.VisualBasic.md b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_Microsoft.VisualBasic.md new file mode 100644 index 00000000..2c6edb76 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_Microsoft.VisualBasic.md @@ -0,0 +1,22 @@ +# Microsoft.VisualBasic + +``` diff + namespace Microsoft.VisualBasic { ++ public sealed class Financial { ++ public static double DDB(double Cost, double Salvage, double Life, double Period, double Factor = 2); ++ public static double FV(double Rate, double NPer, double Pmt, double PV = 0, DueDate Due = DueDate.EndOfPeriod); ++ public static double IPmt(double Rate, double Per, double NPer, double PV, double FV = 0, DueDate Due = DueDate.EndOfPeriod); ++ public static double IRR(ref double[] ValueArray, double Guess = 0.1); ++ public static double MIRR(ref double[] ValueArray, double FinanceRate, double ReinvestRate); ++ public static double NPer(double Rate, double Pmt, double PV, double FV = 0, DueDate Due = DueDate.EndOfPeriod); ++ public static double NPV(double Rate, ref double[] ValueArray); ++ public static double Pmt(double Rate, double NPer, double PV, double FV = 0, DueDate Due = DueDate.EndOfPeriod); ++ public static double PPmt(double Rate, double Per, double NPer, double PV, double FV = 0, DueDate Due = DueDate.EndOfPeriod); ++ public static double PV(double Rate, double NPer, double Pmt, double FV = 0, DueDate Due = DueDate.EndOfPeriod); ++ public static double Rate(double NPer, double Pmt, double PV, double FV = 0, DueDate Due = DueDate.EndOfPeriod, double Guess = 0.1); ++ public static double SLN(double Cost, double Salvage, double Life); ++ public static double SYD(double Cost, double Salvage, double Life, double Period); ++ } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Collections.Generic.md b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Collections.Generic.md new file mode 100644 index 00000000..dddced3b --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Collections.Generic.md @@ -0,0 +1,11 @@ +# System.Collections.Generic + +``` diff + namespace System.Collections.Generic { + public class SortedList : ICollection, ICollection>, IDictionary, IDictionary, IEnumerable, IEnumerable>, IReadOnlyCollection>, IReadOnlyDictionary { +- void System.Collections.ICollection.CopyTo(Array array, int index); ++ void System.Collections.ICollection.CopyTo(Array array, int arrayIndex); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Encodings.Web.md b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Encodings.Web.md new file mode 100644 index 00000000..5373a2b6 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Encodings.Web.md @@ -0,0 +1,14 @@ +# System.Text.Encodings.Web + +``` diff + namespace System.Text.Encodings.Web { + public abstract class JavaScriptEncoder : TextEncoder { ++ public static JavaScriptEncoder UnsafeRelaxedJsonEscaping { get; } + } + public abstract class TextEncoder { ++ public virtual OperationStatus EncodeUtf8(ReadOnlySpan utf8Source, Span utf8Destination, out int bytesConsumed, out int bytesWritten, bool isFinalBlock = true); ++ public virtual int FindFirstCharacterToEncodeUtf8(ReadOnlySpan utf8Text); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Json.Serialization.md b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Json.Serialization.md new file mode 100644 index 00000000..25171620 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Json.Serialization.md @@ -0,0 +1,19 @@ +# System.Text.Json.Serialization + +``` diff + namespace System.Text.Json.Serialization { + public abstract class JsonConverterFactory : JsonConverter { +- protected internal JsonConverterFactory(); ++ protected JsonConverterFactory(); +- protected abstract JsonConverter CreateConverter(Type typeToConvert); + ++ public abstract JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options); + } + public sealed class JsonStringEnumConverter : JsonConverterFactory { +- protected override JsonConverter CreateConverter(Type typeToConvert); + ++ public override JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Json.md b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Json.md new file mode 100644 index 00000000..be446903 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/3.0-preview8_System.Text.Json.md @@ -0,0 +1,53 @@ +# System.Text.Json + +``` diff + namespace System.Text.Json { + public sealed class JsonDocument : IDisposable { ++ public void WriteTo(Utf8JsonWriter writer); + } + public readonly struct JsonElement { +- public void WriteProperty(ReadOnlySpan utf8PropertyName, Utf8JsonWriter writer); + +- public void WriteProperty(ReadOnlySpan propertyName, Utf8JsonWriter writer); + +- public void WriteProperty(string propertyName, Utf8JsonWriter writer); + +- public void WriteProperty(JsonEncodedText propertyName, Utf8JsonWriter writer); + ++ public void WriteTo(Utf8JsonWriter writer); +- public void WriteValue(Utf8JsonWriter writer); + + } + public readonly struct JsonEncodedText : IEquatable { +- public static JsonEncodedText Encode(ReadOnlySpan utf8Value); + ++ public static JsonEncodedText Encode(ReadOnlySpan utf8Value, JavaScriptEncoder encoder = null); +- public static JsonEncodedText Encode(ReadOnlySpan value); + ++ public static JsonEncodedText Encode(ReadOnlySpan value, JavaScriptEncoder encoder = null); +- public static JsonEncodedText Encode(string value); + ++ public static JsonEncodedText Encode(string value, JavaScriptEncoder encoder = null); + } + public readonly struct JsonProperty { ++ public void WriteTo(Utf8JsonWriter writer); + } + public static class JsonSerializer { +- public static string Serialize(object value, Type inputType, JsonSerializerOptions options = null); ++ public static string Serialize(object value, Type type, JsonSerializerOptions options = null); +- public static void Serialize(Utf8JsonWriter writer, object value, Type inputType, JsonSerializerOptions options = null); ++ public static void Serialize(Utf8JsonWriter writer, object value, Type type, JsonSerializerOptions options = null); +- public static Task SerializeAsync(Stream utf8Json, object value, Type inputType, JsonSerializerOptions options = null, CancellationToken cancellationToken = default(CancellationToken)); ++ public static Task SerializeAsync(Stream utf8Json, object value, Type type, JsonSerializerOptions options = null, CancellationToken cancellationToken = default(CancellationToken)); +- public static byte[] SerializeToUtf8Bytes(object value, Type inputType, JsonSerializerOptions options = null); ++ public static byte[] SerializeToUtf8Bytes(object value, Type type, JsonSerializerOptions options = null); + } + public sealed class JsonSerializerOptions { ++ public JavaScriptEncoder Encoder { get; set; } + } + public struct JsonWriterOptions { ++ public JavaScriptEncoder Encoder { get; set; } + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/standalone-packages/3.0-preview8-standalone-packages.md b/release-notes/3.0/preview/api-diff/preview8/.Net/standalone-packages/3.0-preview8-standalone-packages.md new file mode 100644 index 00000000..85ce004a --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/standalone-packages/3.0-preview8-standalone-packages.md @@ -0,0 +1,7 @@ +# API Difference netcoreapp3.0-preview7 vs netcoreapp3.0-preview8 + +API listing follows standard diff formatting. Lines preceded by a '+' are +additions and a '-' indicates removal. + +* [System.IO.Pipelines](3.0-preview8-standalone-packages_System.IO.Pipelines.md) + diff --git a/release-notes/3.0/preview/api-diff/preview8/.Net/standalone-packages/3.0-preview8-standalone-packages_System.IO.Pipelines.md b/release-notes/3.0/preview/api-diff/preview8/.Net/standalone-packages/3.0-preview8-standalone-packages_System.IO.Pipelines.md new file mode 100644 index 00000000..a0c86276 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/.Net/standalone-packages/3.0-preview8-standalone-packages_System.IO.Pipelines.md @@ -0,0 +1,29 @@ +# System.IO.Pipelines + +``` diff + namespace System.IO.Pipelines { + public class PipeOptions { +- public PipeOptions(MemoryPool pool = null, PipeScheduler readerScheduler = null, PipeScheduler writerScheduler = null, long pauseWriterThreshold = (long)65536, long resumeWriterThreshold = (long)32768, int minimumSegmentSize = 4096, bool useSynchronizationContext = true); ++ public PipeOptions(MemoryPool pool = null, PipeScheduler readerScheduler = null, PipeScheduler writerScheduler = null, long pauseWriterThreshold = (long)-1, long resumeWriterThreshold = (long)-1, int minimumSegmentSize = -1, bool useSynchronizationContext = true); + } + public abstract class PipeReader { ++ public virtual ValueTask CompleteAsync(Exception exception = null); +- public abstract void OnWriterCompleted(Action callback, object state); ++ public virtual void OnWriterCompleted(Action callback, object state); + } + public abstract class PipeWriter : IBufferWriter { ++ public virtual ValueTask CompleteAsync(Exception exception = null); +- public abstract void OnReaderCompleted(Action callback, object state); ++ public virtual void OnReaderCompleted(Action callback, object state); + } + public class StreamPipeReaderOptions { +- public StreamPipeReaderOptions(MemoryPool pool = null, int bufferSize = 4096, int minimumReadSize = 1024, bool leaveOpen = false); ++ public StreamPipeReaderOptions(MemoryPool pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false); + } + public class StreamPipeWriterOptions { +- public StreamPipeWriterOptions(MemoryPool pool = null, int minimumBufferSize = 4096, bool leaveOpen = false); ++ public StreamPipeWriterOptions(MemoryPool pool = null, int minimumBufferSize = -1, bool leaveOpen = false); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8.md new file mode 100644 index 00000000..954dc6b7 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8.md @@ -0,0 +1,40 @@ +# API Difference aspnetcoreapp3.0-preview7 vs aspnetcoreapp3.0-preview8 + +API listing follows standard diff formatting. Lines preceded by a '+' are +additions and a '-' indicates removal. + +* [Microsoft.AspNetCore.Builder](3.0-preview8_Microsoft.AspNetCore.Builder.md) +* [Microsoft.AspNetCore.Components](3.0-preview8_Microsoft.AspNetCore.Components.md) +* [Microsoft.AspNetCore.Components.Browser](3.0-preview8_Microsoft.AspNetCore.Components.Browser.md) +* [Microsoft.AspNetCore.Components.Browser.Rendering](3.0-preview8_Microsoft.AspNetCore.Components.Browser.Rendering.md) +* [Microsoft.AspNetCore.Components.CompilerServices](3.0-preview8_Microsoft.AspNetCore.Components.CompilerServices.md) +* [Microsoft.AspNetCore.Components.Forms](3.0-preview8_Microsoft.AspNetCore.Components.Forms.md) +* [Microsoft.AspNetCore.Components.Layouts](3.0-preview8_Microsoft.AspNetCore.Components.Layouts.md) +* [Microsoft.AspNetCore.Components.Rendering](3.0-preview8_Microsoft.AspNetCore.Components.Rendering.md) +* [Microsoft.AspNetCore.Components.RenderTree](3.0-preview8_Microsoft.AspNetCore.Components.RenderTree.md) +* [Microsoft.AspNetCore.Components.Routing](3.0-preview8_Microsoft.AspNetCore.Components.Routing.md) +* [Microsoft.AspNetCore.Components.Server](3.0-preview8_Microsoft.AspNetCore.Components.Server.md) +* [Microsoft.AspNetCore.Components.Web](3.0-preview8_Microsoft.AspNetCore.Components.Web.md) +* [Microsoft.AspNetCore.Connections](3.0-preview8_Microsoft.AspNetCore.Connections.md) +* [Microsoft.AspNetCore.DataProtection.Cng.Internal](3.0-preview8_Microsoft.AspNetCore.DataProtection.Cng.Internal.md) +* [Microsoft.AspNetCore.DataProtection.Internal](3.0-preview8_Microsoft.AspNetCore.DataProtection.Internal.md) +* [Microsoft.AspNetCore.Hosting.Server.Abstractions](3.0-preview8_Microsoft.AspNetCore.Hosting.Server.Abstractions.md) +* [Microsoft.AspNetCore.Http](3.0-preview8_Microsoft.AspNetCore.Http.md) +* [Microsoft.AspNetCore.Http.Features](3.0-preview8_Microsoft.AspNetCore.Http.Features.md) +* [Microsoft.AspNetCore.Identity](3.0-preview8_Microsoft.AspNetCore.Identity.md) +* [Microsoft.AspNetCore.Mvc.ActionConstraints](3.0-preview8_Microsoft.AspNetCore.Mvc.ActionConstraints.md) +* [Microsoft.AspNetCore.Mvc.Diagnostics](3.0-preview8_Microsoft.AspNetCore.Mvc.Diagnostics.md) +* [Microsoft.AspNetCore.Mvc.Infrastructure](3.0-preview8_Microsoft.AspNetCore.Mvc.Infrastructure.md) +* [Microsoft.AspNetCore.Mvc.ViewFeatures](3.0-preview8_Microsoft.AspNetCore.Mvc.ViewFeatures.md) +* [Microsoft.AspNetCore.Routing.Internal](3.0-preview8_Microsoft.AspNetCore.Routing.Internal.md) +* [Microsoft.AspNetCore.Routing.Template](3.0-preview8_Microsoft.AspNetCore.Routing.Template.md) +* [Microsoft.AspNetCore.Routing.Tree](3.0-preview8_Microsoft.AspNetCore.Routing.Tree.md) +* [Microsoft.AspNetCore.SignalR](3.0-preview8_Microsoft.AspNetCore.SignalR.md) +* [Microsoft.Extensions.Hosting.Internal](3.0-preview8_Microsoft.Extensions.Hosting.Internal.md) +* [Microsoft.JSInterop](3.0-preview8_Microsoft.JSInterop.md) +* [Microsoft.JSInterop.Internal](3.0-preview8_Microsoft.JSInterop.Internal.md) +* [System.Drawing](3.0-preview8_System.Drawing.md) +* [System.Drawing.Printing](3.0-preview8_System.Drawing.Printing.md) +* [System.Media](3.0-preview8_System.Media.md) +* [System.Security.Cryptography.X509Certificates](3.0-preview8_System.Security.Cryptography.X509Certificates.md) + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Builder.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Builder.md new file mode 100644 index 00000000..47f8b4fc --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Builder.md @@ -0,0 +1,76 @@ +# Microsoft.AspNetCore.Builder + +``` diff + namespace Microsoft.AspNetCore.Builder { ++ public sealed class ComponentEndpointConventionBuilder : IEndpointConventionBuilder, IHubEndpointConventionBuilder { ++ public void Add(Action convention); ++ } + public static class ComponentEndpointConventionBuilderExtensions { ++ public static ComponentEndpointConventionBuilder AddComponent(this ComponentEndpointConventionBuilder builder, Type componentType, string selector); +- public static ComponentEndpointConventionBuilder AddComponent(this ComponentEndpointConventionBuilder builder, Type componentType, string selector); + + } + public static class ComponentEndpointRouteBuilderExtensions { +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints); + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints); +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Action configureOptions); + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Action configureOptions); +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type type, string selector); + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type type, string selector); +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type type, string selector, Action configureOptions); + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type type, string selector, Action configureOptions); +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type componentType, string selector, string path); + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type componentType, string selector, string path); +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type componentType, string selector, string path, Action configureOptions); + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, Type componentType, string selector, string path, Action configureOptions); +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector) where TComponent : IComponent; + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector) where TComponent : IComponent; +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector, Action configureOptions) where TComponent : IComponent; + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector, Action configureOptions) where TComponent : IComponent; +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector, string path) where TComponent : IComponent; + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector, string path) where TComponent : IComponent; +- public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector, string path, Action configureOptions) where TComponent : IComponent; + ++ public static ComponentEndpointConventionBuilder MapBlazorHub(this IEndpointRouteBuilder endpoints, string selector, string path, Action configureOptions) where TComponent : IComponent; + } ++ public sealed class ConnectionEndpointRouteBuilder : IEndpointConventionBuilder { ++ public void Add(Action convention); ++ } + public static class ConnectionEndpointRouteBuilderExtensions { +- public static IEndpointConventionBuilder MapConnectionHandler(this IEndpointRouteBuilder endpoints, string pattern) where TConnectionHandler : ConnectionHandler; + ++ public static ConnectionEndpointRouteBuilder MapConnectionHandler(this IEndpointRouteBuilder endpoints, string pattern) where TConnectionHandler : ConnectionHandler; +- public static IEndpointConventionBuilder MapConnectionHandler(this IEndpointRouteBuilder endpoints, string pattern, Action configureOptions) where TConnectionHandler : ConnectionHandler; + ++ public static ConnectionEndpointRouteBuilder MapConnectionHandler(this IEndpointRouteBuilder endpoints, string pattern, Action configureOptions) where TConnectionHandler : ConnectionHandler; +- public static IEndpointConventionBuilder MapConnections(this IEndpointRouteBuilder endpoints, string pattern, HttpConnectionDispatcherOptions options, Action configure); + ++ public static ConnectionEndpointRouteBuilder MapConnections(this IEndpointRouteBuilder endpoints, string pattern, HttpConnectionDispatcherOptions options, Action configure); +- public static IEndpointConventionBuilder MapConnections(this IEndpointRouteBuilder endpoints, string pattern, Action configure); + ++ public static ConnectionEndpointRouteBuilder MapConnections(this IEndpointRouteBuilder endpoints, string pattern, Action configure); + } ++ public sealed class HubEndpointConventionBuilder : IEndpointConventionBuilder, IHubEndpointConventionBuilder { ++ public void Add(Action convention); ++ } + public static class HubEndpointRouteBuilderExtensions { +- public static HubEndpointConventionBuilder MapHub(this IEndpointRouteBuilder endpoints, string pattern) where THub : Hub; + ++ public static HubEndpointConventionBuilder MapHub(this IEndpointRouteBuilder endpoints, string pattern) where THub : Hub; +- public static HubEndpointConventionBuilder MapHub(this IEndpointRouteBuilder endpoints, string pattern, Action configureOptions) where THub : Hub; + ++ public static HubEndpointConventionBuilder MapHub(this IEndpointRouteBuilder endpoints, string pattern, Action configureOptions) where THub : Hub; + } ++ public interface IHubEndpointConventionBuilder : IEndpointConventionBuilder + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Browser.Rendering.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Browser.Rendering.md new file mode 100644 index 00000000..52507750 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Browser.Rendering.md @@ -0,0 +1,13 @@ +# Microsoft.AspNetCore.Components.Browser.Rendering + +``` diff +-namespace Microsoft.AspNetCore.Components.Browser.Rendering { + { +- public class RemoteRendererException : Exception { + { +- public RemoteRendererException(string message); + +- } +-} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Browser.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Browser.md new file mode 100644 index 00000000..103149cd --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Browser.md @@ -0,0 +1,26 @@ +# Microsoft.AspNetCore.Components.Browser + +``` diff +-namespace Microsoft.AspNetCore.Components.Browser { + { +- public static class RendererRegistryEventDispatcher { + { +- public static Task DispatchEvent(RendererRegistryEventDispatcher.BrowserEventDescriptor eventDescriptor, string eventArgsJson); + +- public class BrowserEventDescriptor { + { +- public BrowserEventDescriptor(); + +- public int BrowserRendererId { get; set; } + +- public string EventArgsType { get; set; } + +- public EventFieldInfo EventFieldInfo { get; set; } + +- public int EventHandlerId { get; set; } + +- } +- } +-} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.CompilerServices.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.CompilerServices.md new file mode 100644 index 00000000..ff4cb2bb --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.CompilerServices.md @@ -0,0 +1,12 @@ +# Microsoft.AspNetCore.Components.CompilerServices + +``` diff ++namespace Microsoft.AspNetCore.Components.CompilerServices { ++ public static class RuntimeHelpers { ++ public static EventCallback CreateInferredEventCallback(object receiver, Action callback, T value); ++ public static EventCallback CreateInferredEventCallback(object receiver, Func callback, T value); ++ public static T TypeCheck(T value); ++ } ++} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Forms.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Forms.md new file mode 100644 index 00000000..24c657d9 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Forms.md @@ -0,0 +1,72 @@ +# Microsoft.AspNetCore.Components.Forms + +``` diff + namespace Microsoft.AspNetCore.Components.Forms { + public class DataAnnotationsValidator : ComponentBase { +- protected override void OnInit(); + ++ protected override void OnInitialized(); + } + public class EditForm : ComponentBase { +- public IReadOnlyDictionary AdditionalAttributes { get; private set; } ++ public IReadOnlyDictionary AdditionalAttributes { get; set; } +- public RenderFragment ChildContent { get; private set; } ++ public RenderFragment ChildContent { get; set; } +- public EditContext EditContext { get; private set; } ++ public EditContext EditContext { get; set; } +- public object Model { get; private set; } ++ public object Model { get; set; } +- public EventCallback OnInvalidSubmit { get; private set; } ++ public EventCallback OnInvalidSubmit { get; set; } +- public EventCallback OnSubmit { get; private set; } ++ public EventCallback OnSubmit { get; set; } +- public EventCallback OnValidSubmit { get; private set; } ++ public EventCallback OnValidSubmit { get; set; } + } + public abstract class InputBase : ComponentBase { +- public IReadOnlyDictionary AdditionalAttributes { get; private set; } ++ public IReadOnlyDictionary AdditionalAttributes { get; set; } +- public string Class { get; private set; } + +- protected EditContext EditContext { get; } ++ protected EditContext EditContext { get; set; } +- protected FieldIdentifier FieldIdentifier { get; } ++ protected FieldIdentifier FieldIdentifier { get; set; } +- public string Id { get; private set; } + +- public T Value { get; private set; } ++ public T Value { get; set; } +- public EventCallback ValueChanged { get; private set; } ++ public EventCallback ValueChanged { get; set; } +- public Expression> ValueExpression { get; private set; } ++ public Expression> ValueExpression { get; set; } +- public override Task SetParametersAsync(ParameterCollection parameters); + ++ public override Task SetParametersAsync(ParameterView parameters); + } + public class InputDate : InputBase { +- public string ParsingErrorMessage { get; private set; } ++ public string ParsingErrorMessage { get; set; } + } + public class InputNumber : InputBase { +- public string ParsingErrorMessage { get; private set; } ++ public string ParsingErrorMessage { get; set; } ++ protected override string FormatValueAsString(T value); + } + public class InputSelect : InputBase { +- public RenderFragment ChildContent { get; private set; } ++ public RenderFragment ChildContent { get; set; } + } + public class ValidationMessage : ComponentBase, IDisposable { +- public IReadOnlyDictionary AdditionalAttributes { get; private set; } ++ public IReadOnlyDictionary AdditionalAttributes { get; set; } +- public Expression> For { get; private set; } ++ public Expression> For { get; set; } + } + public class ValidationSummary : ComponentBase, IDisposable { +- public IReadOnlyDictionary AdditionalAttributes { get; private set; } ++ public IReadOnlyDictionary AdditionalAttributes { get; set; } + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Layouts.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Layouts.md new file mode 100644 index 00000000..f9de2f88 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Layouts.md @@ -0,0 +1,22 @@ +# Microsoft.AspNetCore.Components.Layouts + +``` diff +-namespace Microsoft.AspNetCore.Components.Layouts { + { +- public class LayoutAttribute : Attribute { + { +- public LayoutAttribute(Type layoutType); + +- public Type LayoutType { get; } + +- } +- public abstract class LayoutComponentBase : ComponentBase { + { +- protected LayoutComponentBase(); + +- protected RenderFragment Body { get; } + +- } +-} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.RenderTree.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.RenderTree.md new file mode 100644 index 00000000..967d8a26 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.RenderTree.md @@ -0,0 +1,70 @@ +# Microsoft.AspNetCore.Components.RenderTree + +``` diff + namespace Microsoft.AspNetCore.Components.RenderTree { ++ public readonly struct ArrayBuilderSegment : IEnumerable, IEnumerable { ++ public T[] Array { get; } ++ public int Count { get; } ++ public int Offset { get; } ++ public T this[int index] { get; } ++ IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator(); ++ IEnumerator System.Collections.IEnumerable.GetEnumerator(); ++ } +- public class RenderTreeBuilder { ++ public sealed class RenderTreeBuilder : IDisposable { +- public const string ChildContent = "ChildContent"; + ++ public RenderTreeBuilder(); +- public RenderTreeBuilder(Renderer renderer); + +- public void AddAttribute(int sequence, string name, Action value); + +- public void AddAttribute(int sequence, string name, Action value); + +- public void AddAttribute(int sequence, string name, Func value); + +- public void AddAttribute(int sequence, string name, Func value); + +- public void AddElementReferenceCapture(int sequence, Action elementReferenceCaptureAction); + ++ public void AddElementReferenceCapture(int sequence, Action elementReferenceCaptureAction); ++ public void CloseRegion(); ++ public void OpenRegion(int sequence); ++ void System.IDisposable.Dispose(); + } + public readonly struct RenderTreeDiff { ++ public readonly ArrayBuilderSegment Edits; +- public readonly ArraySegment Edits; + + } + public readonly struct RenderTreeFrame { +- [System.Runtime.InteropServices.FieldOffsetAttribute(24)] +- public readonly Action ElementReferenceCaptureAction; + ++ [System.Runtime.InteropServices.FieldOffsetAttribute(24)] ++ public readonly Action ElementReferenceCaptureAction; + } +- public enum RenderTreeFrameType { ++ public enum RenderTreeFrameType : short { +- Attribute = 3, ++ Attribute = (short)3, +- Component = 4, ++ Component = (short)4, +- ComponentReferenceCapture = 7, ++ ComponentReferenceCapture = (short)7, +- Element = 1, ++ Element = (short)1, +- ElementReferenceCapture = 6, ++ ElementReferenceCapture = (short)6, +- Markup = 8, ++ Markup = (short)8, +- None = 0, ++ None = (short)0, +- Region = 5, ++ Region = (short)5, +- Text = 2, ++ Text = (short)2, + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Rendering.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Rendering.md new file mode 100644 index 00000000..e418a857 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Rendering.md @@ -0,0 +1,54 @@ +# Microsoft.AspNetCore.Components.Rendering + +``` diff + namespace Microsoft.AspNetCore.Components.Rendering { + public class HtmlRenderer : Renderer { ++ public HtmlRenderer(IServiceProvider serviceProvider, ILoggerFactory loggerFactory, Func htmlEncoder); +- public HtmlRenderer(IServiceProvider serviceProvider, Func htmlEncoder, IDispatcher dispatcher); + ++ public override Dispatcher Dispatcher { get; } +- public Task RenderComponentAsync(Type componentType, ParameterCollection initialParameters); + ++ public Task RenderComponentAsync(Type componentType, ParameterView initialParameters); +- public Task RenderComponentAsync(ParameterCollection initialParameters) where TComponent : IComponent; + ++ public Task RenderComponentAsync(ParameterView initialParameters) where TComponent : IComponent; + } +- public interface IDispatcher { + { +- Task Invoke(Action action); + +- Task Invoke(Func function); + +- Task InvokeAsync(Func asyncAction); + +- Task InvokeAsync(Func> asyncFunction); + +- } + public readonly struct RenderBatch { +- public ArrayRange DisposedEventHandlerIDs { get; } ++ public ArrayRange DisposedEventHandlerIDs { get; } + } + public abstract class Renderer : IDisposable { +- public Renderer(IServiceProvider serviceProvider); + +- public Renderer(IServiceProvider serviceProvider, IDispatcher dispatcher); + ++ public Renderer(IServiceProvider serviceProvider, ILoggerFactory loggerFactory); ++ public abstract Dispatcher Dispatcher { get; } +- public static IDispatcher CreateDefaultDispatcher(); + +- public virtual Task DispatchEventAsync(int eventHandlerId, EventFieldInfo fieldInfo, UIEventArgs eventArgs); + ++ public virtual Task DispatchEventAsync(ulong eventHandlerId, EventFieldInfo fieldInfo, UIEventArgs eventArgs); +- public virtual Task Invoke(Action workItem); + +- public virtual Task InvokeAsync(Func workItem); + +- protected Task RenderRootComponentAsync(int componentId, ParameterCollection initialParameters); + ++ protected Task RenderRootComponentAsync(int componentId, ParameterView initialParameters); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Routing.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Routing.md new file mode 100644 index 00000000..36fcaba6 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Routing.md @@ -0,0 +1,42 @@ +# Microsoft.AspNetCore.Components.Routing + +``` diff + namespace Microsoft.AspNetCore.Components.Routing { +- public class NavLink : IComponent, IDisposable { ++ public class NavLink : ComponentBase, IDisposable { +- public string ActiveClass { get; private set; } ++ public string ActiveClass { get; set; } ++ public IReadOnlyDictionary AdditionalAttributes { get; set; } ++ public RenderFragment ChildContent { get; set; } ++ protected string CssClass { get; set; } +- public NavLinkMatch Match { get; private set; } ++ public NavLinkMatch Match { get; set; } ++ protected override void BuildRenderTree(RenderTreeBuilder builder); +- public void Configure(RenderHandle renderHandle); + ++ protected override void OnInitialized(); ++ protected override void OnParametersSet(); +- public Task SetParametersAsync(ParameterCollection parameters); + + } +- public class Router : IComponent, IDisposable { ++ public class Router : IComponent, IDisposable, IHandleAfterRender { +- public Assembly AppAssembly { get; private set; } ++ public Assembly AppAssembly { get; set; } +- public RenderFragment AuthorizingContent { get; private set; } ++ public RenderFragment AuthorizingContent { get; set; } +- public RenderFragment NotAuthorizedContent { get; private set; } ++ public RenderFragment NotAuthorizedContent { get; set; } +- public RenderFragment NotFoundContent { get; private set; } ++ public RenderFragment NotFoundContent { get; set; } ++ public void Attach(RenderHandle renderHandle); +- public void Configure(RenderHandle renderHandle); + ++ Task Microsoft.AspNetCore.Components.IHandleAfterRender.OnAfterRenderAsync(); +- public Task SetParametersAsync(ParameterCollection parameters); + ++ public Task SetParametersAsync(ParameterView parameters); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Server.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Server.md new file mode 100644 index 00000000..818bf30c --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Server.md @@ -0,0 +1,32 @@ +# Microsoft.AspNetCore.Components.Server + +``` diff + namespace Microsoft.AspNetCore.Components.Server { +- public class CircuitOptions { ++ public sealed class CircuitOptions { ++ public bool DetailedErrors { get; set; } ++ public int DisconnectedCircuitMaxRetained { get; set; } ++ public TimeSpan JSInteropDefaultCallTimeout { get; set; } +- public int MaxRetainedDisconnectedCircuits { get; set; } + + } +- public sealed class ComponentEndpointConventionBuilder : IEndpointConventionBuilder, IHubEndpointConventionBuilder { + { +- public void Add(Action convention); + +- } + public class ComponentPrerenderingContext { +- public ParameterCollection Parameters { get; set; } ++ public ParameterView Parameters { get; set; } + } +- public static class WasmMediaTypeNames { + { +- public static class Application { + { +- public const string Wasm = "application/wasm"; + +- } +- } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Web.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Web.md new file mode 100644 index 00000000..725befd2 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.Web.md @@ -0,0 +1,17 @@ +# Microsoft.AspNetCore.Components.Web + +``` diff ++namespace Microsoft.AspNetCore.Components.Web { ++ public static class RendererRegistryEventDispatcher { ++ public static Task DispatchEvent(RendererRegistryEventDispatcher.BrowserEventDescriptor eventDescriptor, string eventArgsJson); ++ public class BrowserEventDescriptor { ++ public BrowserEventDescriptor(); ++ public int BrowserRendererId { get; set; } ++ public string EventArgsType { get; set; } ++ public EventFieldInfo EventFieldInfo { get; set; } ++ public ulong EventHandlerId { get; set; } ++ } ++ } ++} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.md new file mode 100644 index 00000000..14d3deaf --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Components.md @@ -0,0 +1,497 @@ +# Microsoft.AspNetCore.Components + +``` diff + namespace Microsoft.AspNetCore.Components { + public class AuthorizeView : AuthorizeViewCore { +- public string Policy { get; private set; } ++ public string Policy { get; set; } +- public object Resource { get; private set; } + +- public string Roles { get; private set; } ++ public string Roles { get; set; } + } + public abstract class AuthorizeViewCore : ComponentBase { +- public AuthorizeViewCore(); ++ protected AuthorizeViewCore(); +- public RenderFragment Authorized { get; private set; } ++ public RenderFragment Authorized { get; set; } +- public RenderFragment Authorizing { get; private set; } ++ public RenderFragment Authorizing { get; set; } +- public RenderFragment ChildContent { get; private set; } ++ public RenderFragment ChildContent { get; set; } +- public RenderFragment NotAuthorized { get; private set; } ++ public RenderFragment NotAuthorized { get; set; } ++ public object Resource { get; set; } + } ++ public static class BindConverter { ++ public static bool FormatValue(bool value, CultureInfo culture = null); ++ public static string FormatValue(DateTime value, CultureInfo culture = null); ++ public static string FormatValue(DateTime value, string format, CultureInfo culture = null); ++ public static string FormatValue(DateTimeOffset value, CultureInfo culture = null); ++ public static string FormatValue(DateTimeOffset value, string format, CultureInfo culture = null); ++ public static string FormatValue(Decimal value, CultureInfo culture = null); ++ public static string FormatValue(double value, CultureInfo culture = null); ++ public static string FormatValue(int value, CultureInfo culture = null); ++ public static string FormatValue(long value, CultureInfo culture = null); ++ public static Nullable FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, string format, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, string format, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(Nullable value, CultureInfo culture = null); ++ public static string FormatValue(float value, CultureInfo culture = null); ++ public static string FormatValue(string value, CultureInfo culture = null); ++ public static object FormatValue(T value, CultureInfo culture = null); ++ public static bool TryConvertTo(object obj, CultureInfo culture, out T value); ++ public static bool TryConvertToBool(object obj, CultureInfo culture, out bool value); ++ public static bool TryConvertToDateTime(object obj, CultureInfo culture, out DateTime value); ++ public static bool TryConvertToDateTime(object obj, CultureInfo culture, string format, out DateTime value); ++ public static bool TryConvertToDateTimeOffset(object obj, CultureInfo culture, out DateTimeOffset value); ++ public static bool TryConvertToDateTimeOffset(object obj, CultureInfo culture, string format, out DateTimeOffset value); ++ public static bool TryConvertToDecimal(object obj, CultureInfo culture, out Decimal value); ++ public static bool TryConvertToDouble(object obj, CultureInfo culture, out double value); ++ public static bool TryConvertToFloat(object obj, CultureInfo culture, out float value); ++ public static bool TryConvertToInt(object obj, CultureInfo culture, out int value); ++ public static bool TryConvertToLong(object obj, CultureInfo culture, out long value); ++ public static bool TryConvertToNullableBool(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToNullableDateTime(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToNullableDateTime(object obj, CultureInfo culture, string format, out Nullable value); ++ public static bool TryConvertToNullableDateTimeOffset(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToNullableDateTimeOffset(object obj, CultureInfo culture, string format, out Nullable value); ++ public static bool TryConvertToNullableDecimal(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToNullableDouble(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToNullableFloat(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToNullableInt(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToNullableLong(object obj, CultureInfo culture, out Nullable value); ++ public static bool TryConvertToString(object obj, CultureInfo culture, out string value); ++ } + public sealed class BindInputElementAttribute : Attribute { +- public BindInputElementAttribute(string type, string suffix, string valueAttribute, string changeAttribute); + ++ public BindInputElementAttribute(string type, string suffix, string valueAttribute, string changeAttribute, bool isInvariantCulture, string format); ++ public string Format { get; } ++ public bool IsInvariantCulture { get; } + } +- public static class BindMethods { + { +- public static EventCallback GetEventHandlerValue(EventCallback value) where T : UIEventArgs; + +- public static EventCallback GetEventHandlerValue(EventCallback value) where T : UIEventArgs; + +- public static MulticastDelegate GetEventHandlerValue(Action value) where T : UIEventArgs; + +- public static MulticastDelegate GetEventHandlerValue(Action value) where T : UIEventArgs; + +- public static MulticastDelegate GetEventHandlerValue(Func value) where T : UIEventArgs; + +- public static MulticastDelegate GetEventHandlerValue(Func value) where T : UIEventArgs; + +- public static string GetEventHandlerValue(string value) where T : UIEventArgs; + +- public static string GetValue(DateTime value, string format); + +- public static T GetValue(T value); + +- public static Action SetValueHandler(Action setter, bool existingValue); + +- public static Action SetValueHandler(Action setter, DateTime existingValue); + +- public static Action SetValueHandler(Action setter, DateTime existingValue, string format); + +- public static Action SetValueHandler(Action setter, Decimal existingValue); + +- public static Action SetValueHandler(Action setter, double existingValue); + +- public static Action SetValueHandler(Action setter, int existingValue); + +- public static Action SetValueHandler(Action setter, long existingValue); + +- public static Action SetValueHandler(Action> setter, Nullable existingValue); + +- public static Action SetValueHandler(Action> setter, Nullable existingValue); + +- public static Action SetValueHandler(Action> setter, Nullable existingValue); + +- public static Action SetValueHandler(Action> setter, Nullable existingValue); + +- public static Action SetValueHandler(Action> setter, Nullable existingValue); + +- public static Action SetValueHandler(Action> setter, Nullable existingValue); + +- public static Action SetValueHandler(Action setter, float existingValue); + +- public static Action SetValueHandler(Action setter, string existingValue); + +- public static Action SetValueHandler(Action setter, T existingValue); + +- } + public class CascadingAuthenticationState : ComponentBase, IDisposable { +- public RenderFragment ChildContent { get; private set; } ++ public RenderFragment ChildContent { get; set; } +- protected override void OnInit(); + ++ protected override void OnInitialized(); + } + public class CascadingValue : IComponent { +- public RenderFragment ChildContent { get; private set; } ++ public RenderFragment ChildContent { get; set; } +- public bool IsFixed { get; private set; } ++ public bool IsFixed { get; set; } +- public string Name { get; private set; } ++ public string Name { get; set; } +- public T Value { get; private set; } ++ public T Value { get; set; } ++ public void Attach(RenderHandle renderHandle); +- public void Configure(RenderHandle renderHandle); + +- public Task SetParametersAsync(ParameterCollection parameters); + ++ public Task SetParametersAsync(ParameterView parameters); + } + public abstract class ComponentBase : IComponent, IHandleAfterRender, IHandleEvent { +- protected Task Invoke(Action workItem); + ++ protected Task InvokeAsync(Action workItem); ++ void Microsoft.AspNetCore.Components.IComponent.Attach(RenderHandle renderHandle); +- void Microsoft.AspNetCore.Components.IComponent.Configure(RenderHandle renderHandle); + +- protected virtual void OnInit(); + +- protected virtual Task OnInitAsync(); + ++ protected virtual void OnInitialized(); ++ protected virtual Task OnInitializedAsync(); +- public virtual Task SetParametersAsync(ParameterCollection parameters); + ++ public virtual Task SetParametersAsync(ParameterView parameters); + } ++ public abstract class Dispatcher { ++ protected Dispatcher(); ++ public abstract bool CheckAccess(); ++ public static Dispatcher CreateDefault(); ++ public abstract Task InvokeAsync(Action workItem); ++ public abstract Task InvokeAsync(Func workItem); ++ public abstract Task InvokeAsync(Func> workItem); ++ public abstract Task InvokeAsync(Func workItem); ++ protected void OnUnhandledException(UnhandledExceptionEventArgs e); ++ } +- public readonly struct ElementRef { + { +- public string __internalId { get; } + +- } ++ public readonly struct ElementReference + public readonly struct EventCallback { ++ public static readonly EventCallback Empty; + } + public sealed class EventCallbackFactory { +- public string Create(object receiver, string callback); + + } + public static class EventCallbackFactoryBinderExtensions { +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, bool existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, bool existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, DateTime existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, DateTime existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, DateTime existingValue, string format); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, DateTime existingValue, string format, CultureInfo culture = null); ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, DateTimeOffset existingValue, CultureInfo culture = null); ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, DateTimeOffset existingValue, string format, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, Decimal existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, Decimal existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, double existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, double existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, int existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, int existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, long existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, long existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, string format, CultureInfo culture = null); ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, string format, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action> setter, Nullable existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, float existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, float existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, string existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, string existingValue, CultureInfo culture = null); +- public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, T existingValue); + ++ public static EventCallback CreateBinder(this EventCallbackFactory factory, object receiver, Action setter, T existingValue, CultureInfo culture = null); + } + public static class EventCallbackFactoryUIEventArgsExtensions { +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + +- public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); + + } +- public struct EventCallbackWorkItem ++ public readonly struct EventCallbackWorkItem +- public static class HttpClientJsonExtensions { + { +- public static Task GetJsonAsync(this HttpClient httpClient, string requestUri); + +- public static Task PostJsonAsync(this HttpClient httpClient, string requestUri, object content); + +- public static Task PostJsonAsync(this HttpClient httpClient, string requestUri, object content); + +- public static Task PutJsonAsync(this HttpClient httpClient, string requestUri, object content); + +- public static Task PutJsonAsync(this HttpClient httpClient, string requestUri, object content); + +- public static Task SendJsonAsync(this HttpClient httpClient, HttpMethod method, string requestUri, object content); + +- public static Task SendJsonAsync(this HttpClient httpClient, HttpMethod method, string requestUri, object content); + +- } + public interface IComponent { ++ void Attach(RenderHandle renderHandle); +- void Configure(RenderHandle renderHandle); + +- Task SetParametersAsync(ParameterCollection parameters); + ++ Task SetParametersAsync(ParameterView parameters); + } ++ public interface IHostEnvironmentAuthenticationStateProvider { ++ void SetAuthenticationState(Task authenticationStateTask); ++ } +- public class InjectAttribute : Attribute ++ public sealed class InjectAttribute : Attribute ++ public sealed class LayoutAttribute : Attribute { ++ public LayoutAttribute(Type layoutType); ++ public Type LayoutType { get; } ++ } ++ public abstract class LayoutComponentBase : ComponentBase { ++ protected LayoutComponentBase(); ++ public RenderFragment Body { get; set; } ++ } + public class PageDisplay : IComponent { +- public RenderFragment AuthorizingContent { get; private set; } ++ public RenderFragment AuthorizingContent { get; set; } +- public RenderFragment NotAuthorizedContent { get; private set; } ++ public RenderFragment NotAuthorizedContent { get; set; } +- public Type Page { get; private set; } ++ public Type Page { get; set; } +- public IDictionary PageParameters { get; private set; } ++ public IDictionary PageParameters { get; set; } ++ public void Attach(RenderHandle renderHandle); +- public void Configure(RenderHandle renderHandle); + +- public Task SetParametersAsync(ParameterCollection parameters); + ++ public Task SetParametersAsync(ParameterView parameters); + } +- public readonly struct Parameter { + { +- public bool Cascading { get; } + +- public string Name { get; } + +- public object Value { get; } + +- } +- public readonly struct ParameterCollection { + { +- public static ParameterCollection Empty { get; } + +- public static ParameterCollection FromDictionary(IDictionary parameters); + +- public ParameterEnumerator GetEnumerator(); + +- public T GetValueOrDefault(string parameterName); + +- public T GetValueOrDefault(string parameterName, T defaultValue); + +- public IReadOnlyDictionary ToDictionary(); + +- public bool TryGetValue(string parameterName, out T result); + +- } +- public static class ParameterCollectionExtensions { + { +- public static void SetParameterProperties(this in ParameterCollection parameterCollection, object target); + +- } +- public struct ParameterEnumerator { + { +- public Parameter Current { get; } + +- public bool MoveNext(); + +- } ++ public readonly struct ParameterValue { ++ public bool Cascading { get; } ++ public string Name { get; } ++ public object Value { get; } ++ } ++ public readonly struct ParameterView { ++ public static ParameterView Empty { get; } ++ public static ParameterView FromDictionary(IDictionary parameters); ++ public ParameterView.Enumerator GetEnumerator(); ++ public T GetValueOrDefault(string parameterName); ++ public T GetValueOrDefault(string parameterName, T defaultValue); ++ public void SetParameterProperties(object target); ++ public IReadOnlyDictionary ToDictionary(); ++ public bool TryGetValue(string parameterName, out T result); ++ public struct Enumerator { ++ public ParameterValue Current { get; } ++ public bool MoveNext(); ++ } ++ } + public readonly struct RenderHandle { ++ public Dispatcher Dispatcher { get; } +- public Task Invoke(Action workItem); + +- public Task InvokeAsync(Func workItem); + + } +- public class RouteAttribute : Attribute ++ public sealed class RouteAttribute : Attribute +- public static class RuntimeHelpers { + { +- public static T TypeCheck(T value); + +- } + public class UIEventArgs { +- public static readonly UIEventArgs Empty; + + } +- public static class UIEventArgsRenderTreeBuilderExtensions { + { +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Action value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- public static void AddAttribute(this RenderTreeBuilder builder, int sequence, string name, Func value); + +- } ++ public static class WebEventCallbackFactoryUIEventArgsExtensions { ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Action callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ public static EventCallback Create(this EventCallbackFactory factory, object receiver, Func callback); ++ } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Connections.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Connections.md new file mode 100644 index 00000000..c83a8561 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Connections.md @@ -0,0 +1,10 @@ +# Microsoft.AspNetCore.Connections + +``` diff + namespace Microsoft.AspNetCore.Connections { + public interface IConnectionFactory { + ValueTask ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken = default(CancellationToken)); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.DataProtection.Cng.Internal.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.DataProtection.Cng.Internal.md new file mode 100644 index 00000000..4b741b69 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.DataProtection.Cng.Internal.md @@ -0,0 +1,25 @@ +# Microsoft.AspNetCore.DataProtection.Cng.Internal + +``` diff +-namespace Microsoft.AspNetCore.DataProtection.Cng.Internal { + { +- public abstract class CngAuthenticatedEncryptorBase : IAuthenticatedEncryptor, IDisposable { + { +- protected CngAuthenticatedEncryptorBase(); + +- public byte[] Decrypt(ArraySegment ciphertext, ArraySegment additionalAuthenticatedData); + +- protected unsafe abstract byte[] DecryptImpl(byte* pbCiphertext, uint cbCiphertext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData); + +- public abstract void Dispose(); + +- public byte[] Encrypt(ArraySegment plaintext, ArraySegment additionalAuthenticatedData); + +- public byte[] Encrypt(ArraySegment plaintext, ArraySegment additionalAuthenticatedData, uint preBufferSize, uint postBufferSize); + +- protected unsafe abstract byte[] EncryptImpl(byte* pbPlaintext, uint cbPlaintext, byte* pbAdditionalAuthenticatedData, uint cbAdditionalAuthenticatedData, uint cbPreBuffer, uint cbPostBuffer); + +- } +-} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.DataProtection.Internal.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.DataProtection.Internal.md new file mode 100644 index 00000000..29017c88 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.DataProtection.Internal.md @@ -0,0 +1,14 @@ +# Microsoft.AspNetCore.DataProtection.Internal + +``` diff + namespace Microsoft.AspNetCore.DataProtection.Internal { +- public class DataProtectionBuilder : IDataProtectionBuilder { + { +- public DataProtectionBuilder(IServiceCollection services); + +- public IServiceCollection Services { get; } + +- } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Hosting.Server.Abstractions.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Hosting.Server.Abstractions.md new file mode 100644 index 00000000..cdd878a4 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Hosting.Server.Abstractions.md @@ -0,0 +1,10 @@ +# Microsoft.AspNetCore.Hosting.Server.Abstractions + +``` diff ++namespace Microsoft.AspNetCore.Hosting.Server.Abstractions { ++ public interface IHostContextContainer { ++ TContext HostContext { get; set; } ++ } ++} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Http.Features.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Http.Features.md new file mode 100644 index 00000000..5c79c9e7 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Http.Features.md @@ -0,0 +1,37 @@ +# Microsoft.AspNetCore.Http.Features + +``` diff + namespace Microsoft.AspNetCore.Http.Features { ++ public interface IHttpResponseBodyFeature { ++ Stream Stream { get; } ++ PipeWriter Writer { get; } ++ Task CompleteAsync(); ++ void DisableBuffering(); ++ Task SendFileAsync(string path, long offset, Nullable count, CancellationToken cancellationToken = default(CancellationToken)); ++ Task StartAsync(CancellationToken cancellationToken = default(CancellationToken)); ++ } +- public interface IHttpResponseCompletionFeature { + { +- Task CompleteAsync(); + +- } +- public interface IHttpResponseStartFeature { + { +- Task StartAsync(CancellationToken token = default(CancellationToken)); + +- } +- public interface IResponseBodyPipeFeature { + { +- PipeWriter Writer { get; } + +- } +- public class ResponseBodyPipeFeature : IResponseBodyPipeFeature { + { +- public ResponseBodyPipeFeature(HttpContext context); + +- public PipeWriter Writer { get; } + +- } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Http.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Http.md new file mode 100644 index 00000000..b336640c --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Http.md @@ -0,0 +1,30 @@ +# Microsoft.AspNetCore.Http + +``` diff + namespace Microsoft.AspNetCore.Http { + public abstract class HttpResponse { ++ public virtual Task CompleteAsync(); + } +- public interface IDefaultHttpContextContainer { + { +- DefaultHttpContext HttpContext { get; } + +- } ++ public static class SendFileFallback { ++ public static Task SendFileAsync(Stream destination, string filePath, long offset, Nullable count, CancellationToken cancellationToken); ++ } ++ public class StreamResponseBodyFeature : IHttpResponseBodyFeature { ++ public StreamResponseBodyFeature(Stream stream); ++ public StreamResponseBodyFeature(Stream stream, IHttpResponseBodyFeature priorFeature); ++ public IHttpResponseBodyFeature PriorFeature { get; } ++ public Stream Stream { get; } ++ public PipeWriter Writer { get; } ++ public virtual Task CompleteAsync(); ++ public virtual void DisableBuffering(); ++ public void Dispose(); ++ public virtual Task SendFileAsync(string path, long offset, Nullable count, CancellationToken cancellationToken); ++ public virtual Task StartAsync(CancellationToken cancellationToken = default(CancellationToken)); ++ } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Identity.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Identity.md new file mode 100644 index 00000000..34b13381 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Identity.md @@ -0,0 +1,10 @@ +# Microsoft.AspNetCore.Identity + +``` diff + namespace Microsoft.AspNetCore.Identity { + public class ExternalLoginInfo : UserLoginInfo { ++ public AuthenticationProperties AuthenticationProperties { get; set; } + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.ActionConstraints.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.ActionConstraints.md new file mode 100644 index 00000000..3cf501d2 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.ActionConstraints.md @@ -0,0 +1,14 @@ +# Microsoft.AspNetCore.Mvc.ActionConstraints + +``` diff + namespace Microsoft.AspNetCore.Mvc.ActionConstraints { ++ public class HttpMethodActionConstraint : IActionConstraint, IActionConstraintMetadata { ++ public static readonly int HttpMethodConstraintOrder; ++ public HttpMethodActionConstraint(IEnumerable httpMethods); ++ public IEnumerable HttpMethods { get; } ++ public int Order { get; } ++ public virtual bool Accept(ActionConstraintContext context); ++ } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.Diagnostics.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.Diagnostics.md new file mode 100644 index 00000000..664fc5e2 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.Diagnostics.md @@ -0,0 +1,481 @@ +# Microsoft.AspNetCore.Mvc.Diagnostics + +``` diff ++namespace Microsoft.AspNetCore.Mvc.Diagnostics { ++ public sealed class AfterActionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterAction"; ++ public AfterActionEventData(ActionDescriptor actionDescriptor, HttpContext httpContext, RouteData routeData); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public HttpContext HttpContext { get; } ++ public RouteData RouteData { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterActionFilterOnActionExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnActionExecuted"; ++ public AfterActionFilterOnActionExecutedEventData(ActionDescriptor actionDescriptor, ActionExecutedContext actionExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public ActionExecutedContext ActionExecutedContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterActionFilterOnActionExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnActionExecuting"; ++ public AfterActionFilterOnActionExecutingEventData(ActionDescriptor actionDescriptor, ActionExecutingContext actionExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public ActionExecutingContext ActionExecutingContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterActionFilterOnActionExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnActionExecution"; ++ public AfterActionFilterOnActionExecutionEventData(ActionDescriptor actionDescriptor, ActionExecutedContext actionExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public ActionExecutedContext ActionExecutedContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterActionResultEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterActionResult"; ++ public AfterActionResultEventData(ActionContext actionContext, IActionResult result); ++ public ActionContext ActionContext { get; } ++ protected override int Count { get; } ++ public IActionResult Result { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterAuthorizationFilterOnAuthorizationEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnAuthorization"; ++ public AfterAuthorizationFilterOnAuthorizationEventData(ActionDescriptor actionDescriptor, AuthorizationFilterContext authorizationContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public AuthorizationFilterContext AuthorizationContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterControllerActionMethodEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterControllerActionMethod"; ++ public AfterControllerActionMethodEventData(ActionContext actionContext, IReadOnlyDictionary arguments, object controller, IActionResult result); ++ public ActionContext ActionContext { get; } ++ public IReadOnlyDictionary Arguments { get; } ++ public object Controller { get; } ++ protected override int Count { get; } ++ public IActionResult Result { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterExceptionFilterOnExceptionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnException"; ++ public AfterExceptionFilterOnExceptionEventData(ActionDescriptor actionDescriptor, ExceptionContext exceptionContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public ExceptionContext ExceptionContext { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterHandlerMethodEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterHandlerMethod"; ++ public AfterHandlerMethodEventData(ActionContext actionContext, IReadOnlyDictionary arguments, HandlerMethodDescriptor handlerMethodDescriptor, object instance, IActionResult result); ++ public ActionContext ActionContext { get; } ++ public IReadOnlyDictionary Arguments { get; } ++ protected override int Count { get; } ++ public HandlerMethodDescriptor HandlerMethodDescriptor { get; } ++ public object Instance { get; } ++ public IActionResult Result { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterPageFilterOnPageHandlerExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnPageHandlerExecuted"; ++ public AfterPageFilterOnPageHandlerExecutedEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerExecutedContext handlerExecutedContext, IPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IPageFilter Filter { get; } ++ public PageHandlerExecutedContext HandlerExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterPageFilterOnPageHandlerExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnPageHandlerExecuting"; ++ public AfterPageFilterOnPageHandlerExecutingEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerExecutingContext handlerExecutingContext, IPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IPageFilter Filter { get; } ++ public PageHandlerExecutingContext HandlerExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterPageFilterOnPageHandlerExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnPageHandlerExecution"; ++ public AfterPageFilterOnPageHandlerExecutionEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerExecutedContext handlerExecutedContext, IAsyncPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IAsyncPageFilter Filter { get; } ++ public PageHandlerExecutedContext HandlerExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterPageFilterOnPageHandlerSelectedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnPageHandlerSelected"; ++ public AfterPageFilterOnPageHandlerSelectedEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IPageFilter Filter { get; } ++ public PageHandlerSelectedContext HandlerSelectedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterPageFilterOnPageHandlerSelectionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnPageHandlerSelection"; ++ public AfterPageFilterOnPageHandlerSelectionEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IAsyncPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IAsyncPageFilter Filter { get; } ++ public PageHandlerSelectedContext HandlerSelectedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterResourceFilterOnResourceExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnResourceExecuted"; ++ public AfterResourceFilterOnResourceExecutedEventData(ActionDescriptor actionDescriptor, ResourceExecutedContext resourceExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResourceExecutedContext ResourceExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterResourceFilterOnResourceExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnResourceExecuting"; ++ public AfterResourceFilterOnResourceExecutingEventData(ActionDescriptor actionDescriptor, ResourceExecutingContext resourceExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResourceExecutingContext ResourceExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterResourceFilterOnResourceExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnResourceExecution"; ++ public AfterResourceFilterOnResourceExecutionEventData(ActionDescriptor actionDescriptor, ResourceExecutedContext resourceExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResourceExecutedContext ResourceExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterResultFilterOnResultExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnResultExecuted"; ++ public AfterResultFilterOnResultExecutedEventData(ActionDescriptor actionDescriptor, ResultExecutedContext resultExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResultExecutedContext ResultExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterResultFilterOnResultExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnResultExecuting"; ++ public AfterResultFilterOnResultExecutingEventData(ActionDescriptor actionDescriptor, ResultExecutingContext resultExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResultExecutingContext ResultExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterResultFilterOnResultExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterOnResultExecution"; ++ public AfterResultFilterOnResultExecutionEventData(ActionDescriptor actionDescriptor, ResultExecutedContext resultExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResultExecutedContext ResultExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class AfterViewComponentEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterViewComponent"; ++ public AfterViewComponentEventData(ActionDescriptor actionDescriptor, ViewComponentContext viewComponentContext, IViewComponentResult viewComponentResult, object viewComponent); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public object ViewComponent { get; } ++ public ViewComponentContext ViewComponentContext { get; } ++ public IViewComponentResult ViewComponentResult { get; } ++ } ++ public sealed class AfterViewEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.AfterView"; ++ public AfterViewEventData(IView view, ViewContext viewContext); ++ protected override int Count { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public IView View { get; } ++ public ViewContext ViewContext { get; } ++ } ++ public sealed class AfterViewPageEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.Razor.AfterViewPage"; ++ public AfterViewPageEventData(IRazorPage page, ViewContext viewContext, ActionDescriptor actionDescriptor, HttpContext httpContext); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public HttpContext HttpContext { get; } ++ public IRazorPage Page { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public ViewContext ViewContext { get; } ++ } ++ public sealed class BeforeActionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeAction"; ++ public BeforeActionEventData(ActionDescriptor actionDescriptor, HttpContext httpContext, RouteData routeData); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public HttpContext HttpContext { get; } ++ public RouteData RouteData { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeActionFilterOnActionExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnActionExecuted"; ++ public BeforeActionFilterOnActionExecutedEventData(ActionDescriptor actionDescriptor, ActionExecutedContext actionExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public ActionExecutedContext ActionExecutedContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeActionFilterOnActionExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnActionExecuting"; ++ public BeforeActionFilterOnActionExecutingEventData(ActionDescriptor actionDescriptor, ActionExecutingContext actionExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public ActionExecutingContext ActionExecutingContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeActionFilterOnActionExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnActionExecution"; ++ public BeforeActionFilterOnActionExecutionEventData(ActionDescriptor actionDescriptor, ActionExecutingContext actionExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public ActionExecutingContext ActionExecutingContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeActionResultEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeActionResult"; ++ public BeforeActionResultEventData(ActionContext actionContext, IActionResult result); ++ public ActionContext ActionContext { get; } ++ protected override int Count { get; } ++ public IActionResult Result { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeAuthorizationFilterOnAuthorizationEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnAuthorization"; ++ public BeforeAuthorizationFilterOnAuthorizationEventData(ActionDescriptor actionDescriptor, AuthorizationFilterContext authorizationContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ public AuthorizationFilterContext AuthorizationContext { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeControllerActionMethodEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeControllerActionMethod"; ++ public BeforeControllerActionMethodEventData(ActionContext actionContext, IReadOnlyDictionary actionArguments, object controller); ++ public IReadOnlyDictionary ActionArguments { get; } ++ public ActionContext ActionContext { get; } ++ public object Controller { get; } ++ protected sealed override int Count { get; } ++ protected sealed override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeExceptionFilterOnException : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnException"; ++ public BeforeExceptionFilterOnException(ActionDescriptor actionDescriptor, ExceptionContext exceptionContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public ExceptionContext ExceptionContext { get; } ++ public IFilterMetadata Filter { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeHandlerMethodEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeHandlerMethod"; ++ public BeforeHandlerMethodEventData(ActionContext actionContext, IReadOnlyDictionary arguments, HandlerMethodDescriptor handlerMethodDescriptor, object instance); ++ public ActionContext ActionContext { get; } ++ public IReadOnlyDictionary Arguments { get; } ++ protected override int Count { get; } ++ public HandlerMethodDescriptor HandlerMethodDescriptor { get; } ++ public object Instance { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforePageFilterOnPageHandlerExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnPageHandlerExecuted"; ++ public BeforePageFilterOnPageHandlerExecutedEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerExecutedContext handlerExecutedContext, IPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IPageFilter Filter { get; } ++ public PageHandlerExecutedContext HandlerExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforePageFilterOnPageHandlerExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnPageHandlerExecuting"; ++ public BeforePageFilterOnPageHandlerExecutingEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerExecutingContext handlerExecutingContext, IPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IPageFilter Filter { get; } ++ public PageHandlerExecutingContext HandlerExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforePageFilterOnPageHandlerExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnPageHandlerExecution"; ++ public BeforePageFilterOnPageHandlerExecutionEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerExecutingContext handlerExecutionContext, IAsyncPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IAsyncPageFilter Filter { get; } ++ public PageHandlerExecutingContext HandlerExecutionContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforePageFilterOnPageHandlerSelectedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnPageHandlerSelected"; ++ public BeforePageFilterOnPageHandlerSelectedEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IPageFilter Filter { get; } ++ public PageHandlerSelectedContext HandlerSelectedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforePageFilterOnPageHandlerSelectionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnPageHandlerSelection"; ++ public BeforePageFilterOnPageHandlerSelectionEventData(CompiledPageActionDescriptor actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IAsyncPageFilter filter); ++ public CompiledPageActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IAsyncPageFilter Filter { get; } ++ public PageHandlerSelectedContext HandlerSelectedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeResourceFilterOnResourceExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnResourceExecuted"; ++ public BeforeResourceFilterOnResourceExecutedEventData(ActionDescriptor actionDescriptor, ResourceExecutedContext resourceExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResourceExecutedContext ResourceExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeResourceFilterOnResourceExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnResourceExecuting"; ++ public BeforeResourceFilterOnResourceExecutingEventData(ActionDescriptor actionDescriptor, ResourceExecutingContext resourceExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResourceExecutingContext ResourceExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeResourceFilterOnResourceExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnResourceExecution"; ++ public BeforeResourceFilterOnResourceExecutionEventData(ActionDescriptor actionDescriptor, ResourceExecutingContext resourceExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResourceExecutingContext ResourceExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeResultFilterOnResultExecutedEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnResultExecuted"; ++ public BeforeResultFilterOnResultExecutedEventData(ActionDescriptor actionDescriptor, ResultExecutedContext resultExecutedContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResultExecutedContext ResultExecutedContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeResultFilterOnResultExecutingEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnResultExecuting"; ++ public BeforeResultFilterOnResultExecutingEventData(ActionDescriptor actionDescriptor, ResultExecutingContext resultExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResultExecutingContext ResultExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeResultFilterOnResultExecutionEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeOnResultExecution"; ++ public BeforeResultFilterOnResultExecutionEventData(ActionDescriptor actionDescriptor, ResultExecutingContext resultExecutingContext, IFilterMetadata filter); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public IFilterMetadata Filter { get; } ++ public ResultExecutingContext ResultExecutingContext { get; } ++ protected override KeyValuePair this[int index] { get; } ++ } ++ public sealed class BeforeViewComponentEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeViewComponent"; ++ public BeforeViewComponentEventData(ActionDescriptor actionDescriptor, ViewComponentContext viewComponentContext, object viewComponent); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public object ViewComponent { get; } ++ public ViewComponentContext ViewComponentContext { get; } ++ } ++ public sealed class BeforeViewEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.BeforeView"; ++ public BeforeViewEventData(IView view, ViewContext viewContext); ++ protected override int Count { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public IView View { get; } ++ public ViewContext ViewContext { get; } ++ } ++ public sealed class BeforeViewPageEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.Razor.BeforeViewPage"; ++ public BeforeViewPageEventData(IRazorPage page, ViewContext viewContext, ActionDescriptor actionDescriptor, HttpContext httpContext); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ public HttpContext HttpContext { get; } ++ public IRazorPage Page { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public ViewContext ViewContext { get; } ++ } ++ public abstract class EventData : IEnumerable, IEnumerable>, IReadOnlyCollection>, IReadOnlyList> { ++ protected const string EventNamespace = "Microsoft.AspNetCore.Mvc."; ++ protected EventData(); ++ protected abstract int Count { get; } ++ int System.Collections.Generic.IReadOnlyCollection>.Count { get; } ++ KeyValuePair System.Collections.Generic.IReadOnlyList>.this[int index] { get; } ++ protected abstract KeyValuePair this[int index] { get; } ++ IEnumerator> System.Collections.Generic.IEnumerable>.GetEnumerator(); ++ IEnumerator System.Collections.IEnumerable.GetEnumerator(); ++ public struct Enumerator : IDisposable, IEnumerator, IEnumerator> { ++ public KeyValuePair Current { get; } ++ object System.Collections.IEnumerator.Current { get; } ++ public void Dispose(); ++ public bool MoveNext(); ++ void System.Collections.IEnumerator.Reset(); ++ } ++ } ++ public sealed class ViewComponentAfterViewExecuteEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.ViewComponentAfterViewExecute"; ++ public ViewComponentAfterViewExecuteEventData(ActionDescriptor actionDescriptor, ViewComponentContext viewComponentContext, IView view); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public IView View { get; } ++ public ViewComponentContext ViewComponentContext { get; } ++ } ++ public sealed class ViewComponentBeforeViewExecuteEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.ViewComponentBeforeViewExecute"; ++ public ViewComponentBeforeViewExecuteEventData(ActionDescriptor actionDescriptor, ViewComponentContext viewComponentContext, IView view); ++ public ActionDescriptor ActionDescriptor { get; } ++ protected override int Count { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public IView View { get; } ++ public ViewComponentContext ViewComponentContext { get; } ++ } ++ public sealed class ViewFoundEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.ViewFound"; ++ public ViewFoundEventData(ActionContext actionContext, bool isMainPage, ActionResult result, string viewName, IView view); ++ public ActionContext ActionContext { get; } ++ protected override int Count { get; } ++ public bool IsMainPage { get; } ++ public ActionResult Result { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public IView View { get; } ++ public string ViewName { get; } ++ } ++ public sealed class ViewNotFoundEventData : EventData { ++ public const string EventName = "Microsoft.AspNetCore.Mvc.ViewNotFound"; ++ public ViewNotFoundEventData(ActionContext actionContext, bool isMainPage, ActionResult result, string viewName, IEnumerable searchedLocations); ++ public ActionContext ActionContext { get; } ++ protected override int Count { get; } ++ public bool IsMainPage { get; } ++ public ActionResult Result { get; } ++ public IEnumerable SearchedLocations { get; } ++ protected override KeyValuePair this[int index] { get; } ++ public string ViewName { get; } ++ } ++} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.Infrastructure.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.Infrastructure.md new file mode 100644 index 00000000..422a9614 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.Infrastructure.md @@ -0,0 +1,11 @@ +# Microsoft.AspNetCore.Mvc.Infrastructure + +``` diff + namespace Microsoft.AspNetCore.Mvc.Infrastructure { ++ public class AmbiguousActionException : InvalidOperationException { ++ protected AmbiguousActionException(SerializationInfo info, StreamingContext context); ++ public AmbiguousActionException(string message); ++ } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.ViewFeatures.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.ViewFeatures.md new file mode 100644 index 00000000..3ec20f44 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Mvc.ViewFeatures.md @@ -0,0 +1,12 @@ +# Microsoft.AspNetCore.Mvc.ViewFeatures + +``` diff + namespace Microsoft.AspNetCore.Mvc.ViewFeatures { + public class ViewExecutor { ++ protected DiagnosticListener DiagnosticListener { get; } +- protected DiagnosticListener DiagnosticSource { get; } + + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Internal.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Internal.md new file mode 100644 index 00000000..cef63a74 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Internal.md @@ -0,0 +1,51 @@ +# Microsoft.AspNetCore.Routing.Internal + +``` diff + namespace Microsoft.AspNetCore.Routing.Internal { +- public enum SegmentState { + { +- Beginning = 0, + +- Inside = 1, + +- } +- public class UriBuildingContext { + { +- public UriBuildingContext(UrlEncoder urlEncoder); + +- public bool AppendTrailingSlash { get; set; } + +- public SegmentState BufferState { get; } + +- public bool LowercaseQueryStrings { get; set; } + +- public bool LowercaseUrls { get; set; } + +- public TextWriter PathWriter { get; } + +- public TextWriter QueryWriter { get; } + +- public SegmentState UriState { get; } + +- public bool Accept(string value); + +- public bool Accept(string value, bool encodeSlashes); + +- public bool Buffer(string value); + +- public void Clear(); + +- public void EndSegment(); + +- public void Remove(string literal); + +- public PathString ToPathString(); + +- public QueryString ToQueryString(); + +- public override string ToString(); + +- } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Template.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Template.md new file mode 100644 index 00000000..edbdb127 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Template.md @@ -0,0 +1,13 @@ +# Microsoft.AspNetCore.Routing.Template + +``` diff + namespace Microsoft.AspNetCore.Routing.Template { + public class TemplateBinder { +- public TemplateBinder(UrlEncoder urlEncoder, ObjectPool pool, RoutePattern pattern, RouteValueDictionary defaults, IEnumerable requiredKeys, IEnumerable> parameterPolicies); + +- public TemplateBinder(UrlEncoder urlEncoder, ObjectPool pool, RouteTemplate template, RouteValueDictionary defaults); + + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Tree.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Tree.md new file mode 100644 index 00000000..a98c45ba --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.Routing.Tree.md @@ -0,0 +1,15 @@ +# Microsoft.AspNetCore.Routing.Tree + +``` diff + namespace Microsoft.AspNetCore.Routing.Tree { + public class TreeRouteBuilder { +- public TreeRouteBuilder(ILoggerFactory loggerFactory, ObjectPool objectPool, IInlineConstraintResolver constraintResolver); + + } + public class TreeRouter : IRouter { +- public TreeRouter(UrlMatchingTree[] trees, IEnumerable linkGenerationEntries, UrlEncoder urlEncoder, ObjectPool objectPool, ILogger routeLogger, ILogger constraintLogger, int version); + + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.SignalR.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.SignalR.md new file mode 100644 index 00000000..ce5aee57 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.AspNetCore.SignalR.md @@ -0,0 +1,17 @@ +# Microsoft.AspNetCore.SignalR + +``` diff + namespace Microsoft.AspNetCore.SignalR { + public class HubConnectionContextOptions { ++ public Nullable MaximumReceiveMessageSize { get; set; } + } +- public sealed class HubEndpointConventionBuilder : IEndpointConventionBuilder, IHubEndpointConventionBuilder { + { +- public void Add(Action convention); + +- } +- public interface IHubEndpointConventionBuilder : IEndpointConventionBuilder + + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.Extensions.Hosting.Internal.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.Extensions.Hosting.Internal.md new file mode 100644 index 00000000..721e9d11 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.Extensions.Hosting.Internal.md @@ -0,0 +1,15 @@ +# Microsoft.Extensions.Hosting.Internal + +``` diff + namespace Microsoft.Extensions.Hosting.Internal { + public class ConsoleLifetime : IDisposable, IHostLifetime { +- public ConsoleLifetime(IOptions options, IHostEnvironment environment, IHostApplicationLifetime applicationLifetime); + +- public ConsoleLifetime(IOptions options, IHostEnvironment environment, IHostApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory); + ++ public ConsoleLifetime(IOptions options, IHostEnvironment environment, IHostApplicationLifetime applicationLifetime, IOptions hostOptions); ++ public ConsoleLifetime(IOptions options, IHostEnvironment environment, IHostApplicationLifetime applicationLifetime, IOptions hostOptions, ILoggerFactory loggerFactory); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.JSInterop.Internal.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.JSInterop.Internal.md new file mode 100644 index 00000000..8a606c0b --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.JSInterop.Internal.md @@ -0,0 +1,10 @@ +# Microsoft.JSInterop.Internal + +``` diff +-namespace Microsoft.JSInterop.Internal { + { +- public sealed class JSAsyncCallResult + +-} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.JSInterop.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.JSInterop.md new file mode 100644 index 00000000..81c248ee --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_Microsoft.JSInterop.md @@ -0,0 +1,28 @@ +# Microsoft.JSInterop + +``` diff + namespace Microsoft.JSInterop { + public static class DotNetDispatcher { +- public static void EndInvoke(long asyncHandle, bool succeeded, JSAsyncCallResult result); + ++ public static void EndInvoke(string arguments); + } + public sealed class DotNetObjectRef : IDisposable where TValue : class { +- public DotNetObjectRef(); + +- public long __dotNetObject { get; set; } + + } + public interface IJSRuntime { ++ Task InvokeAsync(string identifier, IEnumerable args, CancellationToken cancellationToken = default(CancellationToken)); + } + public abstract class JSRuntimeBase : IJSRuntime { ++ protected Nullable DefaultAsyncTimeout { get; set; } +- protected abstract void BeginInvokeJS(long asyncHandle, string identifier, string argsJson); ++ protected abstract void BeginInvokeJS(long taskId, string identifier, string argsJson); ++ protected internal abstract void EndInvokeDotNet(string callId, bool success, object resultOrError, string assemblyName, string methodIdentifier, long dotNetObjectId); ++ public Task InvokeAsync(string identifier, IEnumerable args, CancellationToken cancellationToken = default(CancellationToken)); + } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Drawing.Printing.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Drawing.Printing.md new file mode 100644 index 00000000..c564049c --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Drawing.Printing.md @@ -0,0 +1,16 @@ +# System.Drawing.Printing + +``` diff + namespace System.Drawing.Printing { ++ public class MarginsConverter : ExpandableObjectConverter { ++ public MarginsConverter(); ++ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType); ++ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType); ++ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value); ++ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); ++ public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues); ++ public override bool GetCreateInstanceSupported(ITypeDescriptorContext context); ++ } + } +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Drawing.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Drawing.md new file mode 100644 index 00000000..e57420e9 --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Drawing.md @@ -0,0 +1,56 @@ +# System.Drawing + +``` diff ++namespace System.Drawing { ++ public class FontConverter : TypeConverter { ++ public FontConverter(); ++ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType); ++ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType); ++ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value); ++ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); ++ public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues); ++ public override bool GetCreateInstanceSupported(ITypeDescriptorContext context); ++ public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes); ++ public override bool GetPropertiesSupported(ITypeDescriptorContext context); ++ public sealed class FontNameConverter : TypeConverter, IDisposable { ++ public FontNameConverter(); ++ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType); ++ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value); ++ public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context); ++ public override bool GetStandardValuesExclusive(ITypeDescriptorContext context); ++ public override bool GetStandardValuesSupported(ITypeDescriptorContext context); ++ void System.IDisposable.Dispose(); ++ } ++ public class FontUnitConverter : EnumConverter { ++ public FontUnitConverter(); ++ public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context); ++ } ++ } ++ public class IconConverter : ExpandableObjectConverter { ++ public IconConverter(); ++ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType); ++ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType); ++ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value); ++ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); ++ } ++ public class ImageConverter : TypeConverter { ++ public ImageConverter(); ++ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType); ++ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType); ++ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value); ++ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); ++ public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes); ++ public override bool GetPropertiesSupported(ITypeDescriptorContext context); ++ } ++ public class ImageFormatConverter : TypeConverter { ++ public ImageFormatConverter(); ++ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType); ++ public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType); ++ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value); ++ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); ++ public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context); ++ public override bool GetStandardValuesSupported(ITypeDescriptorContext context); ++ } ++} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Media.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Media.md new file mode 100644 index 00000000..b28f729b --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Media.md @@ -0,0 +1,41 @@ +# System.Media + +``` diff ++namespace System.Media { ++ public class SoundPlayer : Component, ISerializable { ++ public SoundPlayer(); ++ public SoundPlayer(Stream stream); ++ protected SoundPlayer(SerializationInfo serializationInfo, StreamingContext context); ++ public SoundPlayer(string soundLocation); ++ public bool IsLoadCompleted { get; } ++ public int LoadTimeout { get; set; } ++ public string SoundLocation { get; set; } ++ public Stream Stream { get; set; } ++ public object Tag { get; set; } ++ public event AsyncCompletedEventHandler LoadCompleted; ++ public event EventHandler SoundLocationChanged; ++ public event EventHandler StreamChanged; ++ public void Load(); ++ public void LoadAsync(); ++ protected virtual void OnLoadCompleted(AsyncCompletedEventArgs e); ++ protected virtual void OnSoundLocationChanged(EventArgs e); ++ protected virtual void OnStreamChanged(EventArgs e); ++ public void Play(); ++ public void PlayLooping(); ++ public void PlaySync(); ++ public void Stop(); ++ void System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo info, StreamingContext context); ++ } ++ public class SystemSound { ++ public void Play(); ++ } ++ public static class SystemSounds { ++ public static SystemSound Asterisk { get; } ++ public static SystemSound Beep { get; } ++ public static SystemSound Exclamation { get; } ++ public static SystemSound Hand { get; } ++ public static SystemSound Question { get; } ++ } ++} +``` + diff --git a/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Security.Cryptography.X509Certificates.md b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Security.Cryptography.X509Certificates.md new file mode 100644 index 00000000..aee47a7f --- /dev/null +++ b/release-notes/3.0/preview/api-diff/preview8/ASP.Net/3.0-preview8_System.Security.Cryptography.X509Certificates.md @@ -0,0 +1,18 @@ +# System.Security.Cryptography.X509Certificates + +``` diff ++namespace System.Security.Cryptography.X509Certificates { ++ public sealed class X509Certificate2UI { ++ public X509Certificate2UI(); ++ public static void DisplayCertificate(X509Certificate2 certificate); ++ public static void DisplayCertificate(X509Certificate2 certificate, IntPtr hwndParent); ++ public static X509Certificate2Collection SelectFromCollection(X509Certificate2Collection certificates, string title, string message, X509SelectionFlag selectionFlag); ++ public static X509Certificate2Collection SelectFromCollection(X509Certificate2Collection certificates, string title, string message, X509SelectionFlag selectionFlag, IntPtr hwndParent); ++ } ++ public enum X509SelectionFlag { ++ MultiSelection = 1, ++ SingleSelection = 0, ++ } ++} +``` +