2025-05-21 09:23:29 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Obfuz
|
|
|
|
|
{
|
2025-05-21 13:33:03 +08:00
|
|
|
|
|
2025-05-21 09:23:29 +08:00
|
|
|
|
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
|
|
|
|
|
public class ObfuzIgnoreAttribute : Attribute
|
|
|
|
|
{
|
2025-05-21 13:33:03 +08:00
|
|
|
|
public ObfuzScope Scope { get; set; }
|
|
|
|
|
|
2025-05-26 19:22:55 +08:00
|
|
|
|
public bool ApplyToNestedTypes { get; set; } = true;
|
|
|
|
|
|
2025-05-29 22:20:27 +08:00
|
|
|
|
public bool ApplyToChildTypes { get; set; } = false;
|
|
|
|
|
|
2025-05-21 13:33:03 +08:00
|
|
|
|
public ObfuzIgnoreAttribute(ObfuzScope scope = ObfuzScope.All)
|
|
|
|
|
{
|
|
|
|
|
this.Scope = scope;
|
|
|
|
|
}
|
2025-05-21 09:23:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|