Exemplo n.º 1
0
        public string GetAuthors()
        {
            string output = "";

            output += Contributor.ToString();
            return(output);
        }
Exemplo n.º 2
0
        public override string ToString()
        {
            string output = "";

            output += Contributor.ToString();
            output += Issue.Year + ".";
            switch (PublicationType)
            {
            case PublicationTypeEnum.Book:
                output += Book.ToString() + ". ";
                output += Publisher.Name;
                break;

            case PublicationTypeEnum.BookChapter:
                output += BookChapter.ToString() + ". ";
                output += Publisher.Name;
                break;

            case PublicationTypeEnum.ConferencePaper:
                output += ConferencePaper.ToString();
                break;

            case PublicationTypeEnum.ConferenceProceeding:
                output += ConferenceProceeding.ToString();
                break;

            case PublicationTypeEnum.Journal:
                output += Journal.ToString();
                break;

            case PublicationTypeEnum.JournalArticle:
                output += JournalArticle.ToString();
                break;

            case PublicationTypeEnum.Presentation:
                output += Presentation.ToString();
                break;

            case PublicationTypeEnum.Dissertation:
                output += Dissertation.ToString();
                break;
            }
            return(output);
        }