Interface IDataSourceCache

Defines an option list cache.

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public interface IDataSourceCache

Methods

Get(string)

Gets an IDataSource.

Declaration
RequestResponse

IDataSource Get(string dataSourceName)
Parameters
TypeNameDescription
stringdataSourceName

The name of the option list.

Returns
TypeDescription
IDataSource

An IDataSource.

Invalidate(string)

Invalidates a cache entry.

Declaration
RequestResponse

void Invalidate(string dataSourceName)
Parameters
TypeNameDescription
stringdataSourceName

The name of the option list.

Load(IDataSource)

Loads an IDataSource.

Declaration
RequestResponse

void Load(IDataSource dataSource)
Parameters
TypeNameDescription
IDataSourcedataSource

The IDataSource.

Do you have some feedback for us?

If you have suggestions for improving this article,