コード例 #1
0
        public static RDFClassCollection CreateFromSparql(IEnumerable <SparqlResult> toAdd)
        {
            RDFClassCollection res = new RDFClassCollection();

            res.PopulateFromSparql(toAdd);
            return(res);
        }
コード例 #2
0
 public void AddParent(RDFClass parent)
 {
     if (parents == null)
     {
         parents = new RDFClassCollection();
     }
     parents.Add(parent);
 }
コード例 #3
0
 public void AddChild(RDFClass child)
 {
     if (children == null)
     {
         children = new RDFClassCollection();
     }
     children.Add(child);
 }