You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Header and Category in the IContextMenuEntryMetadata are resource keys, that are evaluated at runtime, where the resource location is assumed to be in the main assembly. This makes it impossible for a plugin to provide a localized header or category.
Header and category should be removed from the IContextMenuEntryMetadata and its corresponding ExportAttribute implementations, and moved to the IContextMenuEntry.
Implementations of IContextMenuEntry with the ExportContextMenuEntryAttribute should implement the Header and Category properties by return the string from the ResourceMangager of the ILSpy assembly with the same key that was provided in the corresponding ExportContextMenuEntryAttribute before.
The text was updated successfully, but these errors were encountered:
Header
andCategory
in theIContextMenuEntryMetadata
are resource keys, that are evaluated at runtime, where the resource location is assumed to be in the main assembly. This makes it impossible for a plugin to provide a localized header or category.Header and category should be removed from the
IContextMenuEntryMetadata
and its corresponding ExportAttribute implementations, and moved to theIContextMenuEntry
.Implementations of
IContextMenuEntry
with theExportContextMenuEntryAttribute
should implement the Header and Category properties by return the string from theResourceMangager
of the ILSpy assembly with the same key that was provided in the corresponding ExportContextMenuEntryAttribute before.The text was updated successfully, but these errors were encountered: