using System;
namespace Confuser.Core {
///
/// Indicates the must initialize before the specified protections.
///
[AttributeUsage(AttributeTargets.Class)]
public class BeforeProtectionAttribute : Attribute {
///
/// Initializes a new instance of the class.
///
/// The full IDs of the specified protections.
public BeforeProtectionAttribute(params string[] ids) {
Ids = ids;
}
///
/// Gets the full IDs of the specified protections.
///
/// The IDs of protections.
public string[] Ids { get; private set; }
}
///
/// Indicates the must initialize after the specified protections.
///
[AttributeUsage(AttributeTargets.Class)]
public class AfterProtectionAttribute : Attribute {
///
/// Initializes a new instance of the class.
///
/// The full IDs of the specified protections.
public AfterProtectionAttribute(params string[] ids) {
Ids = ids;
}
///
/// Gets the full IDs of the specified protections.
///
/// The IDs of protections.
public string[] Ids { get; private set; }
}
}