Skip to content

Commit 8f36989

Browse files
Fixes warning & XML Comment
- Modify XML Comment - Add missing XML Comment - Remove warning
1 parent d097d9e commit 8f36989

4 files changed

Lines changed: 10 additions & 13 deletions

File tree

IronSoftware.Drawing/IronSoftware.Drawing.Common.Tests/TargetFramework.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ public static string GetAppSettingsValue(string key)
6262
return configValue;
6363
}
6464

65-
public void UnloadAppDomain(AppDomain domain)
66-
{
67-
AppDomain.Unload(domain);
68-
}
69-
7065
public bool IsDotNetCore { get; private set; }
7166

7267
public bool IsFramework { get; private set; }

IronSoftware.Drawing/IronSoftware.Drawing.Common/AnyBitmap.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ public System.IO.MemoryStream ToStream(ImageFormat Format = ImageFormat.Default,
168168
}
169169

170170
/// <summary>
171-
/// Exports the Bitmap as a Func<<see cref="MemoryStream"/>> encoded in the <see cref="ImageFormat"/> of your choice.
171+
/// Exports the Bitmap as a Func<see cref="MemoryStream"/>> encoded in the <see cref="ImageFormat"/> of your choice.
172172
/// <para>Add SkiaSharp, System.Drawing.Common, or SixLabors.ImageSharp to your project to enable the encoding feature.</para>
173173
/// </summary>
174174
/// <param name="Format">An image encoding format.</param>
175175
/// <param name="Lossy">JPEG and WebP encoding quality (ignored for all other values of <see cref="ImageFormat"/>). Higher values return larger file sizes. 0 is lowest quality, 100 is highest.</param>
176-
/// <returns>Transcoded image bytes in a Func<<see cref="MemoryStream"/>>.</returns>
176+
/// <returns>Transcoded image bytes in a Func<see cref="MemoryStream"/>>.</returns>
177177
public Func<Stream> ToStreamFn(ImageFormat Format = ImageFormat.Default, int Lossy = 100)
178178
{
179179
var stream = new System.IO.MemoryStream();
@@ -373,7 +373,7 @@ public AnyBitmap(byte[] Bytes)
373373
/// Create a new Bitmap from a <see cref="Stream"/> (bytes).
374374
/// </summary>
375375
/// <param name="Stream">A <see cref="Stream"/> of image data in any common format.</param>
376-
/// <seealso cref="FromStream"/>
376+
/// <seealso cref="FromStream(Stream)"/>
377377
/// <seealso cref="AnyBitmap"/>
378378
public static AnyBitmap FromStream(System.IO.MemoryStream Stream)
379379
{
@@ -384,7 +384,7 @@ public static AnyBitmap FromStream(System.IO.MemoryStream Stream)
384384
/// Create a new Bitmap from a <see cref="Stream"/> (bytes).
385385
/// </summary>
386386
/// <param name="Stream">A <see cref="Stream"/> of image data in any common format.</param>
387-
/// <seealso cref="FromStream"/>
387+
/// <seealso cref="FromStream(MemoryStream)"/>
388388
/// <seealso cref="AnyBitmap"/>
389389
public static AnyBitmap FromStream(System.IO.Stream Stream)
390390
{
@@ -395,7 +395,7 @@ public static AnyBitmap FromStream(System.IO.Stream Stream)
395395
/// Construct a new Bitmap from a <see cref="Stream"/> (bytes).
396396
/// </summary>
397397
/// <param name="Stream">A <see cref="Stream"/> of image data in any common format.</param>
398-
/// <seealso cref="FromStream"/>
398+
/// <seealso cref="FromStream(Stream)"/>
399399
/// <seealso cref="AnyBitmap"/>
400400
public AnyBitmap(System.IO.MemoryStream Stream)
401401
{
@@ -406,7 +406,7 @@ public AnyBitmap(System.IO.MemoryStream Stream)
406406
/// Construct a new Bitmap from a <see cref="Stream"/> (bytes).
407407
/// </summary>
408408
/// <param name="Stream">A <see cref="Stream"/> of image data in any common format.</param>
409-
/// <seealso cref="FromStream"/>
409+
/// <seealso cref="FromStream(MemoryStream)"/>
410410
/// <seealso cref="AnyBitmap"/>
411411
public AnyBitmap(System.IO.Stream Stream)
412412
{

IronSoftware.Drawing/IronSoftware.Drawing.Common/CropRectangle.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace IronSoftware.Drawing
44
{
5-
// <summary>
6-
/// <para>A universally compatible Rectangle for .NET 7, .NET 6, .NET 5, and .NET Core. As well as compatiblity with Windows, NanoServer, IIS, macOS, Mobile, Xamarin, iOS, Android, Google Compute, Azure, AWS, and Linux.</para>
5+
/// <summary>
6+
/// A universally compatible Rectangle for .NET 7, .NET 6, .NET 5, and .NET Core. As well as compatiblity with Windows, NanoServer, IIS, macOS, Mobile, Xamarin, iOS, Android, Google Compute, Azure, AWS, and Linux.
77
/// <para>Works nicely with popular Image Rectangle such as System.Drawing.Rectangle, SkiaSharp.SKRect, SixLabors.ImageSharp.Rectangle, Microsoft.Maui.Graphics.Rect.</para>
88
/// <para>Implicit casting means that using this class to input and output Rectangle from public API's gives full compatibility to all Rectangle type fully supported by Microsoft.</para>
99
/// </summary>

IronSoftware.Drawing/IronSoftware.Drawing.Common/KnownColor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
namespace IronSoftware.Drawing
22
{
3+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
34
public enum KnownColor
45
{
56
ActiveBorder = 1,
@@ -177,4 +178,5 @@ public enum KnownColor
177178
MenuBar = 173,
178179
MenuHighlight = 174
179180
}
181+
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
180182
}

0 commit comments

Comments
 (0)