GuiLabs.FileUtilities DirectoryContentsCache in C# (CSharp): 2 esempi trovati. Questi sono i migliori esempi reali in C# (CSharp) per GuiLabs.FileUtilities.DirectoryContentsCache, estratti da progetti open source. Li puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
For large remote folders it can take hours just to enumerate the contents of the remote folder. For unreliable connections restarting ContentSync will require re-reading the contents from scratch again. To avoid this repeated cost, once the contents of the remote folder have been read we flush it to disk. If at any time after that ContentSync encounters errors, the cache will persist until ContentSync is invoked next time. However upon successful completion the cache is cleared.