Skip to content

Commit

Permalink
Merge pull request #670 from jerone/patch-1
Browse files Browse the repository at this point in the history
Update DictionaryAdapter TypeKeyPrefix example
  • Loading branch information
jonorossi committed Oct 25, 2023
2 parents f937cc1 + 262a7c7 commit bf969ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/dictionaryadapter-customize-keys.md
Expand Up @@ -84,6 +84,8 @@ If we had more properties on the interface, they'd all get prefixed.
If you would like to prefix all keys in dictionary with full name of the interface use `TypeKeyPrefixAttribute`. This is especially useful when you have multiple adapters over common dictionary and you want to avoid one overriding another.

```csharp
namespace Acme.Crm;

[TypeKeyPrefix]
public interface IPerson
{
Expand Down

0 comments on commit bf969ab

Please sign in to comment.