Skip to content

Commit bf969ab

Browse files
authored
Merge pull request castleproject#670 from jerone/patch-1
Update DictionaryAdapter TypeKeyPrefix example
2 parents f937cc1 + 262a7c7 commit bf969ab

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)