/// <summary> /// Default-ctor to build an OrderBy modifier of the given flavor on the given variable /// </summary> public RDFOrderByModifier(RDFVariable variable, RDFQueryEnums.RDFOrderByFlavors orderbyFlavor) { if (variable != null) { this.OrderByFlavor = orderbyFlavor; this.Variable = variable; this.ModifierID = RDFModelUtilities.CreateHash(this.ToString()); } else { throw new RDFQueryException("Cannot create RDFOrderByModifier because given \"variable\" parameter is null."); } }
/// <summary> /// Default-ctor to build an OrderBy modifier of the given flavor on the given variable /// </summary> public RDFOrderByModifier(RDFVariable variable, RDFQueryEnums.RDFOrderByFlavors orderbyFlavor) { if (variable != null) { this.OrderByFlavor = orderbyFlavor; this.Variable = variable; } else { throw new RDFQueryException("Cannot create RDFOrderByModifier because given \"variable\" parameter is null."); } }