Example #1
0
 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]);
         }
     }
 }
Example #2
0
 public JBatchContent GetBatchContent(int batch)
 {
     if (contents != null)
     {
         JBatchContent content = null;
         contents.TryGetValue(batch, out content);
         return(content);
     }
     else
     {
         return(null);
     }
 }