Exemplo n.º 1
0
 internal void Add(string key, UploadedFile file)
 {
     lock (_SyncRoot) { this.BaseAdd(key, file); }
     if (UploadState != null)
     {
         UploadState.OnChanged();
     }
 }
Exemplo n.º 2
0
        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);
        }