예제 #1
0
 internal SM.Bibliography CreateBibliography(SE.Style style, SE.Format format, List <SM.ContentItem> contentItems)
 {
     return(ContentItemFactory.Build(_bibliographyProcessor.CreateBibliography(ContentItemFactory.Build(style),
                                                                               ContentItemFactory.Build(format),
                                                                               contentItems != null ? contentItems.Select(x => ContentItemFactory.Build(x))
                                                                               .ToList()
                                                                                                    : new List <DM.ContentItem>())));
 }
예제 #2
0
        internal static DE.Format Build(SE.Format format)
        {
            switch (format)
            {
            case SE.Format.Unknown:
                return(DE.Format.Unknown);

            case SE.Format.Text:
                return(DE.Format.Text);

            case SE.Format.HTML:
                return(DE.Format.HTML);

            default:
                throw new NotImplementedException();
            }
        }
예제 #3
0
 public SM.Citation VideoRecording(SE.Style style, SE.Format format, [FromBody] SM.VideoRecording videoRecording)
 {
     return(_citationManager.CreateCitationVideoRecording(style, format, videoRecording));
 }
예제 #4
0
 public SM.Citation Graphic(SE.Style style, SE.Format format, [FromBody] SM.Graphic graphic)
 {
     return(_citationManager.CreateCitationGraphic(style, format, graphic));
 }
예제 #5
0
 public SM.Citation AudioRecording(SE.Style style, SE.Format format, [FromBody] SM.AudioRecording audioRecording)
 {
     return(_citationManager.CreateCitationAudioRecording(style, format, audioRecording));
 }
예제 #6
0
 internal SM.Citation CreateCitationBook(SE.Style style, SE.Format format, SM.Book book)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationBook(ContentItemFactory.Build(style),
                                                                           ContentItemFactory.Build(format),
                                                                           ContentItemFactory.Build(book))));
 }
예제 #7
0
 public SM.Citation Encyclopedia(SE.Style style, SE.Format format, [FromBody] SM.Encyclopedia encyclopedia)
 {
     return(_citationManager.CreateCitationEncyclopedia(style, format, encyclopedia));
 }
예제 #8
0
 public SM.Citation Map(SE.Style style, SE.Format format, [FromBody] SM.Map map)
 {
     return(_citationManager.CreateCitationMap(style, format, map));
 }
예제 #9
0
 public SM.Citation Legislation(SE.Style style, SE.Format format, [FromBody] SM.Legislation legislation)
 {
     return(_citationManager.CreateCitationLegislation(style, format, legislation));
 }
예제 #10
0
 public SM.Citation Broadcast(SE.Style style, SE.Format format, [FromBody] SM.Broadcast broadcast)
 {
     return(_citationManager.CreateCitationBroadcast(style, format, broadcast));
 }
예제 #11
0
 public SM.Citation Interview(SE.Style style, SE.Format format, [FromBody] SM.Interview interview)
 {
     return(_citationManager.CreateCitationInterview(style, format, interview));
 }
예제 #12
0
 internal SM.Citation CreateCitationGraphic(SE.Style style, SE.Format format, SM.Graphic graphic)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationGraphic(ContentItemFactory.Build(style),
                                                                              ContentItemFactory.Build(format),
                                                                              ContentItemFactory.Build(graphic))));
 }
예제 #13
0
 internal SM.Citation CreateCitationVideoRecording(SE.Style style, SE.Format format, SM.VideoRecording videoRecording)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationVideoRecording(ContentItemFactory.Build(style),
                                                                                     ContentItemFactory.Build(format),
                                                                                     ContentItemFactory.Build(videoRecording))));
 }
예제 #14
0
 internal SM.Citation CreateCitationEncyclopedia(SE.Style style, SE.Format format, SM.Encyclopedia encyclopedia)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationEncyclopedia(ContentItemFactory.Build(style),
                                                                                   ContentItemFactory.Build(format),
                                                                                   ContentItemFactory.Build(encyclopedia))));
 }
예제 #15
0
 internal SM.Citation CreateCitationWebpage(SE.Style style, SE.Format format, SM.Webpage webpage)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationWebpage(ContentItemFactory.Build(style),
                                                                              ContentItemFactory.Build(format),
                                                                              ContentItemFactory.Build(webpage))));
 }
예제 #16
0
 internal SM.Citation CreateCitationNewspaper(SE.Style style, SE.Format format, SM.Newspaper newspaper)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationNewspaper(ContentItemFactory.Build(style),
                                                                                ContentItemFactory.Build(format),
                                                                                ContentItemFactory.Build(newspaper))));
 }
예제 #17
0
 internal SM.Citation CreateCitationMagazine(SE.Style style, SE.Format format, SM.Magazine magazine)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationMagazine(ContentItemFactory.Build(style),
                                                                               ContentItemFactory.Build(format),
                                                                               ContentItemFactory.Build(magazine))));
 }
예제 #18
0
 internal SM.Citation CreateCitationJournal(SE.Style style, SE.Format format, SM.Journal journal)
 {
     return(ContentItemFactory.Build(_citationProcessor.CreateCitationJournal(ContentItemFactory.Build(style),
                                                                              ContentItemFactory.Build(format),
                                                                              ContentItemFactory.Build(journal))));
 }
예제 #19
0
 public SM.Citation PersonalCommunication(SE.Style style, SE.Format format, [FromBody] SM.PersonalCommunication personalCommunication)
 {
     return(_citationManager.CreateCitationPersonalCommunication(style, format, personalCommunication));
 }
예제 #20
0
 public SM.Citation Journal(SE.Style style, SE.Format format, [FromBody] SM.Journal journal)
 {
     return(_citationManager.CreateCitationJournal(style, format, journal));
 }
예제 #21
0
 public SM.Citation Presentation(SE.Style style, SE.Format format, [FromBody] SM.Presentation presentation)
 {
     return(_citationManager.CreateCitationPresentation(style, format, presentation));
 }
예제 #22
0
 public SM.Citation Magazine(SE.Style style, SE.Format format, [FromBody] SM.Magazine magazine)
 {
     return(_citationManager.CreateCitationMagazine(style, format, magazine));
 }
예제 #23
0
 public SM.Citation Bill(SE.Style style, SE.Format format, [FromBody] SM.Bill bill)
 {
     return(_citationManager.CreateCitationBill(style, format, bill));
 }
예제 #24
0
 public SM.Citation Newspaper(SE.Style style, SE.Format format, [FromBody] SM.Newspaper newspaper)
 {
     return(_citationManager.CreateCitationNewspaper(style, format, newspaper));
 }
예제 #25
0
 public SM.Citation LegalCase(SE.Style style, SE.Format format, [FromBody] SM.LegalCase legalCase)
 {
     return(_citationManager.CreateCitationLegalCase(style, format, legalCase));
 }
예제 #26
0
 public SM.Citation Webpage(SE.Style style, SE.Format format, [FromBody] SM.Webpage webpage)
 {
     return(_citationManager.CreateCitationWebpage(style, format, webpage));
 }