/// <summary> /// Creates a New Blank Node with a user-defined Blank Node ID. /// </summary> /// <param name="nodeId">Node ID to use.</param> /// <returns></returns> public virtual IBlankNode CreateBlankNode(String nodeId) { // try // { // Monitor.Enter(this._bnodemapper); _bnodemapper.CheckID(ref nodeId); return(new BlankNode(this, nodeId)); // } // finally // { // Monitor.Exit(this._bnodemapper); // } }
/// <summary> /// Creates a Blank Node with the given Node ID. /// </summary> /// <param name="nodeId">Node ID.</param> /// <returns></returns> public IBlankNode CreateBlankNode(string nodeId) { _bnodeMap.CheckID(ref nodeId); return(new BlankNode(null, nodeId)); }