You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.179
Former-commit-id: a536d4f20e27294d8bbc2184d75f3a22364f7ba1
This commit is contained in:
parent
966bba02bb
commit
fad71374d0
54
external/api-doc-tools/monodoc/Monodoc/caches/NullCache.cs
vendored
Normal file
54
external/api-doc-tools/monodoc/Monodoc/caches/NullCache.cs
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace Monodoc.Caches
|
||||
{
|
||||
// This is basically a no-cache implementation
|
||||
public class NullCache : IDocCache
|
||||
{
|
||||
public bool IsCached (string id)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool CanCache (DocEntity entity)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public Stream GetCachedStream (string id)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public string GetCachedString (string id)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public void CacheText (string id, string content)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void CacheText (string id, Stream stream)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void CacheBlob (string id, byte[] data)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void CacheBlob (string id, Stream stream)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Dispose ()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user