Refactor: standardize namespace and using directive style
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
This commit is contained in:
@@ -2,36 +2,34 @@
|
||||
// Copyright (c) PlaceholderCompany. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
using System;
|
||||
namespace MediaBrowser.Model.Tasks;
|
||||
using global::System;
|
||||
|
||||
namespace MediaBrowser.Model.Tasks
|
||||
{
|
||||
/// <summary>
|
||||
/// Class containing event arguments for task completion.
|
||||
/// </summary>
|
||||
public class TaskCompletionEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TaskCompletionEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <param name="task">Instance of the <see cref="IScheduledTaskWorker"/> interface.</param>
|
||||
/// <param name="result">The task result.</param>
|
||||
public TaskCompletionEventArgs(IScheduledTaskWorker task, TaskResult result)
|
||||
{
|
||||
Task = task;
|
||||
Result = result;
|
||||
}
|
||||
/// <summary>
|
||||
/// Class containing event arguments for task completion.
|
||||
/// </summary>
|
||||
public class TaskCompletionEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TaskCompletionEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <param name="task">Instance of the <see cref="IScheduledTaskWorker"/> interface.</param>
|
||||
/// <param name="result">The task result.</param>
|
||||
public TaskCompletionEventArgs(IScheduledTaskWorker task, TaskResult result)
|
||||
{
|
||||
Task = task;
|
||||
Result = result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the task.
|
||||
/// </summary>
|
||||
/// <value>The task.</value>
|
||||
public IScheduledTaskWorker Task { get; }
|
||||
/// <summary>
|
||||
/// Gets the task.
|
||||
/// </summary>
|
||||
/// <value>The task.</value>
|
||||
public IScheduledTaskWorker Task { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the result.
|
||||
/// </summary>
|
||||
/// <value>The result.</value>
|
||||
public TaskResult Result { get; }
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the result.
|
||||
/// </summary>
|
||||
/// <value>The result.</value>
|
||||
public TaskResult Result { get; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user