Esempio n. 1
0
 public FooC(IGizmoService gizmoService)
 {
     Trace.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} #{1} {2}", this.GetType().Name, this.GetHashCode(), ".ctor, got gizmoService #" + gizmoService.GetHashCode()));
     this.gizmoService = gizmoService;
 }
 public HomeController(IProductService productService, IWidgetService widgetService, IGizmoService gizmoService)
 {
     _productService = productService;
     _widgetService  = widgetService;
     _gizmoService   = gizmoService;
 }