Table of Contents

Class NpoiService

Namespace
HeBianGu.Systems.Excel
Assembly
HeBianGu.Systems.Excel.dll
public class NpoiService : ServiceSettingInstance<NpoiService, IExcelService>, INotifyPropertyChanged, IDisplayer, ISetting, IExcelService, INpoiServiceOption
Inheritance
NpoiService
Implements
Inherited Members
Extension Methods

Methods

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

public 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)

public 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