aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDatabaseProviderKeyAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDatabaseProviderKeyAttribute.cs')
-rw-r--r--Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDatabaseProviderKeyAttribute.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDatabaseProviderKeyAttribute.cs b/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDatabaseProviderKeyAttribute.cs
deleted file mode 100644
index b3ab3d0944..0000000000
--- a/Jellyfin.Database/Jellyfin.Database.Implementations/JellyfinDatabaseProviderKeyAttribute.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-namespace Jellyfin.Server.Implementations;
-
-/// <summary>
-/// Defines the key of the database provider.
-/// </summary>
-[System.AttributeUsage(System.AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
-public sealed class JellyfinDatabaseProviderKeyAttribute : System.Attribute
-{
- // See the attribute guidelines at
- // http://go.microsoft.com/fwlink/?LinkId=85236
- private readonly string _databaseProviderKey;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="JellyfinDatabaseProviderKeyAttribute"/> class.
- /// </summary>
- /// <param name="databaseProviderKey">The key on which to identify the annotated provider.</param>
- public JellyfinDatabaseProviderKeyAttribute(string databaseProviderKey)
- {
- this._databaseProviderKey = databaseProviderKey;
- }
-
- /// <summary>
- /// Gets the key on which to identify the annotated provider.
- /// </summary>
- public string DatabaseProviderKey
- {
- get { return _databaseProviderKey; }
- }
-}