Table of Contents

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

TContentLocation
TContentIdentifier
TLoadInfo
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

contents IEnumerable<ContentBase<TContentLocation, TContentIdentifier>>
loadInfo TLoadInfo

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

string

Methods

GetContents()

public IEnumerable<IContent> GetContents()

Returns

IEnumerable<IContent>

GetLoadInfo()

public LoadInfoBase GetLoadInfo()

Returns

LoadInfoBase