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)); } }
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)); }
private INodeBuilder CreateDefaultNodeBuilder() { var nodeBuilder = new DefaultNodeBuilder(this); return nodeBuilder; }
private INodeBuilder CreateDefaultNodeBuilder() { var nodeBuilder = new DefaultNodeBuilder(this); return(nodeBuilder); }