mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 19:39:19 +01:00
20 lines
566 B
C#
20 lines
566 B
C#
using System;
|
|
|
|
namespace Dalamud.IoC.Internal;
|
|
|
|
/// <summary>
|
|
/// Mark a class as being dependent on a service, without actually injecting it.
|
|
/// </summary>
|
|
/// <typeparam name="T">The service to be dependent upon.</typeparam>
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
internal class InherentDependencyAttribute<T> : InherentDependencyAttribute where T : IServiceType
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Helper class used for matching. Use the generic version.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
internal class InherentDependencyAttribute : Attribute
|
|
{
|
|
}
|