Class Notifications
This command executes the Notifications system tool window command
Opens the notifications tool window which can show all automated notifications sent to you via the system that have not been dismissed
This is a global list, the tool window does not change depending on the currently active layoutInheritance
System.Object
Notifications
Implements
System.IDisposable
System.Windows.Input.ICommand
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core.Commands.ToolWindows
Assembly: ClientCore.dll
Syntax
[CommandDescriptorOptions(Commands.Notifications, null)]
public class Notifications : ToolWindowToggler, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor
Constructors
Notifications(IModelLayoutCommon)
Creates a new Notifications tool window command
Declaration
public Notifications(IModelLayoutCommon host)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutCommon | host | The context host this command operates within |
Properties
Description
Declaration
public override string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
DisplayableToolWindowItemType
Returns the NotificationsToolWindow type
Declaration
protected override Type DisplayableToolWindowItemType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Overrides
IconID
Declaration
public override Guid IconID { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
SubscribeToLayoutChange
This tool window shows data globally for the user, it does not react to different layouts, and thus returns false for this
Declaration
public override bool SubscribeToLayoutChange { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Title
Declaration
public override string Title { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ToolTip
Declaration
public override string ToolTip { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateDisplayableItem(IModelLayoutDisplayer)
Returns a new NotificationsToolWindow
Declaration
protected override ToolWindowItem CreateDisplayableItem(IModelLayoutDisplayer activeLayout)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutDisplayer | activeLayout | The currently active layout |
Returns
Type | Description |
---|---|
ToolWindowItem | A new NotificationsToolWindow |
Overrides
InternalCanExecuteAsync(Object)
This command is only executable if there are more than 0 notifications for the user to see
Declaration
public override Task<bool> InternalCanExecuteAsync(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | The command parameter |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | True if there are more than 0 notifications for the user to see |
Overrides
Implements
System.IDisposable
System.Windows.Input.ICommand