feat: add attribute for required configuration

This commit is contained in:
Polianin Nikita 2024-05-28 06:36:18 +03:00
parent c06ed8b479
commit 41689bca7f

View File

@ -0,0 +1,8 @@
using System;
namespace Mirea.Api.Endpoint.Configuration.General.Attributes;
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class RequiredSettingsAttribute : Attribute;
// todo: only with IIsConfigured. If possible add Roslyn Analyzer later