Exemplo n.º 1
0
 public IBookParty GetContractParty(IBookIndex element)
 {
     if (__positionNode == false && __contractNode == true)
     {
         return(element.GetNewContractParty(element.Code(), element.CodeOrder()));
     }
     return(null);
 }
Exemplo n.º 2
0
 public IBookParty GetNextTargetParty(IBookIndex lastIndex)
 {
     if (__positionNode == false && __contractNode == true)
     {
         return(lastIndex.GetNewContractParty(lastIndex.Code(), lastIndex.CodeOrder()));
     }
     else if (__positionNode == true)
     {
         return(lastIndex.GetNewPositionParty(lastIndex.Code(), lastIndex.CodeOrder()));
     }
     return(lastIndex.GetParty());
 }