public void RaiseChange(string fullname) { fullname = FileProviderHelper.NormalizePath(fullname); ChangeTokenInfo matchInfo; if (_fileTokenLookup.TryRemove(fullname, out matchInfo)) { FileProviderHelper.CancelToken(matchInfo); } }
public IChangeToken CreateFileChangeToken(string pattern) { return(FileProviderHelper.GetOrAddFileChangeToken(pattern, _fileTokenLookup)); }