aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/IConcurrentMap.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/IConcurrentMap.cs')
-rw-r--r--Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/IConcurrentMap.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/IConcurrentMap.cs b/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/IConcurrentMap.cs
new file mode 100644
index 000000000..dead24244
--- /dev/null
+++ b/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/IConcurrentMap.cs
@@ -0,0 +1,11 @@
+using System.Collections.Generic;
+
+namespace SharpCifs.Util.Sharpen
+{
+ internal interface IConcurrentMap<T, TU> : IDictionary<T, TU>
+ {
+ TU PutIfAbsent (T key, TU value);
+ bool Remove (object key, object value);
+ bool Replace (T key, TU oldValue, TU newValue);
+ }
+}