translation using NGettext.Wpf
This commit is contained in:
16
src/NGettext.Wpf/CultureEventArgs.cs
Normal file
16
src/NGettext.Wpf/CultureEventArgs.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
namespace NGettext.Wpf
|
||||
{
|
||||
public class CultureEventArgs : EventArgs
|
||||
{
|
||||
public CultureEventArgs(CultureInfo cultureInfo)
|
||||
{
|
||||
if (cultureInfo == null) throw new ArgumentNullException(nameof(cultureInfo));
|
||||
CultureInfo = cultureInfo;
|
||||
}
|
||||
|
||||
public CultureInfo CultureInfo { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user