adding api diff for preview1 and preview2 (#3757)

This commit is contained in:
Anirudh Agnihotry 2019-11-07 15:51:59 -08:00 committed by GitHub
parent a9a1f2e726
commit f2623c9683
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 151 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# API Difference standalone-preview1 vs standalone-preview2.
API listing follows standard diff formatting. Lines preceded by a '+' are
additions and a '-' indicates removal.
* [System.IO.FileSystem.AccessControl](3.1-preview2-standalone-packages_System.IO.FileSystem.AccessControl.md)

View file

@ -0,0 +1,12 @@
# System.IO.FileSystem.AccessControl
``` diff
{
namespace System.IO {
public static class FileSystemAclExtensions {
+ public static void Create(this DirectoryInfo directoryInfo, DirectorySecurity directorySecurity);
}
}
}
```

View file

@ -0,0 +1,15 @@
# API Difference aspnetcoreapp3.1-preview1 vs aspnetcoreapp3.1-preview2
API listing follows standard diff formatting. Lines preceded by a '+' are
additions and a '-' indicates removal.
* [Microsoft.AspNetCore.Components](3.1-preview2_Microsoft.AspNetCore.Components.md)
* [Microsoft.AspNetCore.Components.Forms](3.1-preview2_Microsoft.AspNetCore.Components.Forms.md)
* [Microsoft.AspNetCore.Mvc](3.1-preview2_Microsoft.AspNetCore.Mvc.md)
* [Microsoft.AspNetCore.Mvc.ModelBinding](3.1-preview2_Microsoft.AspNetCore.Mvc.ModelBinding.md)
* [Microsoft.AspNetCore.Mvc.ModelBinding.Metadata](3.1-preview2_Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.md)
* [Microsoft.AspNetCore.Mvc.Rendering](3.1-preview2_Microsoft.AspNetCore.Mvc.Rendering.md)
* [Microsoft.AspNetCore.Mvc.TagHelpers](3.1-preview2_Microsoft.AspNetCore.Mvc.TagHelpers.md)
* [Microsoft.AspNetCore.Server.HttpSys](3.1-preview2_Microsoft.AspNetCore.Server.HttpSys.md)
* [Microsoft.AspNetCore.SignalR.Protocol](3.1-preview2_Microsoft.AspNetCore.SignalR.Protocol.md)

View file

@ -0,0 +1,15 @@
# Microsoft.AspNetCore.Components.Forms
``` diff
namespace Microsoft.AspNetCore.Components.Forms {
- public abstract class InputBase<TValue> : ComponentBase {
+ public abstract class InputBase<TValue> : ComponentBase, IDisposable {
+ protected virtual void Dispose(bool disposing);
+ void System.IDisposable.Dispose();
}
public class ValidationSummary : ComponentBase, IDisposable {
+ public object Model { get; set; }
}
}
```

View file

@ -0,0 +1,12 @@
# Microsoft.AspNetCore.Components
``` diff
namespace Microsoft.AspNetCore.Components {
public sealed class EventHandlerAttribute : Attribute {
+ public EventHandlerAttribute(string attributeName, Type eventArgsType, bool enableStopPropagation, bool enablePreventDefault);
+ public bool EnablePreventDefault { get; }
+ public bool EnableStopPropagation { get; }
}
}
```

View file

@ -0,0 +1,11 @@
# Microsoft.AspNetCore.Mvc.ModelBinding.Metadata
``` diff
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata {
public readonly struct ModelMetadataIdentity : IEquatable<ModelMetadataIdentity> {
+ public PropertyInfo PropertyInfo { get; }
+ public static ModelMetadataIdentity ForProperty(PropertyInfo propertyInfo, Type modelType, Type containerType);
}
}
```

View file

@ -0,0 +1,11 @@
# Microsoft.AspNetCore.Mvc.ModelBinding
``` diff
namespace Microsoft.AspNetCore.Mvc.ModelBinding {
+ public sealed class ValueProviderException : Exception {
+ public ValueProviderException(string message);
+ public ValueProviderException(string message, Exception innerException);
+ }
}
```

View file

@ -0,0 +1,10 @@
# Microsoft.AspNetCore.Mvc.Rendering
``` diff
namespace Microsoft.AspNetCore.Mvc.Rendering {
public static class HtmlHelperComponentExtensions {
+ public static Task<IHtmlContent> RenderComponentAsync(this IHtmlHelper htmlHelper, Type componentType, RenderMode renderMode, object parameters);
}
}
```

View file

@ -0,0 +1,15 @@
# Microsoft.AspNetCore.Mvc.TagHelpers
``` diff
namespace Microsoft.AspNetCore.Mvc.TagHelpers {
+ public sealed class ComponentTagHelper : TagHelper {
+ public ComponentTagHelper();
+ public Type ComponentType { get; set; }
+ public IDictionary<string, object> Parameters { get; set; }
+ public RenderMode RenderMode { get; set; }
+ public ViewContext ViewContext { get; set; }
+ public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output);
+ }
}
```

View file

@ -0,0 +1,11 @@
# Microsoft.AspNetCore.Mvc
``` diff
namespace Microsoft.AspNetCore.Mvc {
+ public class ApiDescriptionActionData {
+ public ApiDescriptionActionData();
+ public string GroupName { get; set; }
+ }
}
```

View file

@ -0,0 +1,15 @@
# Microsoft.AspNetCore.Server.HttpSys
``` diff
namespace Microsoft.AspNetCore.Server.HttpSys {
+ public enum ClientCertificateMethod {
+ AllowCertificate = 1,
+ AllowRenegotation = 2,
+ NoCertificate = 0,
+ }
public class HttpSysOptions {
+ public ClientCertificateMethod ClientCertificateMethod { get; set; }
}
}
```

View file

@ -0,0 +1,11 @@
# Microsoft.AspNetCore.SignalR.Protocol
``` diff
namespace Microsoft.AspNetCore.SignalR.Protocol {
public class CloseMessage : HubMessage {
+ public CloseMessage(string error, bool allowReconnect);
+ public bool AllowReconnect { get; }
}
}
```

View file

@ -0,0 +1,6 @@
# .NET Core 3.1 Preview 2 API Changes
The following API changes were made in .NET Core 3.1 Preview 2:
- [.NET Core](./.Net/3.1-preview2-standalone-packages.md)
- [ASP.NET Core](./Asp.Net/3.1-preview2.md)