BasicNoUIObjGetAssemblyNames Event |
Occurs when the Edit|References dialog is displayed.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic event EventHandler<GetAssemblyNamesEventArgs> GetAssemblyNames
Public Event GetAssemblyNames As EventHandler(Of GetAssemblyNamesEventArgs)
public:
virtual event EventHandler<GetAssemblyNamesEventArgs^>^ GetAssemblyNames {
void add (EventHandler<GetAssemblyNamesEventArgs^>^ value);
void remove (EventHandler<GetAssemblyNamesEventArgs^>^ value);
}
Value
EventHandlerGetAssemblyNamesEventArgsImplements
IBasicNoUIGetAssemblyNames
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.
Example
The Edit Reference dialog is being displayed:
private void basicIdeCtl1_GetAssemblyNames(object sender, GetAssemblyNamesEventArgs e)
{
}
Private Sub BasicIdeCtl1_GetAssemblyNames(ByVal sender As Object, ByVal e As GetAssemblyNamesEventArgs) Handles BasicIdeCtl.GetAssemblyNames
End Sub
private: System::Void basicIdeCtl1_GetAssemblyNames(System::Object ^ sender, GetAssemblyNamesEventArgs ^ e)
{
}
See Also