...
- Question: what does isAvailable() mean in case of multiple consumers. Do all consumers need to have the same time(s)?
Discussion/Conclusion:We decided to extend the IsAvailable() method with an IExchangeItem argument, so that the caller can specify which availability he wants to check:
bool IsAvailable(IExchangeItem querySpecification).
The ValueDefinition/ElementSet/TimeSet definition of the querySpecification specifies exactly what is needed.
Generally speaking, it is on of the consumers that is passed as the argument:
...