コード例 #1
0
        public object Clone()
        {
            MemoryTripleStore theClone = new MemoryTripleStore();

            theClone.itsNamedResources      = (Hashtable)itsNamedResources.Clone();
            theClone.itsResourceDenotations = (Hashtable)itsResourceDenotations.Clone();
            theClone.itsResourceStatements  = (Hashtable)itsResourceStatements.Clone();
            return(theClone);
        }
コード例 #2
0
 public ConciseBoundedDescription(Node denotingNode)
 {
     itsStore    = new MemoryTripleStore();
     itsResource = itsStore.GetResourceDenotedBy(denotingNode);
 }
コード例 #3
0
 public ConciseBoundedDescription(Resource resource)
 {
     itsResource = resource;
     itsStore    = new MemoryTripleStore();
 }