Class UrbanDictionaryService
Inheritance
System.Object
UrbanDictionaryService
Namespace: CommonBotLibrary.Services
Assembly: cs.temp.dll.dll
Syntax
public class UrbanDictionaryService : IDictionaryService, ISearchable<DefinitionBase>
Methods
GetDefinitionsAsync(String)
Searches urbandictionary.com for definitions that match a given phrase.
Declaration
public Task<IEnumerable<UrbanDictionaryResult>> GetDefinitionsAsync(string phrase)
Parameters
Type | Name | Description |
---|---|---|
System.String | phrase | The phrase to search for. |
Returns
Type | Description |
---|---|
Task<IEnumerable<UrbanDictionaryResult>> | A collection of relevant definitions. |