mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 22:07:44 +01:00
Revert "refactor(Dalamud): switch to file-scoped namespaces"
This reverts commit b5f34c3199.
This commit is contained in:
parent
d473826247
commit
1561fbac00
325 changed files with 45549 additions and 45209 deletions
|
|
@ -1,24 +1,25 @@
|
|||
using System;
|
||||
|
||||
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
|
||||
namespace Dalamud.IoC
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="RequiredVersionAttribute"/> class.
|
||||
/// This attribute indicates the version of a service module that is required for the plugin to load.
|
||||
/// </summary>
|
||||
/// <param name="version">The required version.</param>
|
||||
public RequiredVersionAttribute(string version)
|
||||
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
|
||||
public class RequiredVersionAttribute : Attribute
|
||||
{
|
||||
this.Version = new(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; }
|
||||
/// <summary>
|
||||
/// Gets the required version.
|
||||
/// </summary>
|
||||
public Version Version { get; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue