IInfoBySiteAndGuidProviderTInfo Interface |
Declares a member for retrieval of info objects by their GUID and site.
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
public interface IInfoBySiteAndGuidProvider<TInfo> where TInfo : new(), AbstractInfoBase<TInfo>
The IInfoBySiteAndGuidProviderTInfo type exposes the following members.
Name | Description | |
---|---|---|
Get |
Gets an instance of info object based on its GUID and site ID.
| |
GetAsync |
Asynchronously gets an instance of info object based on its GUID and site ID.
|