Skip to content
ReneWiersmaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Queries

This Queries library provides generic IQuery interfaces.

Installation

Available on nuget

PM> Install-Package ReneWiersma.Queries

Example of IQuery implementation

public class ExampleQuery : IQuery<string>
{
    public string Execute()
    {
        return "Some value";
    }
}

Example of IQuery implementation with input paramater

The IQuery supports only one input parameter. If a query needs multiple input parameters, bundle them in a Parameter object.

public class ExampleInputQuery : IQuery<int, string>
{
    public string Execute(int number)
    {
        return $"Here are {number} values";
    }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages