Notification Class |
Namespace: Rhino.Runtime.Notifications
The Notification type exposes the following members.
| Name | Description | |
|---|---|---|
| Notification |
Creates a new instance that can be edited by any assembly.
| |
| Notification(IEnumerableAssembly) |
Creates a new instance that can be edited by the given assemblies.
|
| Name | Description | |
|---|---|---|
| AllowedAssemblies |
The assemblies that can modify this instance.
| |
| AlternateButtonTitle |
The localized title of the Alternate button.
| |
| ButtonClicked |
An Action that will be invoked whenever a button for the notification is clicked or the notification is closed.
| |
| CancelButtonTitle |
The localized title of the Cancel button.
| |
| ConfirmButtonTitle |
The localized title of the Confirm button.
| |
| DateUpdated |
The date the notification was last modified.
| |
| Description |
The description of the notification. The description is displayed in the Notifications panel in Rhino.
| |
| Item |
Gets or sets metadata for this instance.
| |
| Message |
The message of the notification. The message is shown only when the instance is displayed modally. It should contain details about the notification.
| |
| MetadataCopy |
A copy of all the metadata for this class.
| |
| SeverityLevel |
The severity of the notification. Changing the severity of the notification may change the way Rhino chooses to display the Notifications panel.
| |
| ShowEventId |
A field used by Rhino for displaying notifications. Not intended for public use.
| |
| Title |
The title of the notification. The title is displayed when the notification is displayed modally in Rhino.
|
| Name | Description | |
|---|---|---|
| Editable |
Determines whether an assembly can modify the instance. Any code that modifies an assembly protected
notification must be wrapped in a ExecuteAssemblyProtectedCode(Action) method.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExecuteAssemblyProtectedCode(Action) |
If a Notification object is only allowed to be modified by certain
assemblies, then any code that interacts with it must be wrapped around this method,
or a InvalidOperationException will be thrown. For performance reasons,
the code wrapped by this method should be kept as simple as possible.
| |
| ExecuteAssemblyProtectedCodeTResult(FuncTResult) |
If a Notification object is only allowed to be modified by certain
assemblies, then any code that interacts with it must be wrapped around this method,
or a InvalidOperationException will be thrown. For performance reasons,
the code wrapped by this method should be kept as simple as possible.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HideModal |
Tells Rhino to hide the notification if it is being currently shown as a modal.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveMetadata |
Removes metadata from this instance.
| |
| ShowModal |
Tells Rhino to display the notification modally.
| |
| ToString |
Returns a readable string representation of the instance.
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| PropertyChanged |
Triggered whenever a visible property of the instance changes.
|