You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
977 B
39 lines
977 B
3 years ago
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Sanhe.Abp.RealTime.Localization;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The notification that needs to be localized
|
||
|
/// </summary>
|
||
|
public class LocalizableStringInfo
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Resource name
|
||
|
/// </summary>
|
||
|
public string ResourceName { get; }
|
||
|
/// <summary>
|
||
|
/// Properties
|
||
|
/// </summary>
|
||
|
public string Name { get; }
|
||
|
/// <summary>
|
||
|
/// Formatted data
|
||
|
/// </summary>
|
||
|
public Dictionary<object, object> Values { get; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Instantiate <see cref="LocalizableStringInfo"/>
|
||
|
/// </summary>
|
||
|
/// <param name="resourceName">Resource name</param>
|
||
|
/// <param name="name">Properties</param>
|
||
|
/// <param name="values">Formatted data</param>
|
||
|
public LocalizableStringInfo(
|
||
|
string resourceName,
|
||
|
string name,
|
||
|
Dictionary<object, object> values = null)
|
||
|
{
|
||
|
ResourceName = resourceName;
|
||
|
Name = name;
|
||
|
Values = values;
|
||
|
}
|
||
|
}
|