public ProfileConnect(SinglePredicate subject_predicate, SinglePredicate object_predicate)
        {
            // nodeid, name and uri all required
            if ((subject_predicate.NodeId > 0) == false || subject_predicate.Name.IsNullOrEmpty() || subject_predicate.Uri.IsNullOrEmpty())
            {
                throw new ArgumentException("Subject predicate NodeId, Name and Uri required.");
            }

            if ((object_predicate.NodeId > 0) == false || object_predicate.Name.IsNullOrEmpty() || object_predicate.Uri.IsNullOrEmpty())
            {
                throw new ArgumentException("Object predicate NodeId, Name and Uri required.");
            }

            Subject = subject_predicate;
            Object  = object_predicate;
        }
 public ConceptConnect(SinglePredicate subject_predicate, SinglePredicate object_predicate)
     : base(subject_predicate, object_predicate)
 {
 }
 public SimilarConnect(SinglePredicate subject_predicate, SinglePredicate object_predicate)
     : base(subject_predicate, object_predicate)
 {
 }
        public ProfileConnect(SinglePredicate subject_predicate, SinglePredicate object_predicate)
        {
            // nodeid, name and uri all required
            if ((subject_predicate.NodeId>0)==false || subject_predicate.Name.IsNullOrEmpty() || subject_predicate.Uri.IsNullOrEmpty())
                throw new ArgumentException("Subject predicate NodeId, Name and Uri required.");

            if ((object_predicate.NodeId > 0) == false || object_predicate.Name.IsNullOrEmpty() || object_predicate.Uri.IsNullOrEmpty())
                throw new ArgumentException("Object predicate NodeId, Name and Uri required.");

            Subject = subject_predicate;
            Object = object_predicate;
        }
 public SimilarConnect(SinglePredicate subject_predicate, SinglePredicate object_predicate)
     : base(subject_predicate, object_predicate)
 {
 }
 public CoAuthorConnect(SinglePredicate subject_predicate, SinglePredicate object_predicate)
     : base(subject_predicate, object_predicate)
 {
 }