public CompanyLinkManListPresenter(ICompanyLinkListView listView, Account loginUser) { _contactService = new ChannelFactory <IContactServices>("BasicHttpBinding_ContactServices").CreateChannel(); _View = listView; _LoginUser = loginUser; AttachViewEvent(); }
public HomeController(IContentServices services, IMenuServices menuServices, IConfigSystemServices configSystemServices, IContactServices contactServices) { this._services = services; this._menuServices = menuServices; this._configSystemServices = configSystemServices; this._contactServices = contactServices; }
public HomeController(IProductServices productServices, ICategoryServices category, IContactServices contact, IUserServieces user, IRoleServices role) { _productServices = productServices; _category = category; _contact = contact; _user = user; _role = role; }
public CompanyLinkManAddPresenter(ICompnayLinkManView view, Account loginUser) : base(loginUser) { _contactService = new ChannelFactory <IContactServices>("BasicHttpBinding_ContactServices").CreateChannel(); _View = view; _Utility = new CompanyLinkManUtilityPresenter(_View, loginUser); AttachViewEvent(); }
public ContactsModelBinders(IContactServices contactServices, IAvatarServices avatarServices) { this._contactServices = contactServices; this._avatarServices = avatarServices; this.Contacts = new MvbCollection <Contact>(); this.OnContactReceived = new MvbActions <int>(); base.InitBinder(); }
public App(IContactServices contactServices = null) { this.contactServices = contactServices; InitializeComponent(); MainPage = new NavigationPage(new MainPage()) { BarBackgroundColor = Color.FromHex("#1A1A1A") }; }
public HomeController(ICategoryVideoServices categoryVideoServices, IFeedbackServices feedbackServices, IContentServices services, IMenuServices menuServices, IConfigSystemServices configSystemServices, IVideoServices videoServices, ILanguageServices languageService, IContactServices contactServices, ILienketWebServices lienKetServices) { this._services = services; this._menuServices = menuServices; this._configSystemServices = configSystemServices; this._videoServices = videoServices; this._languageService = languageService; this._feedbackServices = feedbackServices; this._categoryVideoServices = categoryVideoServices; this._contactServices = contactServices; this._lienKetServices = lienKetServices; }
public HomeController( IProductServices productServices, ICategoryServices categoryServices, IUserServices userServices, ICommentServices commentServices, IContactServices contact) { _productServices = productServices; _categoryServices = categoryServices; _userServices = userServices; _commentServices = commentServices; _contact = contact; }
public void Setup() { _contacts = SetUpContacts(); _dbEntities = new Mock <WebApiDbEntities>().Object; _contactRepository = SetUpContactRepository(); var unitOfWork = new Mock <IUnitOfWork>(); unitOfWork.SetupGet(s => s.ContactRepository).Returns(_contactRepository); _unitOfWork = unitOfWork.Object; _contactService = new ContactService(_unitOfWork); _client = new HttpClient { BaseAddress = new Uri(ServiceBaseURL) }; }
public void Setup() { _contacts = SetUpContacts(); _dbEntities = new Mock <ContactsEntities>().Object; _contactRepository = SetUpContactRepository(); var dbOperation = new Mock <DbOperation>(); dbOperation.SetupGet(s => s.ContactRepository).Returns(_contactRepository); _dbOperation = dbOperation.Object; _contactService = new ContactServices(_dbOperation); _client = new HttpClient { BaseAddress = new Uri(ServiceBaseURL) }; }
public void DisposeAllObjects() { _contactService = null; _unitOfWork = null; _contactRepository = null; _contacts = null; if (_response != null) { _response.Dispose(); } if (_client != null) { _client.Dispose(); } }
async Task LoadContacts() { var watch = Stopwatch.StartNew(); IContactServices contactServices = (Application.Current as App).contactServices; contactServices.OnContactLoaded += OnContactLoaded; try { await contactServices.ContactsAsync(); } catch (TaskCanceledException) { Console.WriteLine("Task was cancelled"); } contactServices.OnContactLoaded -= OnContactLoaded; watch.Stop(); var elapsedMs = watch.Elapsed.TotalSeconds; Debug.WriteLine("Tiempo al leer los contactos: " + elapsedMs + " seg"); }
public ContactsController(IContactServices contact) { _contact = contact; }
public ContactController(IContactServices contactServices) { _contactServices = contactServices; }
static ContactPresenter() { _contactService = new ChannelFactory <IContactServices>("BasicHttpBinding_ContactServices").CreateChannel(); }
public ContactsController(IContactServices service) { _service = service; }
public ContactController() { contactServices = new ContactServices(new SmartAudioCityGuideEntities()); }
public ContactController(IContactServices ContactServices) { this._ContactServices = ContactServices; }
public ContactBusinessManager(IContactServices contactServices) { _contactService = contactServices; }
public ContactsController(IContactServices service) { _service = service; }
public ContactController(IContactServices _contactServices) { contactServices = _contactServices; }
public ContactController(IContactServices contactService) { _contactService = contactService; }
public LienHeController(IContactServices services) { this._services = services; }
public void SetUpAll() { contactServices = new ChannelFactory <IContactServices>("BasicHttpBinding_ContactServices").CreateChannel(); }