说明
In the script, write read / write settings using API of "CsvHelper" which is a open source .Net class library.
[Script example]
-------------------
/* Get the API object that can be used in this script */
ICsvEditSharpApi api = GetCsvEditSharpApi();
/* Encoding of CSV file */
api.Encoding = Encoding.GetEncoding("utf-8");
/* Configuration settings for CSV Helper */
api.CsvConfiguration = new CsvConfiguration( CultureInfo.GetCultureInfo("en-US"))
{
HasHeaderRecord = true
};
/*****************************
Definition of record class
*****************************/
class FieldData
{
public string Name { get; set; }
[Format("d")]
public DateTime Birthday { get; set; }
public Gender Gender { get; set; }
public bool Married { get; set; }
[NumberStyles(NumberStyles.Currency)]
[Format("C")]
public decimal PocketMoney { get; set; }
}
/****************************************
Define the enum type of selection item
****************************************/
enum Gender
{
Male,
Female,
Other
}
/**********************************************
Register auto class maps in CSV reader/writer
**********************************************/
api.RegisterClassMap();
/************************
Add custom validations
************************/
api.AddValidation(
m => m.Birthday,
dt => dt.Date < DateTime.Now.Date,
"Cannot enter a future date.");
api.AddValidation(
m => m.PocketMoney,
n => n > 0 && n < 10000,
"PocketMoney must be in the range $0 to $10000.");
-------------------
For details of APIs that can be used in scripts, see below.
[GitHub]
https://github.com/pierre3/CsvEditSharp
[CsvHelper]
https://joshclose.github.io/CsvHelper/
屏幕截图
新版变化
- 版本: PC
- 已更新:
价格
- 今天: 免费
- 最小值: 免费
- 最大值: 免费
可选
开发人员
- pierre3
- 平台: Windows 应用 (1)
- 列表: 0 + 0
- 积分: 0 + 0 ¡
- 排名: 0
- 评价: 0
- 折扣: 0
- 视频: 0
- RSS: 订阅
积分
未找到 ☹️
排名
未找到 ☹️
列表
未找到 ☹️
评价
抢先评价一下吧 🌟
其他信息
- 版本: PC
- ID: 9PN205V6THDN
- 类别:
Windows 应用
›实用程序与工具
- 操作系统:
HoloLens
,Mobile
,PC
,Surface Hub
- 大小:
90 Mb
- 支持的语言:
English
- 内容分级:
EVERYONE
- Windows Store 评分:
0
- 已更新:
- 发布日期:
您可能还喜欢
-
- CSV Format Editor
- Windows 应用: 实用程序与工具 来自: ptl1998naganodevall
- $1.39
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: PC ・Edit csv ・Convert csv to tsv ・Convert csv to json ・Convert csv to xml ・Convert csv to html ・Convert csv to excel ・Split csv file ・Join csv file ・Search csv ⥯
-
- Edit PDF Pages with PDFCool
- Windows 应用: 实用程序与工具 来自: Newera Software Technology Inc.
- $19.99
- 列表: 1 + 0 排名: 0 评价: 0
- 积分: 1 + 4 (3.8) 版本: PC "Edit PDF Pages with PDFCool" is an easy-to-use but powerful PDF page handler. It can be used to edit and modify PDF pagess. You can add, del, export, insert and copy pages of PDF. In ... ⥯
-
- Edit Docx PLUS
- Windows 应用: 实用程序与工具 来自: File Format Apps
- * 免费
- 列表: 1 + 0 排名: 0 评价: 0
- 积分: 7 + 1,555 (4.7) 版本: PC With Edit Docx PLUS, you can not only create and edit Word documents (.doc and .docx) directly, but also open many more common document formats (.odt, .wps and etc.). Support formats: ... ⥯
-
- CSV Viewer Free
- Windows 应用: 实用程序与工具 来自: pauljohn
- 免费
- 列表: 1 + 0 排名: 0 评价: 0
- 积分: 1 + 541 (2.4) 版本: PC This app is a free Office solution which offers easy viewing of Microsoft Office spreadsheets such as CSV / XLS / XLSX, it can open formats such as .CSV files. This app is the One ... ⥯
-
- CSV to Dictionary Converter
- Windows 应用: 实用程序与工具 来自: Lacko Luboslav
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 3 (3.7) 版本: PC Application convert data from CSV (Comma-separated values) file to C# Dictionary structure (Key / Value pairs). Application use data with comma or semicolon separator. Attributes may ... ⥯
-
- Mepro CSV Editor
- Windows 应用: 实用程序与工具 来自: Metin Morris
- $1.89
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: PC CSV files are simple text files that contain values separated by commas, semicolons, or separator marks. They are widely used in most data analysis and reporting programs. However, ... ⥯
-
- Barcode Edit
- Windows 应用: 实用程序与工具 来自: Needed Special Tools
- $1.99
- 列表: 1 + 0 排名: 0 评价: 0
- 积分: 3 + 1 (1.0) 版本: PC Barcode Edit has following features: - Read barcode information - Create barcode as image file - Create QR barcodes from rows of *.csv file Supported barcode formats to create image: ... ⥯
-
- ICAL to CSV Converter
- Windows 应用: 实用程序与工具 来自: Freytag and Company LLC
- * 免费
- 列表: 1 + 0 排名: 0 评价: 0
- 积分: 2 + 8 (3.5) 版本: PC iCAL to CSV Converter is an all-in-one tool that privately converts your ICS (calendar) file to a convenient CSV (comma-separated value) file OR does the reverse and converts your CSV ... ⥯
-
- Spreadsheet-xlsx&csv editor
- Windows 应用: 实用程序与工具 来自: Shenzhen Biggerlens Technology Co., Ltd
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: PC Form making tool software and daily office software; It allows you to create, view, edit, and share forms at any time. It provides a variety of form templates, and can quickly produce ... ⥯
-
- MBOX To CSV Converter
- Windows 应用: 实用程序与工具 来自: ITBeaver
- $4.99
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 4 (2.8) 版本: PC This application is designed to convert e-mail export file(.mbox) to simple text file(.csv). Drag and drop or open file to easily convert. You can change default separator to comma or ... ⥯
-
- vCard CSV Exchange
- Windows 应用: 实用程序与工具 来自: Quant Games LLC
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 28 (2.0) 版本: PC This tool can help with conversion of contact data between CSV (Outlook.com exchange format) and vCard .VCF used by Nokia mobile and feature (like Asha) phones. ⥯
-
- Screen Recorder - Record Audio, Capture, Edit
- Windows 应用: 实用程序与工具 来自: Good Job Apps
- * 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 2 + 54 (2.8) 版本: PC Perfect app to record and capture the screen in video formats. Screen recording of any app can be done in live application usage mode, like typing any message, record video calls, ... ⥯
-
- PDF View and Edit
- Windows 应用: 实用程序与工具 来自: Christian Regli
- $2.09
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 4 (5.0) 版本: PC Full featured PDF viewer with annotation capabilities. Nice and cleanly organized. Open and display both normal and PDF files protected with AES and RC4 encryption algorithms (password ⥯
-
- TXT Editer (win10)
- Windows 应用: 实用程序与工具 来自: Shuolin Wei
- * 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 4 (2.0) 版本: PC Edit TXT file except ANSI encoding format ⥯