C# Class DiscoverNancy.Web.ModuleWithTwoDependencies

Inheritance: Nancy.NancyModule
ファイルを表示 Open project: marcusoftnet/DiscoveringNancyThroughTests

Public Methods

Method Description
ModuleWithTwoDependencies ( ) : System

This constructor is just here since other tests that used DefaultNancyBootstrapper is scanning all the assemblies and fails on this module that needs a dependency

ModuleWithTwoDependencies ( ICustomerRepository customerRepository, IOrderRepository orderRepository ) : System

Private Methods

Method Description
OrdersAndCustomers ( ) : string

Method Details

ModuleWithTwoDependencies() public method

This constructor is just here since other tests that used DefaultNancyBootstrapper is scanning all the assemblies and fails on this module that needs a dependency
public ModuleWithTwoDependencies ( ) : System
return System

ModuleWithTwoDependencies() public method

public ModuleWithTwoDependencies ( ICustomerRepository customerRepository, IOrderRepository orderRepository ) : System
customerRepository ICustomerRepository
orderRepository IOrderRepository
return System