blob: 93136956995cff9abf8f50dd33deb3c82ea46a4a [file] [log] [blame]
using BaSys40.Models.Core.Extensions.References;
using System;
namespace BaSys40.Models.Core.Attributes
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Interface, Inherited = true, AllowMultiple = true)]
public sealed class ExportAsReferenceAttribute : Attribute
{
readonly KeyElements keyElement;
public ExportAsReferenceAttribute(KeyElements keyElement)
{
this.keyElement = keyElement;
}
public KeyElements KeyElement
{
get { return keyElement; }
}
public bool JsonSchemaIgnore { get; set; } = false;
}
}