Table of Contents

Interface IDataLocationFileConnector<TForm, TContentLocation, TContentIdentifier, TLoadInfo>

Namespace
MES.MQC.DataSourceLibrary.Interfaces
Assembly
MES.MQC.DataSourceLibrary.dll
public interface IDataLocationFileConnector<TForm, TContentLocation, TContentIdentifier, TLoadInfo> : IDataLocationConnector<TForm, TContentLocation, TContentIdentifier, TLoadInfo>, IDataLocationFileConnector, IDataLocationConnector, IFormAdapter where TForm : Form, new() where TContentLocation : ContentLocationBase, new() where TContentIdentifier : IContentIdentifier, new() where TLoadInfo : LoadInfoBase, new()

Type Parameters

TForm
TContentLocation
TContentIdentifier
TLoadInfo
Inherited Members

Methods

GetContentStream(DataLocationConnectorContext<TForm, TContentLocation, TContentIdentifier, TLoadInfo>, FileContent<TContentLocation, TContentIdentifier>, out string)

Stream GetContentStream(DataLocationConnectorContext<TForm, TContentLocation, TContentIdentifier, TLoadInfo> context, FileContent<TContentLocation, TContentIdentifier> content, out string error)

Parameters

context DataLocationConnectorContext<TForm, TContentLocation, TContentIdentifier, TLoadInfo>
content FileContent<TContentLocation, TContentIdentifier>
error string

Returns

Stream

GetRelatedContents(DataLocationConnectorContext<TForm, TContentLocation, TContentIdentifier, TLoadInfo>, FileContent<TContentLocation, TContentIdentifier>, RelatedContentRequest[])

IFileContent[] GetRelatedContents(DataLocationConnectorContext<TForm, TContentLocation, TContentIdentifier, TLoadInfo> context, FileContent<TContentLocation, TContentIdentifier> content, RelatedContentRequest[] relatedContentRequests)

Parameters

context DataLocationConnectorContext<TForm, TContentLocation, TContentIdentifier, TLoadInfo>
content FileContent<TContentLocation, TContentIdentifier>
relatedContentRequests RelatedContentRequest[]

Returns

IFileContent[]