Class DataLocationContentResult<TContentLocation, TContentIdentifier, TLoadInfo>
- Namespace
- MES.MQC.DataSourceLibrary.Models.Connectors
- Assembly
- MES.MQC.DataSourceLibrary.dll
Result of GetDataLocationContents Define LoadInfo for the next execution.
public class DataLocationContentResult<TContentLocation, TContentIdentifier, TLoadInfo> : IDataLocationResult where TContentLocation : ContentLocationBase, new() where TContentIdentifier : IContentIdentifier, new() where TLoadInfo : LoadInfoBase, new()
Type Parameters
TContentLocationTContentIdentifierTLoadInfo
- Inheritance
-
DataLocationContentResult<TContentLocation, TContentIdentifier, TLoadInfo>
- Implements
- Inherited Members
Constructors
DataLocationContentResult()
public DataLocationContentResult()
DataLocationContentResult(IEnumerable<ContentBase<TContentLocation, TContentIdentifier>>, TLoadInfo)
public DataLocationContentResult(IEnumerable<ContentBase<TContentLocation, TContentIdentifier>> contents, TLoadInfo loadInfo)
Parameters
contentsIEnumerable<ContentBase<TContentLocation, TContentIdentifier>>loadInfoTLoadInfo
Properties
Contents
public List<ContentBase<TContentLocation, TContentIdentifier>> Contents { get; set; }
Property Value
- List<ContentBase<TContentLocation, TContentIdentifier>>
LoadInfo
public TLoadInfo LoadInfo { get; set; }
Property Value
- TLoadInfo
Type
[JsonProperty(Required = Required.Always, Order = -2147483648, PropertyName = "$type")]
public string Type { get; set; }
Property Value
Methods
GetContents()
public IEnumerable<IContent> GetContents()
Returns
GetLoadInfo()
public LoadInfoBase GetLoadInfo()