public MessageKeysBySubscription(string connectionString, IEntityById entityById, IMessageKeysByTopic messageByTopic, IMessageKeysByGroup messageByGroup) : base(connectionString) { this.entityById = entityById; this.messageByTopic = messageByTopic; this.messageByGroup = messageByGroup; }
private MessageKeysBySubscription CreateQuery( IEntityById entityById = null, IMessageKeysByGroup messageKeysByGroup = null, IMessageKeysByTopic messageKeysByTopic = null) { return new MessageKeysBySubscription(base.connectionString, entityById ?? Mock.Of<IEntityById>(), messageKeysByTopic ?? Mock.Of<IMessageKeysByTopic>(), messageKeysByGroup ?? Mock.Of<IMessageKeysByGroup>()); }
private MessageKeysBySubscription CreateQuery( IEntityById entityById = null, IMessageKeysByGroup messageKeysByGroup = null, IMessageKeysByTopic messageKeysByTopic = null) { return(new MessageKeysBySubscription(base.connectionString, entityById ?? Mock.Of <IEntityById>(), messageKeysByTopic ?? Mock.Of <IMessageKeysByTopic>(), messageKeysByGroup ?? Mock.Of <IMessageKeysByGroup>())); }
public MessagesResource( ICreateMessageCommand createMessageCommand, IMessageKeysByTopic messageKeysByTopic, IMessageKeysByGroup messageKeysByGroup, IMessageKeysBySubscription messageKeysBySubscription) { this.createMessageCommand = createMessageCommand; this.messageKeysBySubscription = messageKeysBySubscription; this.messageKeysByTopic = messageKeysByTopic; this.messageKeysByGroup= messageKeysByGroup; }
public MessagesResource( ICreateMessageCommand createMessageCommand, IMessageKeysByTopic messageKeysByTopic, IMessageKeysByGroup messageKeysByGroup, IMessageKeysBySubscription messageKeysBySubscription) { this.createMessageCommand = createMessageCommand; this.messageKeysBySubscription = messageKeysBySubscription; this.messageKeysByTopic = messageKeysByTopic; this.messageKeysByGroup = messageKeysByGroup; }