IInfoProviderTInfo Interface |
Declares members for retrieval and manipulation of info objects. The system registers corresponding TInfo provider implementation under this interface into the IoC container as part of the RegisterObjectType(String, ObjectTypeInfo, Type, Boolean) method.
Provider types declaring their own interface using the ProviderInterfaceAttribute class are registered under that interface as well.
To retrieve an instance of the provider use ResolveTService or constructor dependency on the interface.
Namespace: CMS.DataEngine
public interface IInfoProvider<TInfo> where TInfo : new(), AbstractInfoBase<TInfo>
The IInfoProviderTInfo type exposes the following members.
Name | Description | |
---|---|---|
Delete |
Deletes the info object from the underlying data store.
| |
Get |
Gets the object query for TInfo retrieval.
| |
Set |
Inserts or updates the info object in the underlying data store.
|