Ejemplo 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;
 }
Ejemplo n.º 2
0
 public HomeController(IProductService productService, IWidgetService widgetService, IGizmoService gizmoService)
 {
     _productService = productService;
     _widgetService  = widgetService;
     _gizmoService   = gizmoService;
 }