public GeneralQueueStorage(IRecorder recorder, IQueueository queueository) { recorder.GuardAgainstNull(nameof(recorder)); queueository.GuardAgainstNull(nameof(queueository)); this.recorder = recorder; this.queueository = queueository; this.queueName = typeof(TMessage).GetEntityNameSafe(); }
protected AnyQueueositoryBaseSpec(IQueueository queueository) { var container = new Container(); container.AddSingleton(Recorder); this.queueo = new QueueoInfo { Queueository = queueository, QueueName = typeof(TestRepositoryEntity).GetEntityNameSafe() }; this.queueo.Queueository.DestroyAll(this.queueo.QueueName); }