Example #1
0
 public GreeterController(IGreetService greetService)
 {
     _greetService = greetService;
 }
 public GreeterViewComponent(IGreetService greetService)
 {
     _greetService = greetService;
 }
Example #3
0
 public GreetFunctions(IGreetService greetService, ILogger <GreetFunctions> log)
 {
     this.greetService = greetService;
     this.log          = log;
 }
 public void SetUp()
 {
     greetService = A.Fake <IGreetService>();
     log          = new ListLogger <GreetFunctions>();
 }
Example #5
0
 public HomeController(IRestaurantData restaurantData, IGreetService greetService)
 {
     this._restaurantData = restaurantData;
     this._greetService   = greetService;
 }
Example #6
0
 public GreetingModel(IGreetService greetService)
 {
     _greetService = greetService;
 }