Click or drag to resize
CultureSwitcher Class
A class that switches the current thread to a particular culture when it is created and then restores the original culture when it's disposed.
Inheritance Hierarchy
SystemObject
  VirtualRadar.InterfaceCultureSwitcher

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class CultureSwitcher : IDisposable

The CultureSwitcher type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCultureName
Gets the name of the culture currently in force.
Public propertyStatic memberMainThreadCulture
Gets the main thread's CultureInfo.
Top
Methods
  NameDescription
Public methodDispose
Disposes of the object. Resets the culture back to how the constructor found it.
Protected methodDispose(Boolean)
Disposes of or finalises the object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalises the object.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also