diff options
| author | JPVenson <github@jpb.email> | 2024-10-10 18:01:14 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-10-10 18:01:14 +0000 |
| commit | 439a997fca67ff5fcbca38c87dfef5acf04e05e3 (patch) | |
| tree | 024761124e347a9d40b096200a449e7bd14f7a09 /MediaBrowser.Common | |
| parent | ea4c208fde66ec00abba142068db2da674585163 (diff) | |
Readded custom serialisation
Diffstat (limited to 'MediaBrowser.Common')
| -rw-r--r-- | MediaBrowser.Common/RequiresSourceSerialisationAttribute.cs | 11 |
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 +{ +} |
