Advertisement
Overview
CsvEditSharp is a CSV editor that describes read / write settings with C # script.
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 (
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/
Additional Information
- Developed by pierre3
- Version 2022.03.12
-
Requires
Available on: PC, Mobile, Surface Hub, HoloLens
OS: Windows 10 version 16299.0 or higher
Keyboard: Integrated Keyboard
Mouse: Integrated Mouse
- Published 2020-02-06
- Size 90.05 MB
- File Type appx/msix
-
Language
English (United States)
-
Permissions
Uses all system resources
- Microsoft Store ID 9pn205v6thdn
Advertisement
How to download and install CSV Edit Sharp from the Microsoft
Method 1: Download and Install via the Microsoft Store
This is the most straightforward and secure way to get CSV Edit Sharp.Step 1: Open the Microsoft Store
Step 2: Search for CSV Edit Sharp
Step 3: Download and Install
Step 4: Access the App
Method 2: Download from the Official Microsoft Website
If you prefer downloading directly from the web, you can use the official Microsoft website.Step 1: Visit the CSV Edit Sharp Page
Step 2: Download the App
Step 3: Install CSV Edit Sharp
Step 4: Use CSV Edit Sharp
Tips for a Smooth Installation
Conclusion:
Both methods ultimately utilize the Microsoft Store, ensuring the app's safety and reliability. Whether you prefer browsing within the Store or starting via the website, both approaches lead you to successfully download and install CSV Edit Sharp.CSV Edit Sharp FAQs
How to download and Install CSV Edit Sharp on Windows PC via the NWindows Store
How to Search and Download CSV Edit Sharp for PC Windows?