Table of Contents

Class FileContent<TLocation, TIdentifier>

Namespace
MES.MQC.DataSourceLibrary.Models.Connectors
Assembly
MES.MQC.DataSourceLibrary.dll
public class FileContent<TLocation, TIdentifier> : ContentBase<TLocation, TIdentifier>, IFileContent, IContent where TLocation : ContentLocationBase, new() where TIdentifier : IContentIdentifier, new()

Type Parameters

TLocation
TIdentifier
Inheritance
ContentBase<TLocation, TIdentifier>
FileContent<TLocation, TIdentifier>
Implements
Derived
Inherited Members

Properties

FileExtension

[YamlIgnore]
[JsonIgnore]
public string FileExtension { get; }

Property Value

string

FileName

[YamlIgnore]
[JsonIgnore]
public string FileName { get; }

Property Value

string

FileNameWithoutExtension

[YamlIgnore]
[JsonIgnore]
public string FileNameWithoutExtension { get; }

Property Value

string

FilePath

public string FilePath { get; set; }

Property Value

string

FileZipContents

[YamlIgnore]
[JsonIgnore]
public Dictionary<string, List<IFileZipContent>> FileZipContents { get; set; }

Property Value

Dictionary<string, List<IFileZipContent>>

FullFilePath

[YamlIgnore]
[JsonIgnore]
public virtual string FullFilePath { get; }

Property Value

string

Methods

AsZipContent()

public IFileZipContent AsZipContent()

Returns

IFileZipContent

Clear()

public override void Clear()

GetFileZipPaths()

public string[] GetFileZipPaths()

Returns

string[]

SetFileZipPaths(IEnumerable<string>)

public void SetFileZipPaths(IEnumerable<string> fileZipPaths)

Parameters

fileZipPaths IEnumerable<string>