public Literal(string lexicalForm, Iri datatype)
 {
     lexicalForm.RequireNonNull("'lexicalForm' parameter must not be null!");
     datatype.RequireNonNull("'datatype' parameter must not be null!");
     LexicalForm = lexicalForm;
     Datatype    = datatype;
     LanguageTag = null;
 }
Exemple #2
0
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }
            if (o == null || GetType() != o.GetType())
            {
                return(false);
            }
            Iri other = (Iri)o;

            return(Equals(_iriInternalValue, other._iriInternalValue));
        }