とりあえず
This commit is contained in:
commit
e1c9354512
17 files changed
+2111
No files matched your search
@@ -0,0 +1,37 @@
|
||||
namespace WebImageViewer.Class.Models;
|
||||
|
||||
/// <summary>
|
||||
/// ギャラリー内の各画像情報を保持するモデル
|
||||
/// </summary>
|
||||
public class ImageInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// ページ番号(1始まり)
|
||||
/// </summary>
|
||||
public int PageNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 画像のURL
|
||||
/// </summary>
|
||||
public string ImageUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// サムネイル画像のURL(未設定の場合はImageUrlと同じ)
|
||||
/// </summary>
|
||||
public string? ThumbnailUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 画像の代替テキスト
|
||||
/// </summary>
|
||||
public string? AltText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 画像の横幅(取得できた場合)
|
||||
/// </summary>
|
||||
public int? Width { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 画像の高さ(取得できた場合)
|
||||
/// </summary>
|
||||
public int? Height { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user