using System; namespace Dalamud.IoC { /// /// This attribute indicates the version of a service module that is required for the plugin to load. /// [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)] public class RequiredVersionAttribute : Attribute { /// /// Initializes a new instance of the class. /// /// The required version. public RequiredVersionAttribute(string version) { this.Version = new(version); } /// /// Gets the required version. /// public Version Version { get; } } }