SearchQuery Class

Represents a search query of the http://freehardmusic.com/ website, that is managed by the FetchAlbums and FetchAlbumsAsync methods.

Note that a search query can be performed in two different ways:

1. An artist-name based search (Artist).

2. A non-artist name based search. That is, a custom search based on country (Country), genre (Genre) or year criterias (Year); this kind of search can combine the three mentioned criterias, but not the artist name (Artist).

So, for an artist-name based search, the value of Country, Genre and Year properties will always be set to "all".

And for a country, genre or year based search, the value of Artist property will always be set to an empty string.

Definition

Namespace: DevCase.ThirdParty.FreeHardMusic
Assembly: DevCase.net48.ThirdParty.FreeHardMusic (in DevCase.net48.ThirdParty.FreeHardMusic.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class SearchQuery
Inheritance
Object    SearchQuery

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

HtmlAgilityPack

Constructors

SearchQuery(String) Initializes a new instance of the SearchQuery class.
SearchQuery(String, String, String) Initializes a new instance of the SearchQuery class.

Properties

Artist Gets or sets the artist name.
Country Gets or sets the country of the band/artist.
Genre Gets or sets the music genre.
Uri Gets the Uri that represents this search query.
UriInt32 Gets the Uri that represents this search query.
Year Gets or sets the year that the album has been released.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
Reset Resets the current search query to its default values.
ToString Returns a String that represents the search query.
(Overrides ObjectToString)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also