[runtime] Disable some tests in full-aot mode which cannot be AOTed because of type...
[mono-project.git] / mcs / class / monodoc / Monodoc / caches / NullCache.cs
blob628397efd640d071900ed79533d2e679bafbaabf
1 using System;
2 using System.IO;
4 namespace Monodoc.Caches
6 // This is basically a no-cache implementation
7 public class NullCache : IDocCache
9 public bool IsCached (string id)
11 return false;
14 public bool CanCache (DocEntity entity)
16 return false;
19 public Stream GetCachedStream (string id)
21 return null;
24 public string GetCachedString (string id)
26 return null;
29 public void CacheText (string id, string content)
34 public void CacheText (string id, Stream stream)
39 public void CacheBlob (string id, byte[] data)
44 public void CacheBlob (string id, Stream stream)
49 public void Dispose ()