private static string GetUrlSuffix( SourceSettings settings ) { if( settings.GetAllIncludesClosedIssues ) { throw new ApplicationException( "GetAll w/ closed issues is unsupported for GitHub because that list has potential to grow indefinitely" ); } return "/issues?state=open"; }
/// <summary> /// Initializing constructor /// </summary> /// <param name="settings">Settings object describing parameters for communicating with GitHub</param> public Source( SourceSettings settings ) : base( settings ) { }