Inheritance: Microsoft.DocAsCode.Build.Common.BaseDocumentBuildStep
コード例 #1
0
 public IEnumerable <RestApiTagViewModel> GetTagsFromOverwriteDocument(FileModel overwriteModel, string uid, IHostService host)
 {
     return(OverwriteDocumentReader.Transform <RestApiTagViewModel>(
                overwriteModel,
                uid,
                s => BuildRestApiDocument.BuildTag(host, s, overwriteModel, content => content != null && content.Trim() == Constants.ContentPlaceholder)));
 }
コード例 #2
0
 protected override IEnumerable <RestApiItemViewModel> GetItemsFromOverwriteDocument(FileModel fileModel, string uid, IHostService host)
 {
     return(OverwriteDocumentReader.Transform <RestApiItemViewModel>(
                fileModel,
                uid,
                s => BuildRestApiDocument.BuildItem(host, s, fileModel, content => content != null && content.Trim() == Constants.ContentPlaceholder)));
 }