Click or drag to resize
IInfoProviderFakeTInfo, TProvider Interface
Interface for automated tests fake of the info provider

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public interface IInfoProviderFake<TInfo, out TProvider>
where TInfo : new(), AbstractInfoBase<TInfo>, IInfo
where TProvider : BaseAbstractInfoProvider

Type Parameters

TInfo
TProvider

The IInfoProviderFakeTInfo, TProvider type exposes the following members.

Properties
  NameDescription
Public propertyProviderObject
Faked provider object
Public propertySourceData
Source data for the provider
Top
Methods
  NameDescription
Public methodIncludeData
Includes the given data to the source items while keeping the existing data intact
Public methodReset
Resets the fake
Public methodWithData
Fakes the data for the given provider. Resets any previous data and only includes the given source items.
Public methodWithOriginalSourceName
Ensures that the original data source name is used for the faked data
Top
See Also