public static ResolutionEntry FromDto(ResolutionEntryDTO dto, bool isMosaic)
 {
     if (isMosaic)
     {
         var alias = new Alias(AliasType.MOSAIC_ID, null, new MosaicId(dto.Resolved.ToUInt64()));
         return(new ResolutionEntry(alias, ReceiptSource.FromDto(dto.Source)));
     }
     else
     {
         var alias = new Alias(AliasType.ADDRESS, Address.CreateFromHex(dto.Resolved.ToUInt64().ToHex()), null);
         return(new ResolutionEntry(alias, ReceiptSource.FromDto(dto.Source)));
     }
 }
 public ResolutionEntry(Alias resolved, ReceiptSource source)
 {
     Resolved = resolved;
     Source   = source;
 }