public void Add(string blockchainType, string blockchainAssetId, OperationType operationType, IRiskConstraint constraint)
 {
     _constraintsByBlockchainTypeAssetAndOperationType.AddCollectionItem((blockchainType, blockchainAssetId, operationType), constraint);
 }
 public void Add(string blockchainType, string blockchainAssetId, IRiskConstraint constraint)
 {
     _constraintsByBlockchainTypeAndAssetId.AddCollectionItem((blockchainType, blockchainAssetId), constraint);
 }
 public void Add(string blockchainType, IRiskConstraint constraint)
 {
     _constraintsByBlockchainType.AddCollectionItem(blockchainType, constraint);
 }
 public void Add(OperationType operationType, IRiskConstraint constraint)
 {
     _constraintsByOperationType.AddCollectionItem(operationType, constraint);
 }
 public void Add(IRiskConstraint constraint)
 {
     _globalContraints.Add(constraint);
 }
 public static string GetConstraintName(this IRiskConstraint constraint)
 {
     return(constraint.GetType().GetDisplayName());
 }