refactor(Pdf); rename OutputStream as ExportStream
- rename ToBytes extension method as ExportAsBytes
This commit is contained in:
@@ -12,6 +12,6 @@ namespace EnvelopeGenerator.PdfEditor
|
||||
/// <typeparam name="TPdf"></typeparam>
|
||||
/// <param name="pdf"></param>
|
||||
/// <returns>A new byte array</returns>
|
||||
public static byte[] ToBytes<TPdf>(this TPdf pdf) where TPdf : Pdf<MemoryStream, MemoryStream> => pdf.OutputStream.ToArray();
|
||||
public static byte[] ExportAsBytes<TPdf>(this TPdf pdf) where TPdf : Pdf<MemoryStream, MemoryStream> => pdf.ExportStream().ToArray();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user