Skip to content

Commit 262a7c7

Browse files
authored
Update DictionaryAdapter TypeKeyPrefix example
Update DictionaryAdapter `TypeKeyPrefix` example to show where the namespace is coming from.
1 parent f937cc1 commit 262a7c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/dictionaryadapter-customize-keys.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ If we had more properties on the interface, they'd all get prefixed.
8484
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.
8585

8686
```csharp
87+
namespace Acme.Crm;
88+
8789
[TypeKeyPrefix]
8890
public interface IPerson
8991
{

0 commit comments

Comments
 (0)