Class CultureChangedEventArgs
- Namespace
- RentADeveloper.ResXLocalization
- Assembly
- ResXLocalization.Core.dll
Provides the previous and current culture for a CultureChanged notification, raised after CurrentCulture changes.
public sealed class CultureChangedEventArgs : EventArgs
- Inheritance
-
CultureChangedEventArgs
- Inherited Members
Constructors
CultureChangedEventArgs(CultureInfo, CultureInfo)
Initializes a new instance of the CultureChangedEventArgs class.
public CultureChangedEventArgs(CultureInfo oldCulture, CultureInfo newCulture)
Parameters
oldCultureCultureInfoThe culture in effect before the change.
newCultureCultureInfoThe culture in effect after the change.
Exceptions
- ArgumentNullException
oldCultureornewCultureis null.
Properties
NewCulture
Gets the culture that is in effect after the change.
public CultureInfo NewCulture { get; }
Property Value
OldCulture
Gets the culture that was in effect before the change.
public CultureInfo OldCulture { get; }