예제 #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);
        }
예제 #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);
        }
예제 #3
0
 private void addExplicit(Action<BehaviorGraph> action)
 {
     var convention = new LambdaConfigurationAction(action);
     _explicits.Add(convention);
 }
예제 #4
0
 private void addConvention(Action<BehaviorGraph> action)
 {
     var convention = new LambdaConfigurationAction(action);
     _conventions.Add(convention);
 }