Пример #1
0
 public static void RegisterUploadAction(FileActionBase uploadAction)
 {
     if (s_UploadActions.ContainsKey(uploadAction.Name))
         s_UploadActions[uploadAction.Name] = uploadAction;
     else
         s_UploadActions.Add(uploadAction.Name, uploadAction);
 }
Пример #2
0
 public static void RegisterUploadAction(FileActionBase uploadAction)
 {
     if (s_UploadActions.ContainsKey(uploadAction.Name))
     {
         s_UploadActions[uploadAction.Name] = uploadAction;
     }
     else
     {
         s_UploadActions.Add(uploadAction.Name, uploadAction);
     }
 }