mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 06:17:43 +01:00
chore: convert Dalamud to file-scoped namespaces
This commit is contained in:
parent
b093323acc
commit
987ff8dc8f
368 changed files with 55081 additions and 55450 deletions
|
|
@ -1,25 +1,24 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.IoC
|
||||
namespace Dalamud.IoC;
|
||||
|
||||
/// <summary>
|
||||
/// This attribute indicates the version of a service module that is required for the plugin to load.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
|
||||
public class RequiredVersionAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// This attribute indicates the version of a service module that is required for the plugin to load.
|
||||
/// Initializes a new instance of the <see cref="RequiredVersionAttribute"/> class.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
|
||||
public class RequiredVersionAttribute : Attribute
|
||||
/// <param name="version">The required version.</param>
|
||||
public RequiredVersionAttribute(string version)
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="RequiredVersionAttribute"/> class.
|
||||
/// </summary>
|
||||
/// <param name="version">The required version.</param>
|
||||
public RequiredVersionAttribute(string version)
|
||||
{
|
||||
this.Version = new(version);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the required version.
|
||||
/// </summary>
|
||||
public Version Version { get; }
|
||||
this.Version = new(version);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the required version.
|
||||
/// </summary>
|
||||
public Version Version { get; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue