CommandIds.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 namespace Microsoft.CmdPal.Ext.Bookmarks.Helpers; 6 7 internal static class CommandIds 8 { 9 /// <summary> 10 /// Returns id of a command associated with a bookmark item. This id is for a command that launches the bookmark - regardless of whether 11 /// the bookmark type of if it is a placeholder bookmark or not. 12 /// </summary> 13 /// <param name="id">Bookmark ID</param> 14 public static string GetLaunchBookmarkItemId(Guid id) => "Bookmarks.Launch." + id; 15 }