//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @SuppressWarnings("unchecked") protected org.camunda.bpm.engine.rest.hal.task.HalTaskList convertToHalTaskList(List<org.camunda.bpm.engine.task.Task> tasks, long count) protected internal virtual HalTaskList convertToHalTaskList(IList <Task> tasks, long count) { HalTaskList halTasks = HalTaskList.generate(tasks, count, ProcessEngine); IDictionary <string, IList <VariableInstance> > variableInstances = getVariableInstancesForTasks(halTasks); if (variableInstances != null) { foreach (HalTask halTask in (IList <HalTask>)halTasks.getEmbedded("task")) { embedVariableValuesInHalTask(halTask, variableInstances); } } return(halTasks); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @SuppressWarnings("unchecked") protected Map<String, List<org.camunda.bpm.engine.runtime.VariableInstance>> getVariableInstancesForTasks(org.camunda.bpm.engine.rest.hal.task.HalTaskList halTaskList) protected internal virtual IDictionary <string, IList <VariableInstance> > getVariableInstancesForTasks(HalTaskList halTaskList) { IList <HalTask> halTasks = (IList <HalTask>)halTaskList.getEmbedded("task"); return(getVariableInstancesForTasks(halTasks.ToArray())); }