IBasicNoUIGetAssemblyNames Event |
Occurs when the Edit|References dialog is displayed.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxevent EventHandler<GetAssemblyNamesEventArgs> GetAssemblyNames
Event GetAssemblyNames As EventHandler(Of GetAssemblyNamesEventArgs)
event EventHandler<GetAssemblyNamesEventArgs^>^ GetAssemblyNames {
void add (EventHandler<GetAssemblyNamesEventArgs^>^ value);
void remove (EventHandler<GetAssemblyNamesEventArgs^>^ value);
}
Value
EventHandlerGetAssemblyNamesEventArgs
Remarks
The event handler receives an argument of type
GetAssemblyNamesEventArgs.
The GetAssemblyNamesEventArgs.AssemblyNames property is an array of assembly names.
Each assembly name provides WinWrap Basic with the necessary information for
displaying the item in the Edit|References dialog.
The assembly name has ", Path=..." appended to end.
This location text is displayed in the Edit|References dialog
(instead of Global Assembly Cache or the assembly's path).
Resolving an assembly name as an assembly is the host application's responsibility.
The host application can use the location text to locate the assembly.
(e.g. Path=MyReferences where MyReferences means something to the user and the host application).
To add a .NET 4.0 specific reference prefix the assembly name with #.
To add a .NET 5.0+ specific reference prefix the assembly name with @.
A reference without the # or @ prefix uses the host's .NET implementation.
See Also