public bool TryHandleCommand(IImmutableSet <IProjectTree> nodes, long commandId, bool focused, long commandExecuteOptions, IntPtr variantArgIn, IntPtr variantArgOut) { if (commandId == _commandId) { var path = nodes.GetSelectedFolderPath(_unconfiguredProject); if (!string.IsNullOrEmpty(path)) { ProjectUtilities.AddNewItem(_templateName, _fileName, _extension, path); return(true); } } return(false); }