예제 #1
0
        private static ICitation GetCitationPage(int firstPage, int lastPage, IPublication publication)
        {
            var key = $"{firstPage}-{lastPage}";

            if (!citations.Keys.Contains(key))
            {
                citations[key] = new ApaCitation(new SimplePageRange(firstPage, lastPage), publication);
            }

            return(citations[key]);
        }
예제 #2
0
        private static void AssertCitation(string expectedLine, ApaCitation citation)
        {
            var actualLine = citation.ToString();

            AssertCitation(expectedLine, actualLine);
        }