public void define(string options) { System.Diagnostics.Debug.WriteLine("We are here"); string word = JsonHelper.Deserialize<string[]>(options)[0]; DictServiceSoapClient serviceClient = new DictServiceSoapClient(); serviceClient.DefineCompleted += new EventHandler<DefineCompletedEventArgs>(getMeanings); serviceClient.DefineAsync(word); }
public void define(string options) { System.Diagnostics.Debug.WriteLine("We are here"); string word = JsonHelper.Deserialize <string[]>(options)[0]; DictServiceSoapClient serviceClient = new DictServiceSoapClient(); serviceClient.DefineCompleted += new EventHandler <DefineCompletedEventArgs>(getMeanings); serviceClient.DefineAsync(word); }
public async Task <WordDefinition> Execute(FindDefinitionQuery query) { return(await dictServiceClient.DefineAsync(query.SearchWord)); }