Click or drag to resize
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
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public interface IInfoProvider<TInfo>
where TInfo : new(), AbstractInfoBase<TInfo>

Type Parameters

TInfo
Type of info object managed by the provider.

The IInfoProviderTInfo type exposes the following members.

Methods
  NameDescription
Public methodDelete
Deletes the info object from the underlying data store.
Public methodGet
Gets the object query for TInfo retrieval.
Public methodSet
Inserts or updates the info object in the underlying data store.
Top
Remarks
See Also