From 08bc7af438b06d00f9a370e9dc58ac9614a479e9 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Wed, 14 Mar 2018 15:33:18 -0700 Subject: [PATCH] Set 2.0 baselines --- build/dependencies.props | 2 +- korebuild-lock.txt | 4 +- .../baseline.netcore.json | 169 +++++++++++++----- .../breakingchanges.netcore.json | 72 -------- .../baseline.netcore.json | 144 ++++++++++----- .../breakingchanges.netcore.json | 27 --- .../baseline.netcore.json | 25 ++- .../breakingchanges.netcore.json | 22 --- .../baseline.netcore.json | 46 ++++- 9 files changed, 290 insertions(+), 221 deletions(-) delete mode 100644 src/Microsoft.Extensions.Caching.Abstractions/breakingchanges.netcore.json delete mode 100644 src/Microsoft.Extensions.Caching.Memory/breakingchanges.netcore.json delete mode 100644 src/Microsoft.Extensions.Caching.Redis/breakingchanges.netcore.json diff --git a/build/dependencies.props b/build/dependencies.props index 9179acd..620d3fa 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -3,7 +3,7 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - 2.1.0-preview2-15742 + 2.1.0-preview2-15744 2.1.0-preview2-30355 2.1.0-preview2-30355 2.1.0-preview2-30355 diff --git a/korebuild-lock.txt b/korebuild-lock.txt index e40ef66..f531e7b 100644 --- a/korebuild-lock.txt +++ b/korebuild-lock.txt @@ -1,2 +1,2 @@ -version:2.1.0-preview2-15742 -commithash:21fbb0f2c3fe4a9216e2d59632b98cfd7d685962 +version:2.1.0-preview2-15744 +commithash:9e15cb6062ab5b9790d3fa699e018543a6950713 diff --git a/src/Microsoft.Extensions.Caching.Abstractions/baseline.netcore.json b/src/Microsoft.Extensions.Caching.Abstractions/baseline.netcore.json index b856d42..aab17c5 100644 --- a/src/Microsoft.Extensions.Caching.Abstractions/baseline.netcore.json +++ b/src/Microsoft.Extensions.Caching.Abstractions/baseline.netcore.json @@ -1,52 +1,6 @@ { - "AssemblyIdentity": "Microsoft.Extensions.Caching.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.Extensions.Caching.Abstractions, Version=2.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ - { - "Name": "Microsoft.Extensions.Internal.ISystemClock", - "Visibility": "Public", - "Kind": "Interface", - "Abstract": true, - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "get_UtcNow", - "Parameters": [], - "ReturnType": "System.DateTimeOffset", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, - { - "Name": "Microsoft.Extensions.Internal.SystemClock", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [ - "Microsoft.Extensions.Internal.ISystemClock" - ], - "Members": [ - { - "Kind": "Method", - "Name": "get_UtcNow", - "Parameters": [], - "ReturnType": "System.DateTimeOffset", - "Sealed": true, - "Virtual": true, - "ImplementedInterface": "Microsoft.Extensions.Internal.ISystemClock", - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Constructor", - "Name": ".ctor", - "Parameters": [], - "Visibility": "Public", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryExtensions", "Visibility": "Public", @@ -242,6 +196,11 @@ { "Name": "value", "Type": "System.Byte[]" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -315,6 +274,11 @@ { "Name": "value", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -342,6 +306,11 @@ { "Name": "options", "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -380,6 +349,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -417,6 +391,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -457,6 +436,11 @@ { "Name": "options", "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -481,6 +465,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -505,6 +494,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -678,6 +672,25 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "SetSize", + "Parameters": [ + { + "Name": "entry", + "Type": "Microsoft.Extensions.Caching.Memory.ICacheEntry" + }, + { + "Name": "size", + "Type": "System.Int64" + } + ], + "ReturnType": "Microsoft.Extensions.Caching.Memory.ICacheEntry", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "SetOptions", @@ -914,6 +927,25 @@ ], "ReturnType": "System.Void", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_Size", + "Parameters": [], + "ReturnType": "System.Nullable", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Size", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "GenericParameter": [] } ], "GenericParameters": [] @@ -999,6 +1031,25 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "SetSize", + "Parameters": [ + { + "Name": "options", + "Type": "Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions" + }, + { + "Name": "size", + "Type": "System.Int64" + } + ], + "ReturnType": "Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Method", "Name": "AddExpirationToken", @@ -1226,6 +1277,27 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_Size", + "Parameters": [], + "ReturnType": "System.Nullable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_Size", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -1700,6 +1772,5 @@ ], "GenericParameters": [] } - ], - "SourceFilters": [] + ] } \ No newline at end of file diff --git a/src/Microsoft.Extensions.Caching.Abstractions/breakingchanges.netcore.json b/src/Microsoft.Extensions.Caching.Abstractions/breakingchanges.netcore.json deleted file mode 100644 index 6da6fb8..0000000 --- a/src/Microsoft.Extensions.Caching.Abstractions/breakingchanges.netcore.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task RefreshAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task RemoveAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task SetAsync(System.String key, System.Byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task GetAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task RefreshAsync(System.String key, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task RemoveAsync(System.String key, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task SetAsync(System.String key, System.Byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "System.Threading.Tasks.Task GetAsync(System.String key, System.Threading.CancellationToken token = default(System.Threading.CancellationToken))", - "Kind": "Addition" - }, - { - "TypeId": "public static class Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions", - "MemberId": "public static System.Threading.Tasks.Task SetAsync(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, System.String key, System.Byte[] value)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions", - "MemberId": "public static System.Threading.Tasks.Task SetStringAsync(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, System.String key, System.String value)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions", - "MemberId": "public static System.Threading.Tasks.Task SetStringAsync(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, System.String key, System.String value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options)", - "Kind": "Removal" - }, - { - "TypeId": "public static class Microsoft.Extensions.Caching.Distributed.DistributedCacheExtensions", - "MemberId": "public static System.Threading.Tasks.Task GetStringAsync(this Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Memory.ICacheEntry : System.IDisposable", - "MemberId": "System.Nullable get_Size()", - "Kind": "Addition" - }, - { - "TypeId": "public interface Microsoft.Extensions.Caching.Memory.ICacheEntry : System.IDisposable", - "MemberId": "System.Void set_Size(System.Nullable value)", - "Kind": "Addition" - } -] \ No newline at end of file diff --git a/src/Microsoft.Extensions.Caching.Memory/baseline.netcore.json b/src/Microsoft.Extensions.Caching.Memory/baseline.netcore.json index 1f0a959..4b82c22 100644 --- a/src/Microsoft.Extensions.Caching.Memory/baseline.netcore.json +++ b/src/Microsoft.Extensions.Caching.Memory/baseline.netcore.json @@ -1,43 +1,6 @@ { - "AssemblyIdentity": "Microsoft.Extensions.Caching.Memory, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.Extensions.Caching.Memory, Version=2.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ - { - "Name": "Microsoft.Extensions.Internal.GcNotification", - "Visibility": "Public", - "Kind": "Class", - "ImplementedInterfaces": [], - "Members": [ - { - "Kind": "Method", - "Name": "Register", - "Parameters": [ - { - "Name": "callback", - "Type": "System.Func" - }, - { - "Name": "state", - "Type": "System.Object" - } - ], - "ReturnType": "System.Void", - "Static": true, - "Visibility": "Public", - "GenericParameter": [] - }, - { - "Kind": "Method", - "Name": "Finalize", - "Parameters": [], - "ReturnType": "System.Void", - "Virtual": true, - "Override": true, - "Visibility": "Protected", - "GenericParameter": [] - } - ], - "GenericParameters": [] - }, { "Name": "Microsoft.Extensions.DependencyInjection.MemoryCacheServiceCollectionExtensions", "Visibility": "Public", @@ -95,6 +58,25 @@ "Extension": true, "Visibility": "Public", "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "AddDistributedMemoryCache", + "Parameters": [ + { + "Name": "services", + "Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection" + }, + { + "Name": "setupAction", + "Type": "System.Action" + } + ], + "ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection", + "Static": true, + "Extension": true, + "Visibility": "Public", + "GenericParameter": [] } ], "GenericParameters": [] @@ -130,6 +112,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -178,6 +165,11 @@ { "Name": "options", "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -210,6 +202,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -242,6 +239,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -256,8 +258,8 @@ "Name": ".ctor", "Parameters": [ { - "Name": "memoryCache", - "Type": "Microsoft.Extensions.Caching.Memory.IMemoryCache" + "Name": "optionsAccessor", + "Type": "Microsoft.Extensions.Options.IOptions" } ], "Visibility": "Public", @@ -469,6 +471,65 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_SizeLimit", + "Parameters": [], + "ReturnType": "System.Nullable", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_SizeLimit", + "Parameters": [ + { + "Name": "value", + "Type": "System.Nullable" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "get_CompactionPercentage", + "Parameters": [], + "ReturnType": "System.Double", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_CompactionPercentage", + "Parameters": [ + { + "Name": "value", + "Type": "System.Double" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Constructor", + "Name": ".ctor", + "Parameters": [], + "Visibility": "Public", + "GenericParameter": [] + } + ], + "GenericParameters": [] + }, + { + "Name": "Microsoft.Extensions.Caching.Memory.MemoryDistributedCacheOptions", + "Visibility": "Public", + "Kind": "Class", + "BaseType": "Microsoft.Extensions.Caching.Memory.MemoryCacheOptions", + "ImplementedInterfaces": [], + "Members": [ { "Kind": "Constructor", "Name": ".ctor", @@ -479,6 +540,5 @@ ], "GenericParameters": [] } - ], - "SourceFilters": [] + ] } \ No newline at end of file diff --git a/src/Microsoft.Extensions.Caching.Memory/breakingchanges.netcore.json b/src/Microsoft.Extensions.Caching.Memory/breakingchanges.netcore.json deleted file mode 100644 index e1db88f..0000000 --- a/src/Microsoft.Extensions.Caching.Memory/breakingchanges.netcore.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "public System.Threading.Tasks.Task RefreshAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "public System.Threading.Tasks.Task RemoveAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "public System.Threading.Tasks.Task SetAsync(System.String key, System.Byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "public System.Threading.Tasks.Task GetAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Extensions.Caching.Distributed.MemoryDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache", - "MemberId": "public .ctor(Microsoft.Extensions.Caching.Memory.IMemoryCache memoryCache)", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Microsoft.Extensions.Caching.Redis/baseline.netcore.json b/src/Microsoft.Extensions.Caching.Redis/baseline.netcore.json index dc23057..2a0dc7e 100644 --- a/src/Microsoft.Extensions.Caching.Redis/baseline.netcore.json +++ b/src/Microsoft.Extensions.Caching.Redis/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.Extensions.Caching.Redis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.Extensions.Caching.Redis, Version=2.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.Extensions.DependencyInjection.RedisCacheServiceCollectionExtensions", @@ -64,6 +64,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -112,6 +117,11 @@ { "Name": "options", "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -144,6 +154,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -176,6 +191,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -271,6 +291,5 @@ ], "GenericParameters": [] } - ], - "SourceFilters": [] + ] } \ No newline at end of file diff --git a/src/Microsoft.Extensions.Caching.Redis/breakingchanges.netcore.json b/src/Microsoft.Extensions.Caching.Redis/breakingchanges.netcore.json deleted file mode 100644 index 3de3d8c..0000000 --- a/src/Microsoft.Extensions.Caching.Redis/breakingchanges.netcore.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "TypeId": "public class Microsoft.Extensions.Caching.Redis.RedisCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache, System.IDisposable", - "MemberId": "public System.Threading.Tasks.Task RefreshAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Extensions.Caching.Redis.RedisCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache, System.IDisposable", - "MemberId": "public System.Threading.Tasks.Task RemoveAsync(System.String key)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Extensions.Caching.Redis.RedisCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache, System.IDisposable", - "MemberId": "public System.Threading.Tasks.Task SetAsync(System.String key, System.Byte[] value, Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions options)", - "Kind": "Removal" - }, - { - "TypeId": "public class Microsoft.Extensions.Caching.Redis.RedisCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache, System.IDisposable", - "MemberId": "public System.Threading.Tasks.Task GetAsync(System.String key)", - "Kind": "Removal" - } -] \ No newline at end of file diff --git a/src/Microsoft.Extensions.Caching.SqlServer/baseline.netcore.json b/src/Microsoft.Extensions.Caching.SqlServer/baseline.netcore.json index 53b0680..9e65440 100644 --- a/src/Microsoft.Extensions.Caching.SqlServer/baseline.netcore.json +++ b/src/Microsoft.Extensions.Caching.SqlServer/baseline.netcore.json @@ -1,5 +1,5 @@ { - "AssemblyIdentity": "Microsoft.Extensions.Caching.SqlServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", + "AssemblyIdentity": "Microsoft.Extensions.Caching.SqlServer, Version=2.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.Extensions.DependencyInjection.SqlServerCachingServicesExtensions", @@ -63,6 +63,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -95,6 +100,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -127,6 +137,11 @@ { "Name": "key", "Type": "System.String" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -175,6 +190,11 @@ { "Name": "options", "Type": "Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" + }, + { + "Name": "token", + "Type": "System.Threading.CancellationToken", + "DefaultValue": "default(System.Threading.CancellationToken)" } ], "ReturnType": "System.Threading.Tasks.Task", @@ -312,6 +332,27 @@ "Visibility": "Public", "GenericParameter": [] }, + { + "Kind": "Method", + "Name": "get_DefaultSlidingExpiration", + "Parameters": [], + "ReturnType": "System.TimeSpan", + "Visibility": "Public", + "GenericParameter": [] + }, + { + "Kind": "Method", + "Name": "set_DefaultSlidingExpiration", + "Parameters": [ + { + "Name": "value", + "Type": "System.TimeSpan" + } + ], + "ReturnType": "System.Void", + "Visibility": "Public", + "GenericParameter": [] + }, { "Kind": "Constructor", "Name": ".ctor", @@ -456,6 +497,5 @@ ], "GenericParameters": [] } - ], - "SourceFilters": [] + ] } \ No newline at end of file