mirror of
https://github.com/bitwarden/server.git
synced 2025-05-22 20:11:04 -05:00
Created LicenseIgnoreAttribute
This commit is contained in:
parent
ea2ed551cc
commit
59c1994fde
@ -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