Click or drag to resize
IResourceDataAccessor Interface
A resource data accessor provides access to language-specific resources of different types (see LanguageResourceType for the supported resource types).

Resources are binary-stored data streams. The caller is responsible to read the data in the resource-specific format and interpret it accordingly.

Namespace: Sdl.LanguagePlatform.Core.Resources
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public interface IResourceDataAccessor

The IResourceDataAccessor type exposes the following members.

Methods
  NameDescription
Public methodGetResourceData
Similar to ReadResourceData(CultureInfo, LanguageResourceType, Boolean) but returns the result as a byte array.
Public methodGetResourceStatus
Returns the resource status for the specified resource and the specified culture.
Public methodGetSupportedCultures
Returns all cultures for which resources are found for the provided resource type.
Public methodReadResourceData
Returns the data stream for the specified resource type and culture. If an appropriate resource is not found, an exception is thrown and/or null is returned. Callers should check for both conditions, and check the resource status before the stream is requested.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments