- Timestamp:
- 07/07/15 00:06:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveTasks/HiveTask.cs
r12012 r12621 295 295 /// </param> 296 296 public virtual TaskData GetAsTaskData(bool withoutChildOptimizers, out List<IPluginDescription> plugins) { 297 plugins = new List<IPluginDescription>();298 if (this.itemTask == null)297 if (ItemTask == null) { 298 plugins = new List<IPluginDescription>(); 299 299 return null; 300 } 300 301 301 302 IEnumerable<Type> usedTypes; 302 byte[] taskByteArray = PersistenceUtil.Serialize( this.ItemTask, out usedTypes);303 byte[] taskByteArray = PersistenceUtil.Serialize(ItemTask, out usedTypes); 303 304 TaskData taskData = new TaskData() { TaskId = task.Id, Data = taskByteArray }; 304 PluginUtil.CollectDeclaringPlugins(plugins, usedTypes);305 plugins = PluginUtil.GetPluginsForTask(usedTypes, ItemTask); 305 306 return taskData; 306 307 }
Note: See TracChangeset
for help on using the changeset viewer.