private void InitQuery(IEnumerable <IPrefix> prefixes) { if (_commandText == null) { _visitedComponents = new VisitedComponentCollection(_commandText = new StringBuilder(1024)); } if (prefixes == null) { _commandText.Append("{ "); } else { VisitComponent(new Prefix("xsd", new Uri(Vocabularies.Xsd.BaseUri))); foreach (var prefix in prefixes) { VisitComponent(prefix); } } }
private void InitQuery(IEnumerable<Prefix> prefixes) { if (_commandText == null) { _visitedComponents = new VisitedComponentCollection(_commandText = new StringBuilder(1024)); } if (prefixes == null) { _commandText.Append("{ "); } else { VisitComponent(new Prefix("xsd", new Uri(Vocabularies.Xsd.BaseUri))); foreach (Prefix prefix in prefixes) { VisitComponent(prefix); } } }