Click or drag to resize
IInfoByGuidProviderTInfo Interface

Declares a member for retrieval of info objects by their GUID.

Use this interface when composing a custom provider interface. A custom provider interface can be associated with the provider using the ProviderInterfaceAttribute.

The system registers corresponding TInfo provider implementation under the custom interface into the IoC container as part of the RegisterObjectType(String, ObjectTypeInfo, Type, Boolean) method.

Unlike with IInfoProviderTInfo the system does not register the provider implementation under this interface (i.e. this interface is designed to be a part of other interfaces).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public interface IInfoByGuidProvider<TInfo>
where TInfo : new(), AbstractInfoBase<TInfo>

Type Parameters

TInfo
Type of info object managed by the provider.

The IInfoByGuidProviderTInfo type exposes the following members.

Methods
  NameDescription
Public methodGet
Gets an instance of info object based on its GUID.
Public methodGetAsync
Asynchronously gets an instance of info object based on its GUID.
Top
See Also