The methodful roles contains the actual algorithm, but what should the Contexts executing method do but execute one of those methods?
public class SomeContext
{
// ... Constructor omitted ...
public void Execute()
{
// Is this all?
someRole.DoStuff(this.anotherRole, this.otherData);
}
}
It seems very simple, so I'm thinking that the Context should be responsible of for example database lookups. Wouldn't that simplify the methodful roles?