Skip to content

Use-Case-NET/RequestR.Extensions.Ninject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RequestR with Ninject

Getting Started

1) Setup Services

Note: Include RequestR.Extensions.Ninject nuget package.

IKernel kernel = new StandardKernel();
kernel.AddRequestBus();

2) Setup the Request Bus

Retrieve the RequestBus instance and call the RegisterAllHandlers() method.

RequestBus requestBus = kernel.Get<RequestBus>();
requestBus.RegisterAllHandlers();

3) Send request

PresentProductsRequest request = new PresentProductsRequest();
MyResponse response = requestBus.Send<MyRequest, MyResponse>(request);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages