aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-10-10 18:01:14 +0000
committerJPVenson <github@jpb.email>2024-10-10 18:01:14 +0000
commit439a997fca67ff5fcbca38c87dfef5acf04e05e3 (patch)
tree024761124e347a9d40b096200a449e7bd14f7a09 /MediaBrowser.Common
parentea4c208fde66ec00abba142068db2da674585163 (diff)
Readded custom serialisation
Diffstat (limited to 'MediaBrowser.Common')
-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
+{
+}