internal override void LoadToCache()
{
if (this.IsRemovable)
{
try
{
this.LoadToTempFile();
this.IsCached = true;
this.OnCachingCompleted(EventArgs.Empty);
}
catch (IOException)
{
this.OnCachingFailed(EventArgs.Empty);
}
}
else
{
this.StreamingPath = this.OriginalPath;
this.IsCached = true;
this.OnCachingCompleted(EventArgs.Empty);
}
}