public override void FixtureInit() { XmlElementPath path = new XmlElementPath(); path.Elements.Add(new QualifiedName("foo", "http://foo.com")); attributeValues = SchemaCompletionData.GetAttributeValueCompletionData(path, "id"); }
async Task Init() { if (attributeValues != null) { return; } XmlElementPath path = new XmlElementPath(); path.Elements.Add(new QualifiedName("foo", "http://foo.com")); attributeValues = await SchemaCompletionData.GetAttributeValueCompletionData(path, "id", CancellationToken.None); }