Example #1
0
        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";
        }
Example #2
0
 /// <summary>
 /// Initializing constructor
 /// </summary>
 /// <param name="settings">Settings object describing parameters for communicating with GitHub</param>
 public Source( SourceSettings settings ) : base( settings )
 {
 }