aboutsummaryrefslogtreecommitdiff
path: root/Emby.Notifications/NotificationEntryPoint.cs
diff options
context:
space:
mode:
authorBond_009 <Bond.009@outlook.com>2020-02-08 22:25:44 +0100
committerBond_009 <Bond.009@outlook.com>2020-02-08 22:25:44 +0100
commit867835a474d16bfe6ab6a27214de49478ed2a05b (patch)
treeaa409095dc208cb713ca4f33bb2c6207fd48b1c3 /Emby.Notifications/NotificationEntryPoint.cs
parentf96bc23c4fb958c44c17a8832ec13fad37f48f1c (diff)
Fix build
Diffstat (limited to 'Emby.Notifications/NotificationEntryPoint.cs')
-rw-r--r--Emby.Notifications/NotificationEntryPoint.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/Emby.Notifications/NotificationEntryPoint.cs b/Emby.Notifications/NotificationEntryPoint.cs
index ab92822fa..befecc570 100644
--- a/Emby.Notifications/NotificationEntryPoint.cs
+++ b/Emby.Notifications/NotificationEntryPoint.cs
@@ -227,7 +227,12 @@ namespace Emby.Notifications
}
}
- private static string GetItemName(BaseItem item)
+ /// <summary>
+ /// Creates a human readable name for the item.
+ /// </summary>
+ /// <param name="item">The item.</param>
+ /// <returns>A human readable name for the item.</returns>
+ public static string GetItemName(BaseItem item)
{
var name = item.Name;
if (item is Episode episode)
@@ -298,7 +303,7 @@ namespace Emby.Notifications
}
/// <summary>
- /// Releases unmanaged and - optionally - managed resources.
+ /// Releases unmanaged and optionally managed resources.
/// </summary>
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)