thrownewNotSupportedException(String.Format("The binding builder for {0} is of type {1}, which does not implement IHaveBinding and is therefore not extensible.",typeof(T),builder.GetType()));
/// <summary>
/// Extensions for the fluent binding syntax API.
/// </summary>
publicstaticclassExtensionsForBindingSyntax
{
/// <summary>
/// Indicates that the service should be bound to a mocked instance of the specified type.
/// </summary>
/// <typeparam name = "T">The service that is being mocked.</typeparam>
/// <param name = "builder">The builder that is building the binding.</param>
Logger.FatalException(String.Format("An error has occurred while updating episode info for season {0} of series {1}",season.SeasonNumber,season.SeriesId),e);
Logger.FatalException(
String.Format("An error has occurred while updating episode info for season {0} of series {1}",
Logger.Warn("Unable to find Series:{0} Season:{1} Episode:{2} in the database. File:{3}",series.Title,episodesInFile.SeasonNumber,episodeNumber,filePath);
Logger.Warn("Unable to find Series:{0} Season:{1} Episode:{2} in the database. File:{3}",
if(_rssSyncTimer.Interval<900000)//If Timer is less than 15 minutes, throw an error! This should also be handled when saving the config, though a user could by-pass it by editing the DB directly... TNO (Trust No One)
if(_rssSyncTimer.Interval<900000)
//If Timer is less than 15 minutes, throw an error! This should also be handled when saving the config, though a user could by-pass it by editing the DB directly... TNO (Trust No One)
{
Logger.Error("RSS Sync Frequency is invalid, please set the interval first");
thrownewInvalidOperationException("RSS Sync Frequency Invalid");
varquery=String.Format("select path.strPath from path, tvshow, tvshowlinkpath where tvshow.c12 = {0} and tvshowlinkpath.idShow = tvshow.idShow and tvshowlinkpath.idPath = path.idPath",seriesId);
varquery=
String.Format(
"select path.strPath from path, tvshow, tvshowlinkpath where tvshow.c12 = {0} and tvshowlinkpath.idShow = tvshow.idShow and tvshowlinkpath.idPath = path.idPath",
// autocomplete="off" is needed to work around a very annoying Chrome behaviour whereby it reuses old values after the user clicks "Back", which causes the xyz.index and xyz[...] values to get out of sync.
return"The user name provided is invalid. Please check the value and try again.";
caseMembershipCreateStatus.ProviderError:
return"The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
return
"The authentication provider returned an error. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
caseMembershipCreateStatus.UserRejected:
return"The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
return
"The user creation request has been canceled. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
default:
return"An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.";
return
"An unknown error occurred. Please verify your entry and try again. If the problem persists, please contact your system administrator.";