2025-05-21 09:23:29 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
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-25 12:42:38 +08:00
|
|
|
|
public bool ApplyToMembers { get; set; } = true;
|
2025-05-21 16:24:26 +08:00
|
|
|
|
|
2025-05-26 19:22:55 +08:00
|
|
|
|
public bool ApplyToNestedTypes { get; set; } = true;
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|