internal void Add(string key, UploadedFile file) { lock (_SyncRoot) { this.BaseAdd(key, file); } if (UploadState != null) { UploadState.OnChanged(); } }
bool IUploadModule.SetProcessingState(string controlUniqueID, object state) { UploadState uploadState = CurrentUploadState; if (uploadState == null || uploadState.Status == UploadStatus.Unknown) { return(true); } uploadState.ProcessingStateDict[controlUniqueID] = state; uploadState.OnChanged(); return(true); }