A correlation Id that can be serialized
 public void Create_Default_Serialized()
 {
     var id = Guid.NewGuid();
     var input = new RedisQueueCorrelationIdSerialized(id);
     var test = new RedisQueueCorrelationId(input);
     Assert.Equal(id.ToString(), test.Id.Value.ToString());
     Assert.True(test.HasValue);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RedisQueueCorrelationId"/> class.
 /// </summary>
 /// <param name="input">The serialized input.</param>
 public RedisQueueCorrelationId(RedisQueueCorrelationIdSerialized input)
 {
     if(input != null)
     {
         _id = input.Id;
         Id = new Setting<Guid>(input.Id);
     }
     else
     {
         _id = Guid.Empty;
         Id = new Setting<Guid>(_id);
     }
 }