Register pipe definitions
The pipe definitions are a collection of items describing the type members used by the mappings. They are used in the UI for changing the default mappings.
- Create the pipe definitions
You create default pipe definitions from the built-in
Content pipe. You can also create custom pipe definitions.
- Register the pipe definitions
After you create the pipe definitions, you must register them.
- Modify the pipe definitions
You can modify the definitions of a built-in pipe or custom pipe.
To modify the pipe definitions you use the
GetPipeDefinitions accepts the name of the pipe as a parameter. It returns a copy of the registered definitions. After your modifications, you must register them again to apply the changes.
Use the following code sample: