Class MessageBoxFactory
- Namespace
- JJMasterData.Core.UI.Components
- Assembly
- JJMasterData.Core.dll
public class MessageBoxFactory : IComponentFactory<JJMessageBox>
- Inheritance
-
MessageBoxFactory
- Implements
-
- Inherited Members
-
Constructors
MessageBoxFactory(IStringLocalizer<MasterDataResources>)
public MessageBoxFactory(IStringLocalizer<MasterDataResources> stringLocalizer)
Parameters
stringLocalizer
IStringLocalizer<MasterDataResources>
Properties
StringLocalizer
public IStringLocalizer<MasterDataResources> StringLocalizer { get; }
Property Value
- IStringLocalizer<MasterDataResources>
Methods
Create()
public JJMessageBox Create()
Returns
- JJMessageBox
Create(Dictionary<string, string>, MessageIcon)
public JJMessageBox Create(Dictionary<string, string> errors, MessageIcon icon)
Parameters
errors
Dictionary<string, string>
icon
MessageIcon
Returns
- JJMessageBox
Create(string, MessageIcon)
public JJMessageBox Create(string text, MessageIcon icon)
Parameters
text
string
icon
MessageIcon
Returns
- JJMessageBox
Create(string, string, MessageIcon, MessageSize)
public JJMessageBox Create(string title, string text, MessageIcon icon, MessageSize size)
Parameters
title
string
text
string
icon
MessageIcon
size
MessageSize
Returns
- JJMessageBox