internal string GoToWork(TurtleContext context) { string results = string.Empty; // Go do some work results = "We went to work"; return results; }
internal string WakeUp(TurtleContext context) { string results; // Start some stuff results = "We started and now we're finished."; return GoToWork(context); }
public static string GoToWork(TurtleContext context) { // TODO: Everything - At least we don't have to ride the train, amirite?? Because I'm a turtle.. string results; TurtlePower turtlePower = new TurtlePower(context); if (context.Arguments.Length == 0) { // No arguments gets info //TODO: results = turtlePower.TurtleInfo(); } else { // Create a turtle chore context.TurtleChore = new TurtleChore(context).CreateTurtleChore(); // Figure out how todo work once we've decided there is work todo results = "error with args \n" + turtlePower.TurtleInfo(); } return results; }
internal TurtlePower(TurtleContext context) { this.context = context; }
// do we have a turtle context internal TurtleEngine() { if (TurtleContext == null) { TurtleContext = new TurtleContext(); } }
/// <summary> /// This is only used to generate reports off a context that already has done a task /// TODO: PaperMonkeyBot - he generates reports out of JSON /// </summary> /// <param name="context"></param> /// <returns></returns> private string PaperMonkey(TurtleContext context) { throw new NotImplementedException(); }
public TurtleSync(TurtleContext context) { Context = context; SetUpTheSink(); }