/// <summary> /// Adds the given element to the collection /// </summary> /// <param name="item">The item to add</param> public override void Add(NMF.Models.IModelElement item) { if ((this._parent.Frontend == null)) { IHTTP frontendCasted = item.As <IHTTP>(); if ((frontendCasted != null)) { this._parent.Frontend = frontendCasted; return; } } }
public MailController(IHTTP hTTP, IConfiguration configuration) { _hTTP = hTTP; _configuration = configuration; }