C# 클래스 ModServer.HelperClass

파일 보기 프로젝트 열기: tyandjel94/RowanParkingPassApp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
transformNull string>.Func

보호된 프로퍼티들

프로퍼티 타입 설명
stream Stream

공개 메소드들

메소드 설명
HelperClass ( Stream stream, TcpClient client ) : System
parseKVP ( string parseMe, char seperator, char terminator, bool trim = false, string>.Func transform = null ) : string>.Dictionary

Attempts to convert a string of key value pairs to a Dictionary object.

메소드 상세

HelperClass() 공개 메소드

public HelperClass ( Stream stream, TcpClient client ) : System
stream Stream
client System.Net.Sockets.TcpClient
리턴 System

parseKVP() 공개 정적인 메소드

Attempts to convert a string of key value pairs to a Dictionary object.
public static parseKVP ( string parseMe, char seperator, char terminator, bool trim = false, string>.Func transform = null ) : string>.Dictionary
parseMe string The string to parse
seperator char The string between the key and the value
terminator char The string seperating each key value pair
trim bool
transform string>.Func A function that takes one string parameter and returns a transformed version of the text. Applied to both key and value AFTER parsing
리턴 string>.Dictionary

프로퍼티 상세

stream 보호되어 있는 프로퍼티

protected Stream stream
리턴 Stream

transformNull 공개적으로 정적으로 프로퍼티

public static Func transformNull
리턴 string>.Func