mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-05 14:44:13 -04:00
16 lines
518 B
C#
16 lines
518 B
C#
using System;
|
|
using JetBrains.Annotations;
|
|
using Kyoo.Controllers;
|
|
|
|
namespace Kyoo.Models.Attributes
|
|
{
|
|
/// <summary>
|
|
/// An attribute to inform that the service will be injected automatically by a service provider.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// It should only be used on <see cref="ITask"/> and will be injected before calling <see cref="ITask.Run"/>
|
|
/// </remarks>
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
[MeansImplicitUse(ImplicitUseKindFlags.Assign)]
|
|
public class InjectedAttribute : Attribute { }
|
|
} |