91 instantiations of CompiledPageActionDescriptor
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BindPropertyIntegrationTest.cs (1)
199
var actionDescriptor = new
CompiledPageActionDescriptor
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
PageLoaderMatcherPolicyTest.cs (3)
19
var compiled = new
CompiledPageActionDescriptor
();
38
var compiled = new
CompiledPageActionDescriptor
();
64
var compiled = new
CompiledPageActionDescriptor
();
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
45
return new
CompiledPageActionDescriptor
(actionDescriptor)
Microsoft.AspNetCore.Mvc.RazorPages.Test (86)
ApplicationModels\TempDataFilterPageApplicationModelProviderTest.cs (1)
122
var descriptor = new
CompiledPageActionDescriptor
();
ApplicationModels\ViewDataAttributePageApplicationModelProviderTest.cs (1)
48
var descriptor = new
CompiledPageActionDescriptor
();
Filters\PageSaveTempDataPropertyFilterTest.cs (3)
61
ActionDescriptor = new
CompiledPageActionDescriptor
(),
102
ActionDescriptor = new
CompiledPageActionDescriptor
(),
142
ActionDescriptor = new
CompiledPageActionDescriptor
(),
Infrastructure\DefaultPageActivatorProviderTest.cs (9)
17
var descriptor = new
CompiledPageActionDescriptor
();
35
var descriptor = new
CompiledPageActionDescriptor
55
var descriptor = new
CompiledPageActionDescriptor
77
var releaser = activator.CreateReleaser(new
CompiledPageActionDescriptor
97
var releaser = activator.CreateAsyncReleaser(new
CompiledPageActionDescriptor
116
var disposer = activator.CreateReleaser(new
CompiledPageActionDescriptor
137
var disposer = activator.CreateAsyncReleaser(new
CompiledPageActionDescriptor
158
var disposer = activator.CreateAsyncReleaser(new
CompiledPageActionDescriptor
179
var disposer = activator.CreateAsyncReleaser(new
CompiledPageActionDescriptor
Infrastructure\DefaultPageFactoryProviderTest.cs (11)
26
var descriptor = new
CompiledPageActionDescriptor
45
var descriptor = new
CompiledPageActionDescriptor
71
ActionDescriptor = new
CompiledPageActionDescriptor
107
var descriptor = new
CompiledPageActionDescriptor
137
ActionDescriptor = new
CompiledPageActionDescriptor
164
ActionDescriptor = new
CompiledPageActionDescriptor
191
ActionDescriptor = new
CompiledPageActionDescriptor
217
ActionDescriptor = new
CompiledPageActionDescriptor
256
ActionDescriptor = new
CompiledPageActionDescriptor
299
ActionDescriptor = new
CompiledPageActionDescriptor
337
ActionDescriptor = new
CompiledPageActionDescriptor
Infrastructure\DefaultPageHandlerMethodSelectorTest.cs (15)
28
ActionDescriptor = new
CompiledPageActionDescriptor
75
ActionDescriptor = new
CompiledPageActionDescriptor
126
ActionDescriptor = new
CompiledPageActionDescriptor
171
ActionDescriptor = new
CompiledPageActionDescriptor
208
ActionDescriptor = new
CompiledPageActionDescriptor
250
ActionDescriptor = new
CompiledPageActionDescriptor
294
ActionDescriptor = new
CompiledPageActionDescriptor
344
ActionDescriptor = new
CompiledPageActionDescriptor
395
ActionDescriptor = new
CompiledPageActionDescriptor
445
ActionDescriptor = new
CompiledPageActionDescriptor
490
ActionDescriptor = new
CompiledPageActionDescriptor
541
ActionDescriptor = new
CompiledPageActionDescriptor
585
ActionDescriptor = new
CompiledPageActionDescriptor
640
ActionDescriptor = new
CompiledPageActionDescriptor
694
ActionDescriptor = new
CompiledPageActionDescriptor
Infrastructure\DefaultPageLoaderTest.cs (1)
344
var pageDescriptor = new
CompiledPageActionDescriptor
();
Infrastructure\DefaultPageModelActivatorProviderTest.cs (9)
21
var actionDescriptor = new
CompiledPageActionDescriptor
();
35
var actionDescriptor = new
CompiledPageActionDescriptor
65
var actionDescriptor = new
CompiledPageActionDescriptor
98
var actionDescriptor = new
CompiledPageActionDescriptor
118
var actionDescriptor = new
CompiledPageActionDescriptor
137
var actionDescriptor = new
CompiledPageActionDescriptor
162
var disposer = activator.CreateAsyncReleaser(new
CompiledPageActionDescriptor
183
var disposer = activator.CreateAsyncReleaser(new
CompiledPageActionDescriptor
204
var disposer = activator.CreateAsyncReleaser(new
CompiledPageActionDescriptor
Infrastructure\DefaultPageModelFactoryProviderTest.cs (6)
15
var descriptor = new
CompiledPageActionDescriptor
();
30
var descriptor = new
CompiledPageActionDescriptor
();
45
var descriptor = new
CompiledPageActionDescriptor
65
var descriptor = new
CompiledPageActionDescriptor
86
var descriptor = new
CompiledPageActionDescriptor
108
var descriptor = new
CompiledPageActionDescriptor
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (1)
80
.Returns((PageActionDescriptor descriptor, EndpointMetadataCollection endpoint) => Task.FromResult(new
CompiledPageActionDescriptor
Infrastructure\PageActionInvokerProviderTest.cs (2)
375
var compiledPageDescriptor = new
CompiledPageActionDescriptor
(descriptor)
482
return new
CompiledPageActionDescriptor
(descriptor)
Infrastructure\PageActionInvokerTest.cs (4)
1443
var actionDescriptor = new
CompiledPageActionDescriptor
1580
return new
CompiledPageActionDescriptor
()
1608
return new
CompiledPageActionDescriptor
()
1636
return new
CompiledPageActionDescriptor
()
Infrastructure\PageBinderFactoryTest.cs (14)
27
var actionDescriptor = new
CompiledPageActionDescriptor
52
var actionDescriptor = new
CompiledPageActionDescriptor
78
var actionDescriptor = new
CompiledPageActionDescriptor
103
var actionDescriptor = new
CompiledPageActionDescriptor
129
var actionDescriptor = new
CompiledPageActionDescriptor
154
var actionDescriptor = new
CompiledPageActionDescriptor
182
var actionDescriptor = new
CompiledPageActionDescriptor
240
var actionDescriptor = new
CompiledPageActionDescriptor
306
var actionDescriptor = new
CompiledPageActionDescriptor
354
var actionDescriptor = new
CompiledPageActionDescriptor
414
var actionDescriptor = new
CompiledPageActionDescriptor
475
var actionDescriptor = new
CompiledPageActionDescriptor
522
var actionDescriptor = new
CompiledPageActionDescriptor
759
var actionDescriptor = new
CompiledPageActionDescriptor
Infrastructure\ServiceBasedPageModelActivatorProviderTest.cs (5)
18
var descriptor = new
CompiledPageActionDescriptor
();
44
ActionDescriptor = new
CompiledPageActionDescriptor
76
ActionDescriptor = new
CompiledPageActionDescriptor
107
ActionDescriptor = new
CompiledPageActionDescriptor
129
var actionDescriptor = new
CompiledPageActionDescriptor
PageLoggerExtensionsTest.cs (4)
23
ActionDescriptor = new
CompiledPageActionDescriptor
51
ActionDescriptor = new
CompiledPageActionDescriptor
79
ActionDescriptor = new
CompiledPageActionDescriptor
107
ActionDescriptor = new
CompiledPageActionDescriptor
228 references to CompiledPageActionDescriptor
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BindPropertyIntegrationTest.cs (1)
199
var
actionDescriptor = new CompiledPageActionDescriptor
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
PageLoaderMatcherPolicy.cs (3)
45
if (page is not null and not
CompiledPageActionDescriptor
)
95
private static async Task ApplyAsyncAwaited(PageLoader pageLoader, CandidateSet candidates, Task<
CompiledPageActionDescriptor
> actionDescriptorTask, int index)
97
var
compiled = await actionDescriptorTask;
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
PageLoaderMatcherPolicyTest.cs (3)
19
var
compiled = new CompiledPageActionDescriptor();
38
var
compiled = new CompiledPageActionDescriptor();
64
var
compiled = new CompiledPageActionDescriptor();
Microsoft.AspNetCore.Mvc.RazorPages (131)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (4)
12
/// Constructs a <see cref="
CompiledPageActionDescriptor
"/> from an <see cref="PageApplicationModel"/>.
17
/// Creates a <see cref="
CompiledPageActionDescriptor
"/> from the specified <paramref name="applicationModel"/>.
21
/// <returns>The <see cref="
CompiledPageActionDescriptor
"/>.</returns>
22
public static
CompiledPageActionDescriptor
Build(
CompiledPageActionDescriptor.cs (3)
16
/// Initializes an empty <see cref="
CompiledPageActionDescriptor
"/>.
23
/// Initializes a new instance of <see cref="
CompiledPageActionDescriptor
"/>
70
internal override
CompiledPageActionDescriptor
? CompiledPageDescriptor
Diagnostics\MvcDiagnostics.cs (40)
149
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
152
public BeforePageFilterOnPageHandlerExecutionEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerExecutingContext handlerExecutionContext, IAsyncPageFilter filter)
160
/// The <see cref="
CompiledPageActionDescriptor
"/>.
162
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
200
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
203
public AfterPageFilterOnPageHandlerExecutionEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerExecutedContext handlerExecutedContext, IAsyncPageFilter filter)
211
/// The <see cref="
CompiledPageActionDescriptor
"/>.
213
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
251
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
254
public BeforePageFilterOnPageHandlerExecutingEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerExecutingContext handlerExecutingContext, IPageFilter filter)
262
/// The <see cref="
CompiledPageActionDescriptor
"/>.
264
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
302
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
305
public AfterPageFilterOnPageHandlerExecutingEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerExecutingContext handlerExecutingContext, IPageFilter filter)
313
/// The <see cref="
CompiledPageActionDescriptor
"/>.
315
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
353
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
356
public BeforePageFilterOnPageHandlerExecutedEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerExecutedContext handlerExecutedContext, IPageFilter filter)
364
/// The <see cref="
CompiledPageActionDescriptor
"/>.
366
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
404
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
407
public AfterPageFilterOnPageHandlerExecutedEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerExecutedContext handlerExecutedContext, IPageFilter filter)
415
/// The <see cref="
CompiledPageActionDescriptor
"/>.
417
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
455
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
458
public BeforePageFilterOnPageHandlerSelectionEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IAsyncPageFilter filter)
466
/// The <see cref="
CompiledPageActionDescriptor
"/>.
468
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
506
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
509
public AfterPageFilterOnPageHandlerSelectionEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IAsyncPageFilter filter)
517
/// The <see cref="
CompiledPageActionDescriptor
"/>.
519
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
557
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
560
public BeforePageFilterOnPageHandlerSelectedEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IPageFilter filter)
568
/// The <see cref="
CompiledPageActionDescriptor
"/>.
570
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
608
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
611
public AfterPageFilterOnPageHandlerSelectedEventData(
CompiledPageActionDescriptor
actionDescriptor, PageHandlerSelectedContext handlerSelectedContext, IPageFilter filter)
619
/// The <see cref="
CompiledPageActionDescriptor
"/>.
621
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
Filters\PageHandlerExecutedContext.cs (2)
43
public new virtual
CompiledPageActionDescriptor
ActionDescriptor =>
44
(
CompiledPageActionDescriptor
)base.ActionDescriptor;
Filters\PageHandlerExecutingContext.cs (2)
43
public new virtual
CompiledPageActionDescriptor
ActionDescriptor =>
44
(
CompiledPageActionDescriptor
)base.ActionDescriptor;
Filters\PageHandlerSelectedContext.cs (2)
36
public new virtual
CompiledPageActionDescriptor
ActionDescriptor =>
37
(
CompiledPageActionDescriptor
)base.ActionDescriptor;
Infrastructure\CompiledPageActionDescriptorFactory.cs (3)
15
/// A factory for producing <see cref="
CompiledPageActionDescriptor
"/> given a <see cref="PageActionDescriptor"/>.
33
public
CompiledPageActionDescriptor
CreateCompiledDescriptor(
50
var
compiled = CompiledPageActionDescriptorBuilder.Build(context.PageApplicationModel, _globalFilters);
Infrastructure\CompiledPageActionDescriptorProvider.cs (1)
74
var
compiledPageActionDescriptor = _compiledPageActionDescriptorFactory.CreateCompiledDescriptor(
Infrastructure\DefaultPageActivatorProvider.cs (3)
20
public Func<PageContext, ViewContext, object> CreateActivator(
CompiledPageActionDescriptor
actionDescriptor)
36
public Action<PageContext, ViewContext, object>? CreateReleaser(
CompiledPageActionDescriptor
actionDescriptor)
48
public Func<PageContext, ViewContext, object, ValueTask>? CreateAsyncReleaser(
CompiledPageActionDescriptor
actionDescriptor)
Infrastructure\DefaultPageFactoryProvider.cs (3)
42
public Func<PageContext, ViewContext, object> CreatePageFactory(
CompiledPageActionDescriptor
actionDescriptor)
70
public Action<PageContext, ViewContext, object>? CreatePageDisposer(
CompiledPageActionDescriptor
descriptor)
77
public Func<PageContext, ViewContext, object, ValueTask>? CreateAsyncPageDisposer(
CompiledPageActionDescriptor
descriptor)
Infrastructure\DefaultPageLoader.cs (5)
35
public override Task<
CompiledPageActionDescriptor
> LoadAsync(PageActionDescriptor actionDescriptor)
38
public override Task<
CompiledPageActionDescriptor
> LoadAsync(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata)
42
if (actionDescriptor is
CompiledPageActionDescriptor
compiledPageActionDescriptor)
60
private async Task<
CompiledPageActionDescriptor
> LoadAsyncCore(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata)
63
var
compiled = _compiledPageActionDescriptorFactory.CreateCompiledDescriptor(actionDescriptor, viewDescriptor);
Infrastructure\DefaultPageModelActivatorProvider.cs (3)
19
public Func<PageContext, object> CreateActivator(
CompiledPageActionDescriptor
actionDescriptor)
36
public Action<PageContext, object>? CreateReleaser(
CompiledPageActionDescriptor
actionDescriptor)
48
public Func<PageContext, object, ValueTask>? CreateAsyncReleaser(
CompiledPageActionDescriptor
actionDescriptor)
Infrastructure\DefaultPageModelFactoryProvider.cs (3)
20
public Func<PageContext, object>? CreateModelFactory(
CompiledPageActionDescriptor
descriptor)
48
public Action<PageContext, object>? CreateModelDisposer(
CompiledPageActionDescriptor
descriptor)
60
public Func<PageContext, object, ValueTask>? CreateAsyncModelDisposer(
CompiledPageActionDescriptor
descriptor)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (2)
161
if (actionDescriptor is
CompiledPageActionDescriptor
)
168
var
compiled = actionDescriptor!.CompiledPageDescriptor ??
Infrastructure\IPageLoader.cs (4)
7
/// Creates a <see cref="
CompiledPageActionDescriptor
"/> from a <see cref="PageActionDescriptor"/>.
13
/// Produces a <see cref="
CompiledPageActionDescriptor
"/> given a <see cref="PageActionDescriptor"/>.
16
/// <returns>The <see cref="
CompiledPageActionDescriptor
"/>.</returns>
17
CompiledPageActionDescriptor
Load(PageActionDescriptor actionDescriptor);
Infrastructure\PageActionInvoker.cs (1)
22
private readonly
CompiledPageActionDescriptor
_actionDescriptor;
Infrastructure\PageActionInvokerCache.cs (5)
45
var
compiledPageActionDescriptor = actionDescriptor.CompiledPageDescriptor;
72
CompiledPageActionDescriptor
compiledActionDescriptor,
113
internal List<Func<IRazorPage>> GetViewStartFactories(
CompiledPageActionDescriptor
descriptor)
129
private static PageHandlerExecutorDelegate[] GetHandlerExecutors(
CompiledPageActionDescriptor
actionDescriptor)
146
private PageHandlerBinderDelegate[] GetHandlerBinders(
CompiledPageActionDescriptor
actionDescriptor)
Infrastructure\PageActionInvokerCacheEntry.cs (2)
15
CompiledPageActionDescriptor
actionDescriptor,
40
public
CompiledPageActionDescriptor
ActionDescriptor { get; }
Infrastructure\PageBinderFactory.cs (2)
17
CompiledPageActionDescriptor
actionDescriptor)
86
CompiledPageActionDescriptor
actionDescriptor,
Infrastructure\PageLoader.cs (8)
9
/// Creates a <see cref="
CompiledPageActionDescriptor
"/> from a <see cref="PageActionDescriptor"/>.
16
/// Produces a <see cref="
CompiledPageActionDescriptor
"/> given a <see cref="PageActionDescriptor"/>.
19
/// <returns>A <see cref="Task"/> that on completion returns a <see cref="
CompiledPageActionDescriptor
"/>.</returns>
21
public abstract Task<
CompiledPageActionDescriptor
> LoadAsync(PageActionDescriptor actionDescriptor);
24
/// Produces a <see cref="
CompiledPageActionDescriptor
"/> given a <see cref="PageActionDescriptor"/>.
28
/// <returns>A <see cref="Task"/> that on completion returns a <see cref="
CompiledPageActionDescriptor
"/>.</returns>
29
public virtual Task<
CompiledPageActionDescriptor
> LoadAsync(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata)
32
CompiledPageActionDescriptor
IPageLoader.Load(PageActionDescriptor actionDescriptor)
Infrastructure\PageRequestDelegateFactory.cs (1)
73
if (_enableActionInvokers || actionDescriptor is not
CompiledPageActionDescriptor
page)
Infrastructure\ServiceBasedPageModelActivatorProvider.cs (2)
14
public Func<PageContext, object> CreateActivator(
CompiledPageActionDescriptor
descriptor)
34
public Action<PageContext, object>? CreateReleaser(
CompiledPageActionDescriptor
descriptor)
IPageActivatorProvider.cs (6)
16
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
18
Func<PageContext, ViewContext, object> CreateActivator(
CompiledPageActionDescriptor
descriptor);
23
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
25
Action<PageContext, ViewContext, object>? CreateReleaser(
CompiledPageActionDescriptor
descriptor);
30
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
32
Func<PageContext, ViewContext, object, ValueTask>? CreateAsyncReleaser(
CompiledPageActionDescriptor
descriptor)
IPageFactoryProvider.cs (6)
16
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
18
Func<PageContext, ViewContext, object> CreatePageFactory(
CompiledPageActionDescriptor
descriptor);
23
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
25
Action<PageContext, ViewContext, object>? CreatePageDisposer(
CompiledPageActionDescriptor
descriptor);
30
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
32
Func<PageContext, ViewContext, object, ValueTask>? CreateAsyncPageDisposer(
CompiledPageActionDescriptor
descriptor)
IPageModelActivatorProvider.cs (6)
14
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
16
Func<PageContext, object> CreateActivator(
CompiledPageActionDescriptor
descriptor);
21
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
23
Action<PageContext, object>? CreateReleaser(
CompiledPageActionDescriptor
descriptor);
28
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
30
Func<PageContext, object, ValueTask>? CreateAsyncReleaser(
CompiledPageActionDescriptor
descriptor)
IPageModelFactoryProvider.cs (6)
14
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
16
Func<PageContext, object>? CreateModelFactory(
CompiledPageActionDescriptor
descriptor);
21
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
23
Action<PageContext, object>? CreateModelDisposer(
CompiledPageActionDescriptor
descriptor);
28
/// <param name="descriptor">The <see cref="
CompiledPageActionDescriptor
"/>.</param>
30
Func<PageContext, object, ValueTask>? CreateAsyncModelDisposer(
CompiledPageActionDescriptor
descriptor)
PageActionDescriptor.cs (2)
59
internal virtual
CompiledPageActionDescriptor
? CompiledPageDescriptor { get; set; }
62
internal Task<
CompiledPageActionDescriptor
>? CompiledPageActionDescriptorTask { get; set; }
PageContext.cs (4)
19
private
CompiledPageActionDescriptor
? _actionDescriptor;
48
/// <param name="actionDescriptor">The <see cref="
CompiledPageActionDescriptor
"/> for the selected action.</param>
52
CompiledPageActionDescriptor
actionDescriptor)
61
public new virtual
CompiledPageActionDescriptor
ActionDescriptor
Microsoft.AspNetCore.Mvc.RazorPages.Test (90)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (4)
35
var
actual = CompiledPageActionDescriptorBuilder.Build(pageApplicationModel, globalFilters);
83
var
actual = CompiledPageActionDescriptorBuilder.Build(pageApplicationModel, globalFilters);
167
var
compiledPageActionDescriptor = CompiledPageActionDescriptorBuilder.Build(pageApplicationModel, globalFilters);
420
var
actual = CompiledPageActionDescriptorBuilder.Build(pageApplicationModel, globalFilters);
ApplicationModels\TempDataFilterPageApplicationModelProviderTest.cs (1)
122
var
descriptor = new CompiledPageActionDescriptor();
ApplicationModels\ViewDataAttributePageApplicationModelProviderTest.cs (1)
48
var
descriptor = new CompiledPageActionDescriptor();
Infrastructure\DefaultPageActivatorProviderTest.cs (3)
17
var
descriptor = new CompiledPageActionDescriptor();
35
var
descriptor = new CompiledPageActionDescriptor
55
var
descriptor = new CompiledPageActionDescriptor
Infrastructure\DefaultPageFactoryProviderTest.cs (9)
26
var
descriptor = new CompiledPageActionDescriptor
45
var
descriptor = new CompiledPageActionDescriptor
107
var
descriptor = new CompiledPageActionDescriptor
388
.Setup(a => a.CreateActivator(It.IsAny<
CompiledPageActionDescriptor
>()))
389
.Returns((
CompiledPageActionDescriptor
descriptor) =>
394
.Setup(a => a.CreateReleaser(It.IsAny<
CompiledPageActionDescriptor
>()))
395
.Returns((
CompiledPageActionDescriptor
descriptor) =>
401
.Setup(a => a.CreateAsyncReleaser(It.IsAny<
CompiledPageActionDescriptor
>()))
402
.Returns((
CompiledPageActionDescriptor
descriptor) =>
Infrastructure\DefaultPageLoaderTest.cs (10)
94
var
result = await loader.LoadAsync(new PageActionDescriptor(), EndpointMetadataCollection.Empty);
148
var
result = await loader.LoadAsync(descriptor, EndpointMetadataCollection.Empty);
211
var
result = await loader.LoadAsync(new PageActionDescriptor(), EndpointMetadataCollection.Empty);
265
var
result1 = await loader.LoadAsync(descriptor, EndpointMetadataCollection.Empty);
266
var
result2 = await loader.LoadAsync(descriptor, EndpointMetadataCollection.Empty);
325
var
result1 = await loader.LoadAsync(descriptor, EndpointMetadataCollection.Empty);
326
var
result2 = await loader.LoadAsync(descriptor2, EndpointMetadataCollection.Empty);
344
var
pageDescriptor = new CompiledPageActionDescriptor();
347
var
result1 = await loader.LoadAsync(pageDescriptor, new EndpointMetadataCollection());
348
var
result2 = await loader.LoadAsync(pageDescriptor, new EndpointMetadataCollection());
Infrastructure\DefaultPageModelActivatorProviderTest.cs (6)
21
var
actionDescriptor = new CompiledPageActionDescriptor();
35
var
actionDescriptor = new CompiledPageActionDescriptor
65
var
actionDescriptor = new CompiledPageActionDescriptor
98
var
actionDescriptor = new CompiledPageActionDescriptor
118
var
actionDescriptor = new CompiledPageActionDescriptor
137
var
actionDescriptor = new CompiledPageActionDescriptor
Infrastructure\DefaultPageModelFactoryProviderTest.cs (8)
15
var
descriptor = new CompiledPageActionDescriptor();
30
var
descriptor = new CompiledPageActionDescriptor();
45
var
descriptor = new CompiledPageActionDescriptor
65
var
descriptor = new CompiledPageActionDescriptor
86
var
descriptor = new CompiledPageActionDescriptor
108
var
descriptor = new CompiledPageActionDescriptor
132
mockActivator.Setup(a => a.CreateActivator(It.IsAny<
CompiledPageActionDescriptor
>()))
133
.Returns((
CompiledPageActionDescriptor
descriptor) =>
Infrastructure\PageActionInvokerProviderTest.cs (18)
30
var
descriptor = CreateCompiledPageActionDescriptor(new PageActionDescriptor
43
.Setup(f => f.CreatePageFactory(It.IsAny<
CompiledPageActionDescriptor
>()))
46
.Setup(f => f.CreateAsyncPageDisposer(It.IsAny<
CompiledPageActionDescriptor
>()))
79
var
descriptor = CreateCompiledPageActionDescriptor(
96
.Setup(f => f.CreatePageFactory(It.IsAny<
CompiledPageActionDescriptor
>()))
99
.Setup(f => f.CreateAsyncPageDisposer(It.IsAny<
CompiledPageActionDescriptor
>()))
104
.Setup(f => f.CreateModelFactory(It.IsAny<
CompiledPageActionDescriptor
>()))
107
.Setup(f => f.CreateAsyncModelDisposer(It.IsAny<
CompiledPageActionDescriptor
>()))
131
var
compiledPageActionDescriptor = Assert.IsType<
CompiledPageActionDescriptor
>(entry.ActionDescriptor);
153
var
descriptor = CreateCompiledPageActionDescriptor(new PageActionDescriptor
202
var
descriptor = CreateCompiledPageActionDescriptor(new PageActionDescriptor
248
var
descriptor = CreateCompiledPageActionDescriptor(new PageActionDescriptor
313
var
descriptor = CreateCompiledPageActionDescriptor(new PageActionDescriptor
319
var
descriptor2 = CreateCompiledPageActionDescriptor(new PageActionDescriptor
375
var
compiledPageDescriptor = new CompiledPageActionDescriptor(descriptor)
454
var
compiledDescriptor = CreateCompiledPageActionDescriptor(descriptor);
463
private static
CompiledPageActionDescriptor
CreateCompiledPageActionDescriptor(
Infrastructure\PageActionInvokerTest.cs (9)
34
var
actionDescriptor = CreateDescriptorForSimplePage();
62
var
actionDescriptor = CreateDescriptorForSimplePage();
330
var
descriptor = CreateDescriptorForSimplePage();
1397
var
actionDescriptor = hasPageModel
1443
var
actionDescriptor = new CompiledPageActionDescriptor
1483
CompiledPageActionDescriptor
actionDescriptor,
1578
private
CompiledPageActionDescriptor
CreateDescriptorForSimplePage()
1606
private
CompiledPageActionDescriptor
CreateDescriptorForSimplePageWithPocoModel()
1634
private
CompiledPageActionDescriptor
CreateDescriptorForPageModelPage()
Infrastructure\PageBinderFactoryTest.cs (19)
27
var
actionDescriptor = new CompiledPageActionDescriptor
52
var
actionDescriptor = new CompiledPageActionDescriptor
78
var
actionDescriptor = new CompiledPageActionDescriptor
103
var
actionDescriptor = new CompiledPageActionDescriptor
129
var
actionDescriptor = new CompiledPageActionDescriptor
154
var
actionDescriptor = new CompiledPageActionDescriptor
182
var
actionDescriptor = new CompiledPageActionDescriptor
240
var
actionDescriptor = new CompiledPageActionDescriptor
306
var
actionDescriptor = new CompiledPageActionDescriptor
354
var
actionDescriptor = new CompiledPageActionDescriptor
414
var
actionDescriptor = new CompiledPageActionDescriptor
475
var
actionDescriptor = new CompiledPageActionDescriptor
522
var
actionDescriptor = new CompiledPageActionDescriptor
580
var
actionDescriptor = GetActionDescriptorWithHandlerMethod(type, nameof(PageModelWithExecutors.OnGet));
623
var
actionDescriptor = GetActionDescriptorWithHandlerMethod(type, nameof(PageModelWithExecutors.OnGetWithBindNever));
660
var
actionDescriptor = GetActionDescriptorWithHandlerMethod(type, nameof(PageModelWithExecutors.OnPostWithValidation));
710
var
actionDescriptor = GetActionDescriptorWithHandlerMethod(type, nameof(PageModelWithExecutors.OnGet));
754
private static
CompiledPageActionDescriptor
GetActionDescriptorWithHandlerMethod(Type type, string method)
759
var
actionDescriptor = new CompiledPageActionDescriptor
Infrastructure\ServiceBasedPageModelActivatorProviderTest.cs (2)
18
var
descriptor = new CompiledPageActionDescriptor();
129
var
actionDescriptor = new CompiledPageActionDescriptor