// Token: 0x06001341 RID: 4929 RVA: 0x0004F67C File Offset: 0x0004D87C public PreviewPhotoUploadHandler(IMailboxSession session, IMailboxPhotoReader reader, IMailboxPhotoWriter writer, IPhotoEditor editor, ITracer upstreamTracer) { if (session == null) { throw new ArgumentNullException("session"); } if (reader == null) { throw new ArgumentNullException("reader"); } if (writer == null) { throw new ArgumentNullException("writer"); } if (editor == null) { throw new ArgumentNullException("editor"); } if (upstreamTracer == null) { throw new ArgumentNullException("upstreamTracer"); } this.tracer = ExTraceGlobals.UserPhotosTracer.Compose(upstreamTracer); this.session = session; this.reader = reader; this.writer = writer; this.editor = editor; }
public MailboxPhotoHandler(PhotosConfiguration configuration, string clientInfo, IMailboxPhotoReader reader, IRecipientSession recipientSession, ITracer upstreamTracer, IXSOFactory xsoFactory) { ArgumentValidator.ThrowIfNull("configuration", configuration); ArgumentValidator.ThrowIfNullOrEmpty("clientInfo", clientInfo); ArgumentValidator.ThrowIfNull("reader", reader); ArgumentValidator.ThrowIfNull("recipientSession", recipientSession); ArgumentValidator.ThrowIfNull("upstreamTracer", upstreamTracer); ArgumentValidator.ThrowIfNull("xsoFactory", xsoFactory); this.tracer = ExTraceGlobals.UserPhotosTracer.Compose(upstreamTracer); this.configuration = configuration; this.xsoFactory = xsoFactory; this.reader = reader; this.clientInfo = clientInfo; this.recipientSession = recipientSession; }