Example #1
0
        public string GetAuthors()
        {
            string output = "";

            output += Contributor.ToString();
            return(output);
        }
Example #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);
        }
Example #3
0
 public Contributor_Author(Contributor contributor, Author auth, AuthorRoleEnum role)
 {
     Contributor = contributor;
     Author      = auth;
     AuthorRole  = role;
 }