Interface IModalChoiceConsumer
The
IModalChoiceConsumer is a resource that can provide consumption based on its internal state.
e.g. a CarParkingSpace only allows cars to park there based on available free parking lots
Namespace: Mars.Interfaces.Layers
Assembly: Mars.Interfaces.dll
Syntax
public interface IModalChoiceConsumer
Methods
| Improve this Doc View SourceCanConsume()
Indicates if this resource allows the consumption.
Declaration
bool CanConsume()
Returns
| Type | Description |
|---|---|
| System.Boolean | True, if consumption is allowed, false otherwise |