| IResourceDataAccessor Interface |
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
The IResourceDataAccessor type exposes the following members.
| Name | Description | |
|---|---|---|
| GetResourceData |
Similar to ReadResourceData(CultureInfo, LanguageResourceType, Boolean) but returns the result as a byte array.
| |
| GetResourceStatus |
Returns the resource status for the specified resource and the specified culture.
| |
| GetSupportedCultures |
Returns all cultures for which resources are found for the provided resource type.
| |
| ReadResourceData |
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.
|