Skip to content

Commit

Permalink
Make GetPictureData public as requested in #19
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikHen committed Jan 4, 2024
1 parent 75a0273 commit 33a1b5c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions PictureRenderer/MediaImagesPictureData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace PictureRenderer
{
internal class MediaImagesPictureData : PictureData
public class MediaImagesPictureData : PictureData
{
public IEnumerable<MediaImagePaths> MediaImages { get; set; }
}

internal class MediaImagePaths
public class MediaImagePaths
{
public string ImagePath { get; set; }
public string ImagePathWebp { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion PictureRenderer/PictureData.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace PictureRenderer
{
internal class PictureData
public class PictureData
{
public string SrcSet { get; set; }
public string SrcSetWebp { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion PictureRenderer/PictureRenderer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>3.10</Version>
<Version>3.11</Version>
<Authors>Erik Henningson</Authors>
<Company />
<Product />
Expand Down
2 changes: 1 addition & 1 deletion PictureRenderer/PictureUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace PictureRenderer
{
internal static class PictureUtils
public static class PictureUtils
{
public static PictureData GetPictureData(string imagePath, PictureProfileBase profile, string altText, (double x, double y) focalPoint, string cssClass)
{
Expand Down

0 comments on commit 33a1b5c

Please sign in to comment.