Table of Contents

Interface IExcelService

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
public interface IExcelService
Extension Methods

Methods

Export(IEnumerable<object>, string, string, out string)

bool Export(IEnumerable<object> collection, string path, string sheetName, out string message)

Parameters

collection IEnumerable<object>
path string
sheetName string
message string

Returns

bool

Read<T>(string, Func<object, T>, out string)

IEnumerable<T> Read<T>(string filePath, Func<object, T> convert, out string message)

Parameters

filePath string
convert Func<object, T>
message string

Returns

IEnumerable<T>

Type Parameters

T