Table of Contents

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

oldCulture CultureInfo

The culture in effect before the change.

newCulture CultureInfo

The culture in effect after the change.

Exceptions

ArgumentNullException

oldCulture or newCulture is null.

Properties

NewCulture

Gets the culture that is in effect after the change.

public CultureInfo NewCulture { get; }

Property Value

CultureInfo

OldCulture

Gets the culture that was in effect before the change.

public CultureInfo OldCulture { get; }

Property Value

CultureInfo