예제 #1
0
 public static bool IsEqualToPositionParty(IBookParty position, IBookIndex element)
 {
     return(element.ContractIndex().Equals(position.ContractIndex()) &&
            element.PositionIndex().Equals(position.PositionIndex()));
 }
예제 #2
0
 public static bool IsEqualToContractParty(ICodeIndex contract, IBookIndex element)
 {
     return(element.ContractIndex().Equals(contract));
 }