コード例 #1
0
 public ModelConsistencyCheckVisitor(INodeBuilder nodeBuilder)
 {
     if (nodeBuilder == null)
     {
         throw new ArgumentNullException(nameof(nodeBuilder));
     }
     this.nodeBuilder = nodeBuilder as DefaultNodeBuilder;
     if (this.nodeBuilder == null)
     {
         throw new ArgumentException(@"This argument should be a DefaultNodeBuilder", nameof(nodeBuilder));
     }
 }
コード例 #2
0
 public ModelConsistencyCheckVisitor(INodeBuilder nodeBuilder)
 {
     if (nodeBuilder == null) throw new ArgumentNullException(nameof(nodeBuilder));
     this.nodeBuilder = nodeBuilder as DefaultNodeBuilder;
     if (this.nodeBuilder == null) throw new ArgumentException(@"This argument should be a DefaultNodeBuilder", nameof(nodeBuilder));
 }
コード例 #3
0
ファイル: NodeContainer.cs プロジェクト: psowinski/xenko
 private INodeBuilder CreateDefaultNodeBuilder()
 {
     var nodeBuilder = new DefaultNodeBuilder(this);
     return nodeBuilder;
 }
コード例 #4
0
        private INodeBuilder CreateDefaultNodeBuilder()
        {
            var nodeBuilder = new DefaultNodeBuilder(this);

            return(nodeBuilder);
        }