internal override void Initialize()
{
try
{
Cmdlet cmdlet = (Cmdlet)Activator.CreateInstance(_cmdletInfo.ImplementingType);
cmdlet.CommandInfo = _cmdletInfo;
cmdlet.ExecutionContext = base.ExecutionContext;
Command = cmdlet;
}
catch (Exception e)
{
// TODO: work out the failure
System.Console.WriteLine(e);
}
}