Change visibility of command bases from internal to public

This commit is contained in:
Rikki Tooley 2014-11-01 12:46:24 +00:00
parent 303f27e1b3
commit eebef48a7b
4 changed files with 5 additions and 5 deletions

View File

@ -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)
{ {

View File

@ -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();
} }

View File

@ -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; }

View File

@ -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)
{ {