MessageSource(string, ResourceManager)
Instantiates a MessageSource backed by a ResourceManager.
Declaration
public MessageSource(string source, ResourceManager resourceManager)
Parameters
Type | Name | Description |
---|---|---|
string | source | Source name. |
ResourceManager | resourceManager | The ResourceManager. |
MessageSource(string, IMessageDispenser)
Initializes a new MessageSource backed by a IMessageDispenser.
Declaration
public MessageSource(string source, IMessageDispenser messageDispenser)
Parameters
Type | Name | Description |
---|---|---|
string | source | Name of the component emitting. the messages. |
IMessageDispenser | messageDispenser | The IMessageDispenser that will be used to retrieve message texts. |