mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-16 23:13:07 +01:00
Change visibility of command bases from internal to public
This commit is contained in:
parent
303f27e1b3
commit
eebef48a7b
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
namespace IF.Lastfm.Core.Api.Commands
|
namespace IF.Lastfm.Core.Api.Commands
|
||||||
{
|
{
|
||||||
internal abstract class GetAsyncCommandBase<T> : LastAsyncCommandBase<T> where T : LastResponse, new()
|
public abstract class GetAsyncCommandBase<T> : LastAsyncCommandBase<T> where T : LastResponse, new()
|
||||||
{
|
{
|
||||||
protected GetAsyncCommandBase(ILastAuth auth)
|
protected GetAsyncCommandBase(ILastAuth auth)
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
namespace IF.Lastfm.Core.Api.Commands
|
namespace IF.Lastfm.Core.Api.Commands
|
||||||
{
|
{
|
||||||
internal interface IAsyncCommand<T> where T : LastResponse, new()
|
public interface IAsyncCommand<T> where T : LastResponse, new()
|
||||||
{
|
{
|
||||||
Task<T> ExecuteAsync();
|
Task<T> ExecuteAsync();
|
||||||
}
|
}
|
||||||
|
@ -9,12 +9,12 @@ namespace IF.Lastfm.Core.Api.Commands
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Having this type makes reflection easier - there probably isn't any other need for it
|
/// Having this type makes reflection easier - there probably isn't any other need for it
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal abstract class LastAsyncCommandBase
|
public abstract class LastAsyncCommandBase
|
||||||
{
|
{
|
||||||
public string Method { get; protected set; }
|
public string Method { get; protected set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal abstract class LastAsyncCommandBase<T> : LastAsyncCommandBase, IAsyncCommand<T> where T : LastResponse, new()
|
public abstract class LastAsyncCommandBase<T> : LastAsyncCommandBase, IAsyncCommand<T> where T : LastResponse, new()
|
||||||
{
|
{
|
||||||
public Uri Url { get; protected set; }
|
public Uri Url { get; protected set; }
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace IF.Lastfm.Core.Api.Commands
|
namespace IF.Lastfm.Core.Api.Commands
|
||||||
{
|
{
|
||||||
internal abstract class PostAsyncCommandBase<T> : LastAsyncCommandBase<T> where T : LastResponse, new()
|
public abstract class PostAsyncCommandBase<T> : LastAsyncCommandBase<T> where T : LastResponse, new()
|
||||||
{
|
{
|
||||||
protected PostAsyncCommandBase(ILastAuth auth)
|
protected PostAsyncCommandBase(ILastAuth auth)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user