ActivityChangedEventArgs
Provides data for the CurrentChanged event.
using System.Runtime.CompilerServices;
namespace System.Diagnostics
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct ActivityChangedEventArgs
{
public Activity Previous { get; set; }
public Activity Current { get; set; }
internal ActivityChangedEventArgs(Activity previous, Activity current)
{
Previous = previous;
Current = current;
}
}
}