public static BuildItem ( IHostService host, |
||
host | IHostService | |
item | ||
model | ||
filter | bool>.Func | |
Résultat |
public IEnumerable <RestApiChildItemViewModel> GetChildItemsFromOverwriteDocument(FileModel overwriteModel, string uid, IHostService host) { return(OverwriteDocumentReader.Transform <RestApiChildItemViewModel>( overwriteModel, uid, s => (RestApiChildItemViewModel)BuildRestApiDocument.BuildItem(host, s, overwriteModel, content => content != null && content.Trim() == Constants.ContentPlaceholder))); }
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))); }