예제 #1
0
        protected override void DeleteInternal()
        {
            new File().Delete(FullName);
            _exists = null;

            // Log the web farm task
            SynchronizationHelper.LogDeleteFileTask(FullName);
        }
예제 #2
0
        /// <summary>
        /// Deletes the specified file. An exception is not thrown if the specified file does not exist.
        /// </summary>
        /// <param name="path">Path to file</param>
        public override void Delete(string path)
        {
            Get(path).Delete();

            SynchronizationHelper.LogDeleteFileTask(path);
        }