C# Класс WixSharp.RegParser

Based on Henryk Filipowicz work http://www.codeproject.com/Articles/125573/Registry-Export-File-reg-Parser Licensed under The Code Project Open License (CPOL)
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Encoding System.Text.Encoding
Entries Dictionary>

Открытые методы

Метод Описание
Parse ( string content ) : Dictionary>

Parses the reg file for reg keys and reg values

Приватные методы

Метод Описание
GetEncoding ( string content ) : string

Retrieves the encoding of the reg file, checking the word "REGEDIT4"

NormalizeDictionary ( string searchPattern, string content, bool stripeBraces ) : string>.Dictionary

Creates a flat Dictionary using given search pattern

StripeBraces ( string sLine ) : string

Removes the leading and ending parenthesis from the given string

StripeLeadingChars ( string sLine, string leadChar ) : string

Removes the leading and ending characters from the given string

Описание методов

Parse() публичный Метод

Parses the reg file for reg keys and reg values
public Parse ( string content ) : Dictionary>
content string
Результат Dictionary>

Описание свойств

Encoding публичное свойство

public Encoding,System.Text Encoding
Результат System.Text.Encoding

Entries публичное свойство

public Dictionary> Entries
Результат Dictionary>