File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.PdfReader Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -321,25 +321,25 @@ public virtual async Task ShowPdf(string localFileName)
321321 /// </summary>
322322 /// <param name="stream"></param>
323323 /// <param name="forceLoad">default true</param>
324- /// <param name="islocalFile "></param>
324+ /// <param name="isLocalFile "></param>
325325 /// <returns></returns>
326- public virtual async Task ShowPdf ( Stream stream , bool forceLoad = true , bool islocalFile = false )
326+ public virtual async Task ShowPdf ( Stream stream , bool forceLoad = true , bool isLocalFile = false )
327327 {
328328 if ( Module == null )
329329 {
330330 Stream = stream ;
331331 }
332- else if ( islocalFile )
332+ else if ( isLocalFile )
333333 {
334334 if ( forceLoad )
335335 {
336336 streamCache = new byte [ stream . Length ] ;
337- stream . Read ( streamCache , 0 , ( int ) stream . Length ) ;
337+ _ = stream . Read ( streamCache , 0 , ( int ) stream . Length ) ;
338338 }
339339 if ( streamCache == null )
340340 {
341341 streamCache = new byte [ stream . Length ] ;
342- stream . Read ( streamCache , 0 , ( int ) stream . Length ) ;
342+ _ = stream . Read ( streamCache , 0 , ( int ) stream . Length ) ;
343343 }
344344 if ( streamCache != null )
345345 {
You can’t perform that action at this time.
0 commit comments