/// <summary> /// Initializes a new instance of the <see cref="ProductController"/> class. /// </summary> /// <param name="productCreationService">The <see cref="IProductCreationService"/> dependency.</param> /// <param name="productEditService">The <see cref="IProductEditService"/> dependency.</param> /// <param name="productFilterService">The <see cref="IProductFilterService"/> dependency.</param> /// <param name="observerManager">The <see cref="IObserverManager"/> dependency.</param> public ProductController( IProductCreationService productCreationService, IProductEditService productEditService, IProductFilterService productFilterService, IObserverManager observerManager) { this.productEditService = productEditService; this.productCreationService = productCreationService; this.filterService = productFilterService; this.observerManager = observerManager; }
public SomeClass(IObserverManager oManager, IStrategyResolver sResolver) { this.observerManager = oManager; this.strategyResolver = sResolver; }
/// <summary> /// Initializes a new instance of the <see cref="ChangeNotificationBusinessRule"/> class. /// </summary> /// <param name="observerManager">The <see cref="IObserverManager"/> dependency.</param> public ChangeNotificationBusinessRule(IObserverManager observerManager) => this.observerManager = observerManager;
public MyService(IObserverManager obsManager) { this.observerManager = obsManager; }