15 writes to CacheToken
Microsoft.AspNetCore.Mvc.Core (3)
Controllers\ControllerBinderDelegateProvider.cs (2)
153
CacheToken
= parameter,
183
CacheToken
= property,
ModelBinding\ModelBindingHelper.cs (1)
265
CacheToken
= modelMetadata,
Microsoft.AspNetCore.Mvc.Core.Test (7)
ModelBinding\ModelBinderFactoryTest.cs (7)
269
CacheToken
= new object(),
436
CacheToken
= null, // We want the outermost provider to run twice.
498
CacheToken
= null, // We want the outermost provider to run twice.
552
CacheToken
= null,
559
context.
CacheToken
= context.Metadata;
616
CacheToken
= null,
623
context.
CacheToken
= context.Metadata;
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
ComplexRecordIntegrationTest.cs (1)
4257
CacheToken
= parameter,
ComplexTypeIntegrationTestBase.cs (1)
3756
CacheToken
= parameter,
ParameterBinderExtensions.cs (1)
71
CacheToken
= parameter,
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageBinderFactory.cs (2)
38
CacheToken
= property,
119
CacheToken
= parameter,
3 references to CacheToken
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\ModelBinderFactory.cs (3)
63
if (TryGetCachedBinder(context.Metadata, context.
CacheToken
, out var binder))
72
binder = CreateBinderCoreUncached(providerContext, context.
CacheToken
);
80
AddToCache(context.Metadata, context.
CacheToken
, binder);