コード例 #1
0
        public CharacterAttributeNameResource EnrichCharacterAttributeName(ICharacterAttributeName characterAttributeName)
        {
            var enricher = new CharacterAttributeNameResourceEnricher(_linkProvider, _mapper, _linkGenerator, _httpContext);

            return(enricher.Enrich(characterAttributeName));
        }
コード例 #2
0
 public override IEnumerable <CharacterAttributeNameResource> Enrich(IEnumerable <ICharacterAttributeName> content, bool expand = false)
 {
     return(content.Select(characterAttributeRowName => _singleResourceEnricher.Enrich(characterAttributeRowName)));
 }