SHA256
Suppress Unused Warning in API Classes
This commit is contained in:
1 parent
838b0fccfd
commit
2d88a0d99c
2 files changed
+10
-7
No files matched your search
+8
-7
@@ -1,12 +1,14 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace ADOFAIRenderer.API
|
namespace ADOFAIRenderer.API;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Represents the result and metadata of a completed or cancelled render session.
|
||||||
|
/// </summary>
|
||||||
|
[SuppressMessage("ReSharper", "UnusedType.Global")]
|
||||||
|
public class RenderResult
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// Represents the result and metadata of a completed or cancelled render session.
|
|
||||||
/// </summary>
|
|
||||||
public class RenderResult
|
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indicates whether the rendering session completed successfully.
|
/// Indicates whether the rendering session completed successfully.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -66,5 +68,4 @@ namespace ADOFAIRenderer.API
|
|||||||
? $"[RenderResult: Success, Output={OutputPath}, Frames={TotalFrames}, VideoDuration={VideoDuration:F2}s, Time={RenderDuration.TotalSeconds:F1}s, Size={FileSizeBytes / 1024.0 / 1024.0:F2}MB]"
|
? $"[RenderResult: Success, Output={OutputPath}, Frames={TotalFrames}, VideoDuration={VideoDuration:F2}s, Time={RenderDuration.TotalSeconds:F1}s, Size={FileSizeBytes / 1024.0 / 1024.0:F2}MB]"
|
||||||
: $"[RenderResult: Failed/Cancelled, Error={ErrorMessage ?? "Unknown"}]";
|
: $"[RenderResult: Failed/Cancelled, Error={ErrorMessage ?? "Unknown"}]";
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using ADOFAIRenderer.Core;
|
using ADOFAIRenderer.Core;
|
||||||
using ADOFAIRenderer.Data;
|
using ADOFAIRenderer.Data;
|
||||||
@@ -9,6 +10,7 @@ namespace ADOFAIRenderer.API;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Fluent builder for configuring and starting a render session.
|
/// Fluent builder for configuring and starting a render session.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[SuppressMessage("ReSharper", "UnusedType.Global")]
|
||||||
public class RenderSession
|
public class RenderSession
|
||||||
{
|
{
|
||||||
private bool _auto = true;
|
private bool _auto = true;
|
||||||
|
|||||||
Reference in new issue
Block a user