NOTICE: I made a follow-up video here with better code and more explanation: https://youtu.be/GICF03UAOcQ
This video shows how to register customized Cortana commands on Windows 10.
GitHub repo:
https://github.com/crclayton/custom-cortana-commands-template
CustomVoiceCommandDefinitions.xml
https://github.com/crclayton/custom-cortana-commands-template/blob/master/CustomCortanaCommands/CustomVoiceCommandDefinitions.xml
CortanaFunctions class
https://github.com/crclayton/custom-cortana-commands-template/blob/master/CustomCortanaCommands/CortanaFunctions.cs