using System;
namespace PepperDash.Essentials;
///
/// Indicates whether the assembly is compatible with .NET 8.
///
/// This attribute is used to specify compatibility with .NET 8 for an assembly. By default, the
/// assembly is considered compatible unless explicitly marked otherwise.
/// A boolean value indicating whether the assembly is compatible with .NET 8. The default value is .
[AttributeUsage(AttributeTargets.Assembly)]
public class Net8CompatibleAttribute(bool isCompatible = true) : Attribute
{
///
/// Gets a value indicating whether the current object is compatible with the required conditions.
///
public bool IsCompatible { get; } = isCompatible;
}