Summary
Allows renaming of keys during document creation: "If you find key X, create it as key Y instead."
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Modules - Containing Type
- ReadDataModule
<TModule, TItem>
Syntax
public TModule AddKeyConversion(string originalKeyName, string newKeyName)
Parameters
Name | Type | Description |
---|---|---|
originalKeyName | string | The name of the original key to convert. |
newKeyName | string | The name you want to convert the key to. |
Return Value
Type | Description |
---|---|
TModule | The current module instance. |