C# 클래스 Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Helpers.ParsingHelper

파일 보기 프로젝트 열기: Azure/azure-iot-remote-monitoring

공개 메소드들

메소드 설명
ParseCsv ( TextReader textReader ) : IEnumerable

Parses a TextReader's contents as a CSV.

ToDictionaries ( this parsedCsv ) : string>>.IEnumerable

Expresses a parsed CSV's items as string dictionaries.

The first parsed item's contents will be used as keys for subsequent items.

ToExpandoObjects ( this parsedCsv ) : IEnumerable

Expresses a parsed CSV's items as ExpandoObjects.

The first parsed item's contents will be used as property names for subsequent items.

메소드 상세

ParseCsv() 공개 정적인 메소드

Parses a TextReader's contents as a CSV.
public static ParseCsv ( TextReader textReader ) : IEnumerable
textReader TextReader /// The TextReader with contents to parse as a CSV. ///
리턴 IEnumerable

ToDictionaries() 공개 정적인 메소드

Expresses a parsed CSV's items as string dictionaries.
The first parsed item's contents will be used as keys for subsequent items.
public static ToDictionaries ( this parsedCsv ) : string>>.IEnumerable
parsedCsv this /// The parsed CSV's items. ///
리턴 string>>.IEnumerable

ToExpandoObjects() 공개 정적인 메소드

Expresses a parsed CSV's items as ExpandoObjects.
The first parsed item's contents will be used as property names for subsequent items.
public static ToExpandoObjects ( this parsedCsv ) : IEnumerable
parsedCsv this /// The parsed CSV's items. ///
리턴 IEnumerable