Class ParseHelper
Inheritance
System.Object
ParseHelper
Namespace: Emby.Media.Common.DataConversion
Assembly: Emby.Media.Model.dll
Syntax
public static class ParseHelper
Methods
EqualsNoCase(String, String)
Compare strings case insensitive.
Declaration
public static bool EqualsNoCase(this string str1, string str2)
Parameters
Type | Name | Description |
---|---|---|
System.String | str1 | The STR1. |
System.String | str2 | The STR2. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean. |
HasEntry(Dictionary<String, String>, String, String)
Declaration
public static bool HasEntry(this Dictionary<string, string> dic, string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | dic | |
System.String | key | |
System.String | value |
Returns
Type | Description |
---|---|
System.Boolean |
PathToFileName(String)
Declaration
public static string PathToFileName(this string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |
Returns
Type | Description |
---|---|
System.String |