コード例 #1
0
ファイル: ConfigLogTester.cs プロジェクト: roend83/fubumvc
        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
ファイル: ConfigLogTester.cs プロジェクト: aluetjen/fubumvc
        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
ファイル: FubuRegistry.cs プロジェクト: RobertTheGrey/fubumvc
 private void addExplicit(Action<BehaviorGraph> action)
 {
     var convention = new LambdaConfigurationAction(action);
     _explicits.Add(convention);
 }
コード例 #4
0
ファイル: FubuRegistry.cs プロジェクト: RobertTheGrey/fubumvc
 private void addConvention(Action<BehaviorGraph> action)
 {
     var convention = new LambdaConfigurationAction(action);
     _conventions.Add(convention);
 }