C# 클래스 Burrow.ConnectionString

Parses a connection string for the values required to connect to a RabbitMQ broker instance. Connection string should look something like this: host=192.168.1.1;port=5672;virtualHost=MyVirtualHost;username=MyUsername;password=MyPassword
파일 보기 프로젝트 열기: vanthoainguyen/Burrow.NET 1 사용 예제들

공개 메소드들

메소드 설명
ConnectionString ( string connectionStringValue ) : System

Create a ConnectionString object by a string value

GetValue ( string key ) : string

Get value of a key from the connection string

GetValue ( string key, string defaultValue ) : string

Get value of a key from the connection string, return default value if the key is not set or the key value is null or empty

메소드 상세

ConnectionString() 공개 메소드

Create a ConnectionString object by a string value
public ConnectionString ( string connectionStringValue ) : System
connectionStringValue string
리턴 System

GetValue() 공개 메소드

Get value of a key from the connection string
public GetValue ( string key ) : string
key string
리턴 string

GetValue() 공개 메소드

Get value of a key from the connection string, return default value if the key is not set or the key value is null or empty
public GetValue ( string key, string defaultValue ) : string
key string
defaultValue string
리턴 string