Interface IRealizationManager
Store the executed realizations and the realizations to execute.
Namespace: Xareus.Scenarios.Relations
Assembly: Xareus.Scenarios.Relations.dll
Syntax
public interface IRealizationManager
Properties
RelationEngine
Returns the RelationEngine.
Declaration
IEngine RelationEngine { get; }
Property Value
Type | Description |
---|---|
IEngine |
Methods
AddExecutedRealization(Realization)
Add the given realization to the log.
Declaration
void AddExecutedRealization(Realization realization)
Parameters
Type | Name | Description |
---|---|---|
Realization | realization |
EnqueueRealizationToExecute(Realization)
Add the given realization to the backlog.
Declaration
void EnqueueRealizationToExecute(Realization realization)
Parameters
Type | Name | Description |
---|---|---|
Realization | realization |
GetExecutedRealizations(IRelation, HashSet<IObject>, DateTime, DateTime)
Returns every realization that match the given relation and objects and that were created between the start and end DateTime.
Declaration
IEnumerable<Realization> GetExecutedRealizations(IRelation relation, HashSet<IObject> objects, DateTime start, DateTime end)
Parameters
Type | Name | Description |
---|---|---|
IRelation | relation | |
HashSet<IObject> | objects | |
DateTime | start | |
DateTime | end |
Returns
Type | Description |
---|---|
IEnumerable<Realization> |
GetNextRealizationToExecute()
Returns the oldest realization in the backlog.
Declaration
Realization GetNextRealizationToExecute()
Returns
Type | Description |
---|---|
Realization |