/// <summary>
 /// Initializes a singleton instance of this command.
 /// </summary>
 /// <param name="package">The hosting package.</param>
 /// <returns>A task.</returns>
 public static async Task InitializeAsync(CodeMaidPackage package)
 {
     Instance = new AboutCommand(package);
     await Instance.SwitchAsync(on : true);
 }
Exemplo n.º 2
0
 public static void Initialize(CodeMaidPackage package)
 {
     Instance = new AboutCommand(package);
     Instance.Switch(on: true);
 }