Skip to content

Commit

Permalink
Added Attribute - "ProvideAutoLoad" with BackgroundLoad flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
unchase committed Apr 9, 2019
1 parent 57e6acf commit 0312a30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Commands/OpenWithNSwagStudioCommandPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ namespace Unchase.OpenAPI.ConnectedService.Commands
[ProvideMenuResource("Menus.ctmenu", 1)]
[ProvideOptionPage(typeof(Options), "Web", Constants.ExtensionName, 101, 102, true, new string[0], ProvidesLocalizedCategoryName = false)]
[Guid(OpenWithNSwagStudioCommandPackage.PackageGuidString)]
[ProvideAutoLoad(OpenWithNSwagStudioCommandPackage.UINswagStudioFilesContextGuid, PackageAutoLoadFlags.BackgroundLoad)]
[ProvideUIContextRule(OpenWithNSwagStudioCommandPackage.UINswagStudioFilesContextGuid,
name: "Open only .nswag (.nswag.json) files",
expression: "DotNSwag | DotNSwagDotJson",
Expand Down

0 comments on commit 0312a30

Please sign in to comment.