mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Replaced built-in valuetypes with language keywords.
This commit is contained in:
parent
d6a135857d
commit
ccfa13e383
454 changed files with 2042 additions and 2042 deletions
|
@ -54,7 +54,7 @@ namespace NzbDrone.Core.Organizer
|
|||
|
||||
protected override bool IsValid(PropertyValidatorContext context)
|
||||
{
|
||||
var value = context.PropertyValue as String;
|
||||
var value = context.PropertyValue as string;
|
||||
|
||||
if (!FileNameBuilder.SeasonEpisodePatternRegex.IsMatch(value) &&
|
||||
!FileNameValidation.OriginalTokenRegex.IsMatch(value))
|
||||
|
@ -76,7 +76,7 @@ namespace NzbDrone.Core.Organizer
|
|||
|
||||
protected override bool IsValid(PropertyValidatorContext context)
|
||||
{
|
||||
var value = context.PropertyValue as String;
|
||||
var value = context.PropertyValue as string;
|
||||
|
||||
if (!FileNameBuilder.SeasonEpisodePatternRegex.IsMatch(value) &&
|
||||
!FileNameBuilder.AirDateRegex.IsMatch(value) &&
|
||||
|
@ -99,7 +99,7 @@ namespace NzbDrone.Core.Organizer
|
|||
|
||||
protected override bool IsValid(PropertyValidatorContext context)
|
||||
{
|
||||
var value = context.PropertyValue as String;
|
||||
var value = context.PropertyValue as string;
|
||||
|
||||
if (!FileNameBuilder.SeasonEpisodePatternRegex.IsMatch(value) &&
|
||||
!FileNameBuilder.AbsoluteEpisodePatternRegex.IsMatch(value) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue