Class CultureContext
Allows switching the current thread to a new culture in a using block that will automatically return the culture to its previous state upon completion.
Inheritance
System.Object
CultureContext
Assembly: DistributedLucene.Net.dll
Syntax
public class CultureContext : IDisposable
Constructors
Name | Description |
---|---|
CultureContext(CultureInfo) | |
CultureContext(CultureInfo, CultureInfo) | |
CultureContext(String) | |
CultureContext(String, String) |
Properties
Name | Description |
---|---|
OriginalCulture | |
OriginalUICulture |
Methods
Name | Description |
---|---|
Dispose() | |
RestoreOriginalCulture() |