private static TInstanceCmd DefaultInstanceFactory <TInstanceCmd>(ICommandContext context) where TInstanceCmd : ICommandInstance { return(context.CreateInstance <TInstanceCmd>()); }