// Constructor public HomeController( IFriendStore FriendStore, IWebHostEnvironment webHostEnvironment ) { friendStore = FriendStore; _webHostEnvironment = webHostEnvironment; }
public MessagesHub( IFriendStore friendStore, IMessageStore messageStore, IUserGroupStore userGroupStore) { FriendStore = friendStore; MessageStore = messageStore; UserGroupStore = userGroupStore; }
public MyFriendAppService( IFriendStore friendStore, IUserChatCardRepository userChatCardRepository) { FriendStore = friendStore; UserChatCardRepository = userChatCardRepository; LocalizationResource = typeof(MessageServiceResource); }
public MessagesHub( IFriendStore friendStore, IMessageStore messageStore, IUserGroupStore userGroupStore, IOptions <AbpIMSignalROptions> options) { FriendStore = friendStore; MessageStore = messageStore; UserGroupStore = userGroupStore; Options = options.Value; }
public FriendClient( IFriendStore friendStore, IHubService hubService ) { this.friendStore = friendStore; this.hubService = hubService; hubService.Connection.On <FriendDto>(nameof(FriendAdded), FriendAdded); hubService.Connection.On <Guid>(nameof(FriendConnected), FriendConnected); hubService.Connection.On <Guid>(nameof(FriendDisconnected), FriendDisconnected); hubService.Connection.On <Guid>(nameof(FriendRemoved), FriendRemoved); hubService.Connection.On <FriendRequestDto>(nameof(ReceiveRequest), ReceiveRequest); hubService.Connection.On <Guid>(nameof(RequestRejected), RequestRejected); hubService.Connection.On <Guid>(nameof(RequestRevoked), RequestRevoked); }
public MessageStore( IFriendStore friendStore, IObjectMapper objectMapper, ICurrentTenant currentTenant, IUnitOfWorkManager unitOfWorkManager, IGroupRepository groupRepository, IMessageRepository messageRepository, IUserChatSettingRepository userChatSettingRepository) { _friendStore = friendStore; _objectMapper = objectMapper; _currentTenant = currentTenant; _unitOfWorkManager = unitOfWorkManager; _groupRepository = groupRepository; _messageRepository = messageRepository; _userChatSettingRepository = userChatSettingRepository; }
public FriendPageViewModel( IFriendStore friendStore, IFriendService friendService, IUserManagerService userManagerService, IDialogService dialogService, IFriendClient friendClient) { this.friendStore = friendStore; this.friendService = friendService; this.userManagerService = userManagerService; this.dialogService = dialogService; this.friendClient = friendClient; SearchFriendCommand = new DelegateCommand(SearchFriend); AddFriendCommand = new DelegateCommand <Guid?>(AddFriend); CancelRequestCommand = new DelegateCommand <Guid?>(CancelRequest); AcceptRequestCommand = new DelegateCommand <Guid?>(AcceptRequest); RejectRequestCommand = new DelegateCommand <Guid?>(RejectRequest); RemoveFriendCommand = new DelegateCommand <Guid?>(RemoveFriend); }
public HomeController(IFriendStore FriendStore, IWebHostEnvironment hostingEnvironment) { _friendStore = FriendStore; _hosting = hostingEnvironment; }