aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/RequiresSourceSerialisationAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/RequiresSourceSerialisationAttribute.cs')
-rw-r--r--MediaBrowser.Common/RequiresSourceSerialisationAttribute.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/MediaBrowser.Common/RequiresSourceSerialisationAttribute.cs b/MediaBrowser.Common/RequiresSourceSerialisationAttribute.cs
new file mode 100644
index 000000000..b22e7cba1
--- /dev/null
+++ b/MediaBrowser.Common/RequiresSourceSerialisationAttribute.cs
@@ -0,0 +1,11 @@
+using System;
+
+namespace MediaBrowser.Common;
+
+/// <summary>
+/// Marks a BaseItem as needing custom serialisation from the Data field of the db.
+/// </summary>
+[System.AttributeUsage(System.AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
+public sealed class RequiresSourceSerialisationAttribute : System.Attribute
+{
+}