File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ public static partial class ComponentEndpointRouteBuilderExtensions
28
28
}
29
29
namespace Microsoft . AspNetCore . Components . Server
30
30
{
31
- public partial class CircuitOptions
31
+ public sealed partial class CircuitOptions
32
32
{
33
33
public CircuitOptions ( ) { }
34
34
public bool DetailedErrors { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
35
+ public int DisconnectedCircuitMaxRetained { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
35
36
public System . TimeSpan DisconnectedCircuitRetentionPeriod { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
36
37
public System . TimeSpan JSInteropDefaultCallTimeout { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
37
- public int MaxRetainedDisconnectedCircuits { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
38
38
}
39
39
public partial class ComponentPrerenderingContext
40
40
{
Original file line number Diff line number Diff line change 6
6
namespace Microsoft . AspNetCore . Components . Server
7
7
{
8
8
/// <summary>
9
- /// Options to configure ASP.NET Core Components.
9
+ /// Options to configure circuit handler for server-side Blazor
10
10
/// </summary>
11
- public class CircuitOptions
11
+ public sealed class CircuitOptions
12
12
{
13
13
/// <summary>
14
14
/// Gets or sets a value that determines the maximum number of disconnected circuit state details
@@ -26,7 +26,7 @@ public class CircuitOptions
26
26
/// <value>
27
27
/// Defaults to <c>100</c>.
28
28
/// </value>
29
- public int MaxRetainedDisconnectedCircuits { get ; set ; } = 100 ;
29
+ public int DisconnectedCircuitMaxRetained { get ; set ; } = 100 ;
30
30
31
31
/// <summary>
32
32
/// Gets or sets a value that determines the maximum duration state for a disconnected circuit is
@@ -38,7 +38,7 @@ public class CircuitOptions
38
38
/// </para>
39
39
/// <para>
40
40
/// This value determines the maximium duration circuit state is retained by the server before being evicted.
41
- /// <seealso cref="MaxRetainedDisconnectedCircuits "/>
41
+ /// <seealso cref="DisconnectedCircuitMaxRetained "/>
42
42
/// </para>
43
43
/// </summary>
44
44
/// <value>
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public CircuitRegistry(
56
56
57
57
DisconnectedCircuits = new MemoryCache ( new MemoryCacheOptions
58
58
{
59
- SizeLimit = _options . MaxRetainedDisconnectedCircuits ,
59
+ SizeLimit = _options . DisconnectedCircuitMaxRetained ,
60
60
} ) ;
61
61
62
62
_postEvictionCallback = new PostEvictionCallbackRegistration
You can’t perform that action at this time.
0 commit comments