/* * SPDX-License-Identifier: AGPL-3.0-or-later * Copyright (C) 2025 Sergej Görzen * This file is part of OmiLAXR. */ namespace OmiLAXR { /// /// Attribute used to mark fields with action names. /// Can be applied multiple times to the same field. /// [System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple = true)] public sealed class ActionAttribute : System.Attribute { /// /// The name of the action associated with this attribute. /// public readonly string Name; /// /// Initializes a new instance of the ActionAttribute class. /// /// The name of the action to be associated with the marked field. public ActionAttribute(string name) { Name = name; } } }