public static void RegisterUploadAction(FileActionBase uploadAction) { if (s_UploadActions.ContainsKey(uploadAction.Name)) s_UploadActions[uploadAction.Name] = uploadAction; else s_UploadActions.Add(uploadAction.Name, uploadAction); }
public static void RegisterUploadAction(FileActionBase uploadAction) { if (s_UploadActions.ContainsKey(uploadAction.Name)) { s_UploadActions[uploadAction.Name] = uploadAction; } else { s_UploadActions.Add(uploadAction.Name, uploadAction); } }