mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-10 08:13:20 +01:00
update sharpcifs
This commit is contained in:
@@ -6,18 +6,15 @@ namespace SharpCifs.Util.Sharpen
|
||||
public class Hashtable : Dictionary<object, object>
|
||||
{
|
||||
public void Put(object key, object value)
|
||||
{
|
||||
if (this.ContainsKey(key))
|
||||
this[key] = value;
|
||||
else
|
||||
this.Add(key, value);
|
||||
{
|
||||
Add(key, value);
|
||||
}
|
||||
|
||||
public object Get(object key)
|
||||
{
|
||||
return this.ContainsKey(key)
|
||||
? this[key]
|
||||
: null;
|
||||
var m_key = Keys.SingleOrDefault(k => k.Equals(key));
|
||||
|
||||
return m_key != null ? this[m_key] : null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user