diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-30 09:28:38 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-30 09:28:38 -0400 |
| commit | f0da58a997ed01635225ae5290d7f34997b99452 (patch) | |
| tree | 91cbf8c34aff65d1384a2e1277c3544aeb9e0c09 /MediaBrowser.Controller | |
| parent | 62d98551edf421ba50f2eadf95d6c3d1fb1d20ae (diff) | |
fix config startup
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Person.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Person.cs b/MediaBrowser.Controller/Entities/Person.cs index 1def47391..fe8d61836 100644 --- a/MediaBrowser.Controller/Entities/Person.cs +++ b/MediaBrowser.Controller/Entities/Person.cs @@ -96,5 +96,10 @@ namespace MediaBrowser.Controller.Entities { return Name; } + + public bool IsType(string type) + { + return string.Equals(Type, type, StringComparison.OrdinalIgnoreCase) || string.Equals(Role, type, StringComparison.OrdinalIgnoreCase); + } } } |
