mirror of
https://github.com/bitwarden/server.git
synced 2025-06-07 03:30:32 -05:00
Created LicenseIgnoreAttribute
This commit is contained in:
parent
ef30464c13
commit
18e13fd480
@ -0,0 +1,12 @@
|
||||
namespace Bit.Core.Billing.Licenses.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
||||
public class LicenseIgnoreAttribute(bool includeInHash = true) : Attribute
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// If true, the property will be included when computing the license hash, but ignored for other operations.
|
||||
/// If false, the property will be completely ignored including for hash computation.
|
||||
/// </summary>
|
||||
public bool IncludeInHash { get; } = includeInHash;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user