/// <summary> /// Initializes a new instance of the <see cref="ContactListViewModel"/> class. /// </summary> /// <param name="acceptContactInteractor"> /// The accept Contact Interactor. /// </param> /// <param name="declineContactInteractor"> /// The decline Contact Interactor. /// </param> /// <param name="viewCellObject"> /// The view cell object. /// </param> /// <param name="contact"> /// The contact. /// </param> public ContactListViewModel( IUsecaseInteractor <AcceptContactRequest, AcceptContactResponse> acceptContactInteractor, IUsecaseInteractor <DeclineContactRequest, DeclineContactResponse> declineContactInteractor, ViewCellObject viewCellObject, Contact contact) { this.ViewCellObject = viewCellObject; this.Contact = contact; this.AcceptContactInteractor = acceptContactInteractor; this.DeclineContactInteractor = declineContactInteractor; }
public AddContactViewModel(IUsecaseInteractor <AddContactRequest, AddContactResponse> addContactInteractor) { this.QrSource = UserService.CurrentUser.PublicKeyAddress; this.AddContactInteractor = addContactInteractor; }
public UserFactory(IUsecaseInteractor <CreateUserRequest, CreateUserResponse> createUserInteractor) { this.CreateUserInteractor = createUserInteractor; }