From 262a7c72cdee1a2cafe4124365ffbff837c1df99 Mon Sep 17 00:00:00 2001 From: Jeroen van Warmerdam Date: Thu, 28 Sep 2023 13:16:11 +0200 Subject: [PATCH] Update DictionaryAdapter TypeKeyPrefix example Update DictionaryAdapter `TypeKeyPrefix` example to show where the namespace is coming from. --- docs/dictionaryadapter-customize-keys.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/dictionaryadapter-customize-keys.md b/docs/dictionaryadapter-customize-keys.md index 07557c4e05..3aeeffb76e 100644 --- a/docs/dictionaryadapter-customize-keys.md +++ b/docs/dictionaryadapter-customize-keys.md @@ -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 {