public EnvelopeQuarantine(IEnvelopeStreamer streamer, TypedMessageSender writer, IStreamContainer root) { _streamer = streamer; _writer = writer; _root = root; _root.Create(); }
void PerformLogging(Guid id, string error) { _container.Create(); const string format = "{0:yyyy-MM-dd-HH-mm}-{1}-web.txt"; var uri = string.Format(format, DateTime.UtcNow, id.ToString().ToLowerInvariant()); var blob = _container.GetItem(uri); blob.WriteText(error);; }