/// <summary>
 /// Fills the meta.
 /// </summary>
 /// <param name="meta">The meta.</param>
 /// <param name="blobMeta">The BLOB meta.</param>
 public static void FillMeta(this BinaryStorageMetaData meta, Dictionary<string, string> blobMeta)
 {
     if (meta != null && blobMeta != null)
     {
         meta.Duration = blobMeta.SafeGetValue("duration").ObjectToNullableInt32();
         meta.Height = blobMeta.SafeGetValue("height").ObjectToNullableInt32();
         meta.Width = blobMeta.SafeGetValue("width").ObjectToNullableInt32();
         meta.OwnerKey = blobMeta.SafeGetValue("owner").ObjectToGuid();
     }
 }
 /// <summary>
 /// Adds the specified to.
 /// </summary>
 /// <param name="to">To.</param>
 /// <param name="replacements">The replacements.</param>
 public void Add(string to, Dictionary<string, string> replacements)
 {
     this.To.Add(to);
     foreach (var one in this.Substitution)
     {
         one.Value.Add(replacements.SafeGetValue(one.Key));
     }
 }