Table of Contents

Struct LocalizedResource

Namespace
Cryville.EEW
Assembly
Cryville.EEW.dll
Represents access to a localized resource set.
public readonly struct LocalizedResource : IDisposable
Implements
Inherited Members

Constructors

LocalizedResource(string, CultureInfo?)

Creates a new instance of the LocalizedResource struct.
public LocalizedResource(string type, CultureInfo? culture)

Parameters

type string
The name of the localized resource.
culture CultureInfo
The preferred culture of the resource.

Exceptions

InvalidOperationException
The resources have not been initialized yet.

LocalizedResource(string, ref CultureInfo?)

Creates a new instance of the LocalizedResource struct.
public LocalizedResource(string type, ref CultureInfo? culture)

Parameters

type string
The name of the localized resource.
culture CultureInfo
The preferred culture of the resource. When the constructor returns, set to the actual culture of the resource.

Exceptions

InvalidOperationException
The resources have not been initialized yet.

Properties

RootMessageStringSet

The root message string set of the resource.
public IMessageStringSet RootMessageStringSet { get; }

Property Value

IMessageStringSet

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()