コード例 #1
0
	    /// <summary>
        /// Remove the given ICategorySchemeObjectBase from this container, do nothing if it is not in this container
        /// </summary>
        /// <param name="conceptSchemeObject">ConceptScheme Object </param>
	    public void RemoveConceptScheme(IConceptSchemeObjectBase conceptSchemeObject)
        {
		    this._conceptSchemes.Remove(conceptSchemeObject);
	    }
コード例 #2
0
	    /// <summary>
        /// Add a IConceptSchemeObjectBase to this container, overwrite if one already exists with the same URN
        /// </summary>
        /// <param name="conceptSchemeObject"> ConceptScheme object </param>
	    public void AddConceptScheme(IConceptSchemeObjectBase conceptSchemeObject)
        {
		    if(conceptSchemeObject != null)
            {
			    this._conceptSchemes.Remove(conceptSchemeObject);
			    this._conceptSchemes.Add(conceptSchemeObject);
		    }
	    }