2 types derived from CacheDependency
System.Web (2)
Cache\CacheDependency.cs (1)
948
public sealed class AggregateCacheDependency :
CacheDependency
{
Cache\SqlCacheDependency.cs (1)
40
public sealed class SqlCacheDependency :
CacheDependency
{
18 instantiations of CacheDependency
System.Web (18)
Cache\cache.cs (1)
471
CacheDependency expensiveObjectDep = new
CacheDependency
(null, cacheKeys);
Cache\CacheDependency.cs (1)
85
s_dependencyEmpty = new
CacheDependency
(0);
Cache\OutputCache.cs (2)
90
CacheDependency keyDep = new
CacheDependency
(0, null, new string[1] {cacheKey});
461
CacheDependency dep = new
CacheDependency
(0, fileDeps);
CachedPathData.cs (3)
255
dependency = new
CacheDependency
(0, fileDependencies, cacheItemDependencies);
367
dependency = new
CacheDependency
(0, null, cacheItemDependencies);
370
dependency = new
CacheDependency
(0, fileDependencies, cacheItemDependencies);
Compilation\BuildResultCache.cs (1)
197
CacheDependency assemblyCacheDependency = new
CacheDependency
(0, null, new string[] { assemblyKey });
Hosting\MapPathBasedVirtualPathProvider.cs (2)
67
return new
CacheDependency
(0, physicalDependenciesArray, utcStart);
109
dep = new
CacheDependency
(existingDir);
HttpResponse.cs (2)
3663
dependency = new
CacheDependency
(0, info.items, null, dependencyOld, info.utcDate);
3667
dependency = new
CacheDependency
(null, info.items, dependencyOld,
Security\FileAuthorizationModule.cs (1)
268
CacheDependency dependency = new
CacheDependency
(0, cacheDependencyPath);
UI\Control.cs (1)
2226
dependency = new
CacheDependency
(0, physicalPath);
UI\DataSourceCache.cs (1)
222
aggregateCacheDependency.Add(new CacheDependency[] { new
CacheDependency
(null, keyDependencies) });
UI\FileDataSourceCache.cs (1)
38
CacheDependency fileDependency = new
CacheDependency
(0, filenames);
UI\WebControls\ObjectDataSource.cs (1)
983
CacheDependency cacheDependency = new
CacheDependency
(0, new string[0], new string[] { parentKey });
UI\WebControls\SqlDataSource.cs (1)
1080
CacheDependency cacheDependency = new
CacheDependency
(0, new string[0], new string[] {parentKey});
119 references to CacheDependency
System.ServiceModel.Web (4)
System\ServiceModel\Web\CachingParameterInspector.cs (4)
241
CacheDependency
CreateSingleCacheDependency(string sqlDependency)
258
cacheDependency.Add(new
CacheDependency
[] { new SqlCacheDependency(dependencyInfo.Database, dependencyInfo.Table) });
351
CacheDependency
cacheDependency = this.CreateSingleCacheDependency(cacheProfile.SqlDependency);
352
HttpContext.Current.Response.AddCacheDependency(new
CacheDependency
[] { cacheDependency });
System.Web (112)
Abstractions\HttpResponseBase.cs (1)
270
public virtual void AddCacheDependency(params
CacheDependency
[] dependencies) {
Abstractions\HttpResponseWrapper.cs (1)
276
public override void AddCacheDependency(params
CacheDependency
[] dependencies) {
Cache\cache.cs (11)
49
out object expensiveObject, out
CacheDependency
dependency, out DateTime absoluteExpiration, out TimeSpan slidingExpiration);
318
private
CacheDependency
_expensiveObjectDependency;
321
public SentinelEntry(string key,
CacheDependency
expensiveObjectDependency, CacheItemUpdateCallback callback) {
331
public
CacheDependency
ExpensiveObjectDependency {
364
CacheDependency
cacheDependency;
412
public void Insert(string key, object value,
CacheDependency
dependencies) {
421
public void Insert(string key, object value,
CacheDependency
dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration) {
433
CacheDependency
dependencies,
454
CacheDependency
dependencies,
471
CacheDependency
expensiveObjectDep = new CacheDependency(null, cacheKeys);
497
CacheDependency
dependencies,
Cache\CacheDependency.cs (28)
59
static readonly
CacheDependency
s_dependencyEmpty;
152
public CacheDependency(string[] filenames, string[] cachekeys,
CacheDependency
dependency) {
157
public CacheDependency(string[] filenames, string[] cachekeys,
CacheDependency
dependency, DateTime start) {
192
internal CacheDependency(int dummy, string[] filenames, string[] cachekeys,
CacheDependency
dependency) {
196
internal CacheDependency(int dummy, string[] filenames, string[] cachekeys,
CacheDependency
dependency, DateTime utcStart) {
304
void Init(bool isPublic, string[] filenamesArg, string[] cachekeysArg,
CacheDependency
dependency, DateTime utcStart) {
959
public void Add(params
CacheDependency
[] dependencies) {
967
dependencies = (
CacheDependency
[]) dependencies.Clone();
970
foreach (
CacheDependency
d in dependencies) {
989
foreach (
CacheDependency
d in dependencies) {
1018
CacheDependency
[] dependencies = null;
1023
dependencies = (
CacheDependency
[]) _dependencies.ToArray(typeof(
CacheDependency
));
1029
foreach (
CacheDependency
d in dependencies) {
1045
CacheDependency
[] dependencies = null;
1054
dependencies = (
CacheDependency
[]) _dependencies.ToArray(typeof(
CacheDependency
));
1059
foreach (
CacheDependency
dependency in dependencies) {
1079
internal
CacheDependency
[] GetDependencyArray()
1081
CacheDependency
[] dependencies = null;
1085
dependencies = (
CacheDependency
[]) _dependencies.ToArray(typeof(
CacheDependency
));
1097
CacheDependency
[] dependencies = null;
1104
foreach (
CacheDependency
d in dependencies) {
1107
if ( ! object.ReferenceEquals(d.GetType(), typeof(
CacheDependency
)) &&
1127
CacheDependency
[] dependencies = null;
1134
foreach (
CacheDependency
d in dependencies) {
1137
if (object.ReferenceEquals(d.GetType(), typeof(
CacheDependency
))
Cache\CacheEntry.cs (9)
120
CacheDependency
_dependency; /* dependencies this item has */
130
CacheDependency
dependency,
245
internal
CacheDependency
Dependency {
251
CacheDependency
dependency = _dependency;
339
if (target is
CacheDependency
) {
340
((
CacheDependency
)target).ItemRemoved();
351
((
CacheDependency
) onRemovedTargets).ItemRemoved();
376
internal void AddDependent(
CacheDependency
dependency) {
394
internal void RemoveDependent(
CacheDependency
dependency) {
Cache\OutputCache.cs (5)
89
private static void AddCacheKeyToDependencies(ref
CacheDependency
dependencies, string cacheKey) {
90
CacheDependency
keyDep = new CacheDependency(0, null, new string[1] {cacheKey});
461
CacheDependency
dep = new CacheDependency(0, fileDeps);
655
CacheDependency
dependencies,
767
CacheDependency
dependencies,
Cache\SqlCacheDependency.cs (1)
219
public static
CacheDependency
CreateOutputCacheDependency(string dependency) {
CachedPathData.cs (1)
217
CacheDependency
dependency = null;
Compilation\BuildManagerHost.cs (1)
634
public override
CacheDependency
GetCacheDependency(string virtualPath,
Compilation\BuildResultCache.cs (3)
158
CacheDependency
cacheDependency = null;
197
CacheDependency
assemblyCacheDependency = new CacheDependency(0, null, new string[] { assemblyKey });
203
tmpDependency.Add(new
CacheDependency
[] { cacheDependency, assemblyCacheDependency });
Hosting\MapPathBasedVirtualPathProvider.cs (2)
43
public override
CacheDependency
GetCacheDependency(string virtualPath, IEnumerable virtualPathDependencies, DateTime utcStart) {
102
CacheDependency
dep = null;
Hosting\VirtualPathProvider.cs (3)
83
public virtual
CacheDependency
GetCacheDependency(string virtualPath, IEnumerable virtualPathDependencies, DateTime utcStart) {
92
internal
CacheDependency
GetCacheDependency(VirtualPath virtualPath, IEnumerable virtualPathDependencies, DateTime utcStart) {
269
internal static
CacheDependency
GetCacheDependency(VirtualPath virtualPath) {
HttpCachePolicy.cs (2)
701
DateTime UpdateLastModifiedTimeFromDependency(
CacheDependency
dep) {
728
CacheDependency
dep = null;
HttpResponse.cs (13)
94
private
CacheDependency
[] _userAddedDependencies;
95
private
CacheDependency
_cacheDependencyForResponse;
192
foreach (
CacheDependency
dep in _userAddedDependencies) {
981
public void AddCacheDependency(params
CacheDependency
[] dependencies) {
993
_userAddedDependencies = (
CacheDependency
[]) dependencies.Clone();
996
CacheDependency
[] deps = new
CacheDependency
[_userAddedDependencies.Length + dependencies.Length];
1050
internal
CacheDependency
CreateCacheDependencyForResponse() {
1052
CacheDependency
dependency;
3655
internal
CacheDependency
CreateCacheDependency(CacheDependencyType dependencyType,
CacheDependency
dependency) {
3660
CacheDependency
dependencyOld = dependency;
3679
CacheDependency
virtualDependency = null;
OutputCacheModule.cs (1)
1262
CacheDependency
dep = response.CreateCacheDependencyForResponse();
Security\FileAuthorizationModule.cs (1)
268
CacheDependency
dependency = new CacheDependency(0, cacheDependencyPath);
UI\Control.cs (1)
2208
internal Stream OpenFileAndGetDependency(VirtualPath virtualPath, string physicalPath, out
CacheDependency
dependency) {
UI\ControlCachePolicy.cs (1)
120
public
CacheDependency
Dependency {
UI\DataSourceCache.cs (4)
180
public void SaveDataToCache(string key, object data,
CacheDependency
dependency) {
192
protected virtual void SaveDataToCacheInternal(string key, object data,
CacheDependency
dependency) {
222
aggregateCacheDependency.Add(new
CacheDependency
[] { new CacheDependency(null, keyDependencies) });
227
aggregateCacheDependency.Add(new
CacheDependency
[] { dependency });
UI\FileDataSourceCache.cs (2)
34
protected override void SaveDataToCacheInternal(string key, object data,
CacheDependency
dependency) {
38
CacheDependency
fileDependency = new CacheDependency(0, filenames);
UI\PartialCachingControl.cs (4)
73
private
CacheDependency
_cacheDependency;
252
public
CacheDependency
Dependency {
341
CacheDependency
sqlCacheDep = null;
366
CacheDependency
cacheDep;
UI\SqlDataSourceCache.cs (2)
38
protected override void SaveDataToCacheInternal(string key, object data,
CacheDependency
dependency) {
46
CacheDependency
sqlDependency = System.Web.Caching.SqlCacheDependency.CreateOutputCacheDependency(sqlCacheDependency);
UI\WebControls\AccessDataSource.cs (1)
253
internal override void SaveDataToCache(int startRowIndex, int maximumRows, object data,
CacheDependency
dependency) {
UI\WebControls\AdRotator.cs (1)
462
CacheDependency
dependency;
UI\WebControls\ObjectDataSource.cs (1)
983
CacheDependency
cacheDependency = new CacheDependency(0, new string[0], new string[] { parentKey });
UI\WebControls\SqlDataSource.cs (2)
1074
internal virtual void SaveDataToCache(int startRowIndex, int maximumRows, object data,
CacheDependency
dependency) {
1080
CacheDependency
cacheDependency = new CacheDependency(0, new string[0], new string[] {parentKey});
UI\WebControls\xml.cs (3)
416
CacheDependency
dependency;
479
CacheDependency
dependency;
524
CacheDependency
dependency;
UI\WebControls\XmlDataSource.cs (6)
443
private XmlReader GetReader(string path, string content, out
CacheDependency
cacheDependency) {
546
CacheDependency
transformCacheDependency;
547
CacheDependency
dataCacheDependency;
555
CacheDependency
fileDependency;
584
private void PopulateXmlDocument(XmlDocument document, out
CacheDependency
dataCacheDependency, out
CacheDependency
transformCacheDependency) {
VirtualPath.cs (1)
287
public
CacheDependency
GetCacheDependency(IEnumerable virtualPathDependencies, DateTime utcStart) {
System.Web.DynamicData (1)
DynamicData\Util\FileChangeNotifier.cs (1)
52
CacheDependency
cacheDependency = VirtualPathProvider.GetCacheDependency(
System.Web.Extensions (2)
HttpResponseInternalWrapper.cs (1)
236
public override void AddCacheDependency(params
CacheDependency
[] dependencies) {
Script\Services\WebServiceData.cs (1)
124
CacheDependency
cd = HostingEnvironment.VirtualPathProvider.GetCacheDependency(virtualPath, deps.VirtualPaths, DateTime.Now);