-
-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2740 from hardkoded/v19
V19 to Master
- Loading branch information
Showing
280 changed files
with
1,576 additions
and
1,409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
demos/PuppeteerSharpPdfDemo/PuppeteerSharpPdfDemo-Local.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
using Newtonsoft.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace PuppeteerSharp.DevicesFetcher | ||
{ | ||
public class Device | ||
{ | ||
[JsonProperty("userAgent")] | ||
[JsonPropertyName("userAgent")] | ||
public string UserAgent { get; set; } | ||
[JsonProperty("name")] | ||
[JsonPropertyName("name")] | ||
public string Name { get; set; } | ||
[JsonProperty("viewport")] | ||
[JsonPropertyName("viewport")] | ||
public ViewPort Viewport { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
using Newtonsoft.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace PuppeteerSharp.DevicesFetcher | ||
{ | ||
public class ViewPort | ||
{ | ||
[JsonProperty("width")] | ||
[JsonPropertyName("width")] | ||
public int Width { get; set; } | ||
[JsonProperty("height")] | ||
[JsonPropertyName("height")] | ||
public int Height { get; set; } | ||
|
||
[JsonProperty("deviceScaleFactor")] | ||
[JsonPropertyName("deviceScaleFactor")] | ||
public double DeviceScaleFactor { get; set; } | ||
|
||
[JsonProperty("isMobile")] | ||
[JsonPropertyName("isMobile")] | ||
public bool IsMobile { get; set; } | ||
[JsonProperty("hasTouch")] | ||
[JsonPropertyName("hasTouch")] | ||
public bool HasTouch { get; set; } | ||
[JsonProperty("isLandscape")] | ||
[JsonPropertyName("isLandscape")] | ||
public bool IsLandscape { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.