public JBatchContent(JBatchContent other) { if (other.elements != null) { elements = new JBatchContentElement[other.elements.Length]; for (int i = 0; i < elements.Length; i++) { elements[i] = new JBatchContentElement(other.elements[i]); } } }
public JBatchContent GetBatchContent(int batch) { if (contents != null) { JBatchContent content = null; contents.TryGetValue(batch, out content); return(content); } else { return(null); } }