Table of Contents

Class ExportBaseDto

Namespace
CMS.Plugin.MesSuite.Abstractions.Export
Assembly
CMS.Plugin.MesSuite.Abstractions.dll
public abstract class ExportBaseDto : ExtensibleObject, IHasExtraProperties, IValidatableObject
Inheritance
ExportBaseDto
Implements
IHasExtraProperties
Derived
Inherited Members

Constructors

ExportBaseDto(IStringLocalizer)

public ExportBaseDto(IStringLocalizer stringLocalizer)

Parameters

stringLocalizer IStringLocalizer

Properties

RowIndex

行号

public int RowIndex { get; set; }

Property Value

int

StringLocalizer

protected IStringLocalizer StringLocalizer { get; set; }

Property Value

IStringLocalizer

TranslateKey_Excel_CellRequired

public virtual string TranslateKey_Excel_CellRequired { get; }

Property Value

string

TranslateKey_Excel_Excel_MissingSheet

public virtual string TranslateKey_Excel_Excel_MissingSheet { get; }

Property Value

string

TranslateKey_Excel_MissingColumn

public virtual string TranslateKey_Excel_MissingColumn { get; }

Property Value

string

TranslateKey_Prefix

翻译文本的前缀.

public abstract string TranslateKey_Prefix { get; }

Property Value

string

Methods

GetColumnName<T>(Expression<Func<T, object>>)

public string GetColumnName<T>(Expression<Func<T, object>> expression)

Parameters

expression Expression<Func<T, object>>

Returns

string

Type Parameters

T

GetSheetName()

public string GetSheetName()

Returns

string

SetValue(IDictionary<string, object>, List<ExtraProperty>)

public void SetValue(IDictionary<string, object> value, List<ExtraProperty> extraProperties = null)

Parameters

value IDictionary<string, object>
extraProperties List<ExtraProperty>

Validate(List<ExtraProperty>)

public void Validate(List<ExtraProperty> extraProperties)

Parameters

extraProperties List<ExtraProperty>