Restore SEBPatch
This commit is contained in:
33
SafeExamBrowser.Logging.Contracts/IThreadInfo.cs
Normal file
33
SafeExamBrowser.Logging.Contracts/IThreadInfo.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2024 ETH Zürich, IT Services
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace SafeExamBrowser.Logging.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines information about a thread, to be associated with an <see cref="ILogMessage"/>.
|
||||
/// </summary>
|
||||
public interface IThreadInfo : ICloneable
|
||||
{
|
||||
/// <summary>
|
||||
/// The id of the thread.
|
||||
/// </summary>
|
||||
int Id { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The thread's name.
|
||||
/// </summary>
|
||||
string Name { get; }
|
||||
|
||||
/// <summary>
|
||||
/// A flag indicating whether the thread has a name.
|
||||
/// </summary>
|
||||
bool HasName { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user