Notification Constructor (IEnumerableAssembly)
Creates a new instance that can be edited by the given assemblies.
RhinoCommon (in RhinoCommon.dll)
Public Sub New (
allowedAssemblies As IEnumerable(Of Assembly)
- Type: System.Collections.GenericIEnumerableAssembly
The assemblies that will be allowed to edit the instance.
If null or empty, any assembly will be able to edit this notification.
Specifying one or more assemblies limits certain operations with the notification object,
throwing an InvalidOperationException
if an assembly outside the ones passed tries to interact with it.
Any code that tries to interact with a notification object that has restricted assemblies must be wrapped in a
. For performance reasons,
it is imporant that such methods are kept as simple as possible.
Rhino for WindowsSupported in: 6.7