Interface ISnackbarMessageQueue
public interface ISnackbarMessageQueue
- Extension Methods
Methods
Enqueue(object)
Queues a notificaton message for display in a snackbar.
void Enqueue(object content)
Parameters
contentobjectMessage.
Enqueue(object, bool)
Queues a notificaton message for display in a snackbar.
void Enqueue(object content, bool neverConsiderToBeDuplicate)
Parameters
contentobjectMessage.
neverConsiderToBeDuplicateboolSubsequent, duplicate messages queued within a short time span will be discarded. To override this behaviour and ensure the message always gets displayed set to
true.
Enqueue(object, object, Action)
Queues a notificaton message for display in a snackbar.
void Enqueue(object content, object actionContent, Action actionHandler)
Parameters
contentobjectMessage.
actionContentobjectContent for the action button.
actionHandlerActionCall back to be executed if user clicks the action button.
Enqueue(object, object, Action, bool)
Queues a notificaton message for display in a snackbar.
void Enqueue(object content, object actionContent, Action actionHandler, bool promote)
Parameters
contentobjectMessage.
actionContentobjectContent for the action button.
actionHandlerActionCall back to be executed if user clicks the action button.
promoteboolThe message will promoted to the front of the queue.
Enqueue(object, object, Action<object>, object, bool, bool)
Queues a notificaton message for display in a snackbar.
void Enqueue(object content, object actionContent, Action<object> actionHandler, object actionArgument, bool promote, bool neverConsiderToBeDuplicate)
Parameters
contentobjectMessage.
actionContentobjectContent for the action button.
actionHandlerAction<object>Call back to be executed if user clicks the action button.
actionArgumentobjectArgument to pass to
actionHandler.promoteboolThe message will promoted to the front of the queue.
neverConsiderToBeDuplicateboolThe message will never be considered a duplicate.
Enqueue<TArgument>(object, object, Action<TArgument>, TArgument)
Queues a notificaton message for display in a snackbar.
void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, TArgument actionArgument)
Parameters
contentobjectMessage.
actionContentobjectContent for the action button.
actionHandlerAction<TArgument>Call back to be executed if user clicks the action button.
actionArgumentTArgumentArgument to pass to
actionHandler.
Type Parameters
TArgument
Enqueue<TArgument>(object, object, Action<TArgument>, TArgument, bool)
Queues a notificaton message for display in a snackbar.
void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, TArgument actionArgument, bool promote)
Parameters
contentobjectMessage.
actionContentobjectContent for the action button.
actionHandlerAction<TArgument>Call back to be executed if user clicks the action button.
actionArgumentTArgumentArgument to pass to
actionHandler.promoteboolThe message will be promoted to the front of the queue and never considered to be a duplicate.
Type Parameters
TArgument
Enqueue<TArgument>(object, object, Action<TArgument>, TArgument, bool, bool)
Queues a notificaton message for display in a snackbar.
void Enqueue<TArgument>(object content, object actionContent, Action<TArgument> actionHandler, TArgument actionArgument, bool promote, bool neverConsiderToBeDuplicate)
Parameters
contentobjectMessage.
actionContentobjectContent for the action button.
actionHandlerAction<TArgument>Call back to be executed if user clicks the action button.
actionArgumentTArgumentArgument to pass to
actionHandler.promoteboolThe message will be promoted to the front of the queue.
neverConsiderToBeDuplicateboolThe message will never be considered a duplicate.
Type Parameters
TArgument