Beispiel #1
0
        public void SetUp()
        {
            source1 = new LambdaConfigurationAction(g => { });
            theLog = new ConfigLog();

            node = new TracedNode();
            node.Trace("something");
            node.Trace("else");

            node2 = new TracedNode();

            theConfigSource = theLog.StartSource(source1);
            theLog.RecordEvents(node);
            theLog.RecordEvents(node2);
        }
Beispiel #2
0
        public void SetUp()
        {
            source1 = new LambdaConfigurationAction(g => { });
            theLog = new ConfigLog(null);
            theChain = new BehaviorChain();

            node = new TracedNode();
            node.Trace("something");
            node.Trace("else");

            node2 = new TracedNode();

            theConfigSource = theLog.StartSource(new FubuRegistry(), source1);
            theLog.RecordEvents(theChain, node);
            theLog.RecordEvents(theChain, node2);
        }
Beispiel #3
0
 private void addExplicit(Action<BehaviorGraph> action)
 {
     var convention = new LambdaConfigurationAction(action);
     _explicits.Add(convention);
 }
Beispiel #4
0
 private void addConvention(Action<BehaviorGraph> action)
 {
     var convention = new LambdaConfigurationAction(action);
     _conventions.Add(convention);
 }