/// <summary> /// Initializes a new instance of the <see cref="ZreMailboxFactory"/> class. /// </summary> /// <param name="broadcastFactory">The broadcast factory.</param> public ZreMailboxFactory(IZreBroadcastFactory broadcastFactory = null) { _broadcastFactory = broadcastFactory ?? new ZreBroadcastFactory(); }
/// <summary> /// Initializes a new instance of the <see cref="ZreMailbox"/> class. /// </summary> /// <param name="broadcastFactory">The broadcast factory.</param> /// <param name="uuid">The UUID.</param> public ZreMailbox(IZreBroadcastFactory broadcastFactory, Guid? uuid = null) { _broadcastFactory = broadcastFactory; _uuid = uuid ?? Guid.NewGuid(); }