public override SparseFieldSetExpression OnApplySparseFieldSet(SparseFieldSetExpression existingSparseFieldSet) { _hitCounter.TrackInvocation <Lyric>(ResourceDefinitionHitCounter.ExtensibilityPoint.OnApplySparseFieldSet); return(_lyricPermissionProvider.CanViewText ? base.OnApplySparseFieldSet(existingSparseFieldSet) : existingSparseFieldSet.Excluding <Lyric>(lyric => lyric.Text, ResourceGraph)); }
public override SparseFieldSetExpression OnApplySparseFieldSet(SparseFieldSetExpression existingSparseFieldSet) { _lyricPermissionProvider.HitCount++; return(_lyricPermissionProvider.CanViewText ? base.OnApplySparseFieldSet(existingSparseFieldSet) : existingSparseFieldSet.Excluding <Lyric>(lyric => lyric.Text, ResourceGraph)); }