mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-11 05:35:15 +00:00
19 lines
564 B
C#
19 lines
564 B
C#
#if NET20 || NET35 || NET40
|
|
|
|
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
|
|
namespace BinaryObjectScanner
|
|
{
|
|
/// <summary>Defines a provider for progress updates.</summary>
|
|
/// <typeparam name="T">The type of progress update value.</typeparam>
|
|
public interface IProgress<in T>
|
|
{
|
|
/// <summary>Reports a progress update.</summary>
|
|
/// <param name="value">The value of the updated progress.</param>
|
|
void Report(T value);
|
|
}
|
|
}
|
|
|
|
#endif
|