//
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace MUnique.OpenMU.PlugIns;
///
/// An attribute which describes a plugin interface and its point.
/// May be helpful for debugging and the user interface.
/// A proxy class is automatically generated which executes all plugins which implement the marked interface.
///
///
/// It's not possible to apply DisplayAttribute to interfaces.
/// Therefore, this attribute still has and properties.
///
[AttributeUsage(AttributeTargets.Interface)]
public class PlugInPointAttribute : Attribute
{
///
/// Initializes a new instance of the class.
///
/// The name of the plugin point.
/// The description of the plugin point.
public PlugInPointAttribute(string name, string description)
{
this.Name = name;
this.Description = description;
}
///
/// Gets the name of the plugin point.
///
public string Name { get; }
///
/// Gets the description of the plugin point.
///
public string Description { get; }
}