Table of Contents

Class ApplicationDataText

Namespace
SunamoShared.Storage
Assembly
SunamoShared.dll

Parser for text files with section-based grouping (e.g. "Copy:", "Shared", "[Header]").

public class ApplicationDataText
Inheritance
ApplicationDataText
Inherited Members
Extension Methods

Methods

Parse(string, List<string>)

Parses a text file into sections, returning a dictionary of section names to their content lines.

public static Task<Dictionary<string, List<string>>> Parse(string file, List<string> sections)

Parameters

file string

The file path to parse.

sections List<string>

The section header names to look for.

Returns

Task<Dictionary<string, List<string>>>