Refactored QueryFilter to QueryFilterBuilder

This commit is contained in:
Serraniel 2023-03-01 17:26:54 +01:00
parent 742d90bb98
commit 70159b11ba
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ using System.Text;
namespace JpnCardsPokemonSdk.Utils.QueryFilter;
public abstract class AttributedQueryFilter : IQueryFilter
public abstract class AttributedQueryFilterBuilder : IQueryFilterBuilder
{
public string BuildQueryString()
{

View file

@ -1,6 +1,6 @@
namespace JpnCardsPokemonSdk.Utils.QueryFilter;
public class CardQueryFilter : AttributedQueryFilter
public class CardQueryFilterBuilder : AttributedQueryFilterBuilder
{
[QueryFilterName("id")] public int? Id { get; set; }

View file

@ -1,6 +1,6 @@
namespace JpnCardsPokemonSdk.Utils.QueryFilter;
public interface IQueryFilter
public interface IQueryFilterBuilder
{
string BuildQueryString();
}