Interface IInfoProvider
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Interface describing common info object provider.
public interface IInfoProvider : ICustomizableProvider, IBulkOperationProvider, IWebFarmProvider
- Inherited Members
- Extension Methods
Methods
GetInfoByFullName(string)
Gets the info by given full name.
BaseInfo GetInfoByFullName(string fullName)
Parameters
fullNamestringFull name of the object
Returns
GetInfoByGuid(Guid)
Gets the info by given GUID.
BaseInfo GetInfoByGuid(Guid guid)
Parameters
guidGuidGUID of the object
Returns
GetInfoById(int)
Gets the info by given id.
BaseInfo GetInfoById(int id)
Parameters
idintID of the object
Returns
GetInfoByName(string)
Gets the info by given code name.
BaseInfo GetInfoByName(string name)
Parameters
namestringName of the object
Returns
GetInfosByIds(IEnumerable<int>)
Gets the infos by ids collection.
SafeDictionary<int, BaseInfo> GetInfosByIds(IEnumerable<int> ids)
Parameters
idsIEnumerable<int>IDs of the objects
Returns
- SafeDictionary<int, BaseInfo>