Merge pull request #748 from ascclemens/impwicit_use_uwu

Mark PluginServiceAttribute with MeansImplicitUse
This commit is contained in:
goaaats 2022-01-31 13:04:58 +01:00 committed by GitHub
commit 37db0dd6d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,14 @@
using System; using System;
using JetBrains.Annotations;
namespace Dalamud.IoC namespace Dalamud.IoC
{ {
/// <summary> /// <summary>
/// This attribute indicates whether an applicable service should be injected into the plugin. /// This attribute indicates whether an applicable service should be injected into the plugin.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Property)] [AttributeUsage(AttributeTargets.Property)]
[MeansImplicitUse(ImplicitUseKindFlags.Assign)]
public class PluginServiceAttribute : Attribute public class PluginServiceAttribute : Attribute
{ {
} }