public static void Main()
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

            var issueTrackerData = new IssueTrackerData();

            // DI: Refactored the code in different classes.
            var issueTracker = new IssueTracker(issueTrackerData);

            // DI: Refactored the code in different classes.
            var dispacher = new Dispatcher(issueTracker);

            // DI: Refactored the code in different classes.
            var engine = new Engine(dispacher);

            engine.Run();
        }
Beispiel #2
0
 protected ActorPrototype(Type actor)
 {
     gc = new GC(actor);
     reentrant = new Reentrant(actor);
     dispatcher = new Dispatcher(actor);
 }