public static CopyUnlocked ( string from, string to ) : void | ||
from | string | |
to | string | |
return | void |
public void AddFile(string key, string filePath, string contentName) { EnsureKey(key); var target = MakePath(key, contentName); FileUtils.CopyUnlocked(filePath, target); if (Added != null) { Added(this, new FileCacheStoreAddedEventArgs() { SizeKB = (int)(new FileInfo(filePath).Length / 1024) }); } }
public virtual void CopyFile(string from, string to) { FileUtils.CopyUnlocked(from, to); }