C# 클래스 MessageBus.Core.HelperExtensions

파일 보기 프로젝트 열기: parshim/MessageBus

공개 메소드들

메소드 설명
GetDataContractKey ( this properties ) : DataContractKey
GetDateTime ( this timestamp ) : System.DateTime
GetHeaderValue ( this basicProperties, string key ) : string
QueueBind ( this model, string queue, string exchange, string routingKey, IEnumerable filterHeaders ) : void
QueueBind ( this model, string queue, string exchange, string routingKey, MessageFilterInfo filterInfo ) : void
ToAmqpTimestamp ( this dateTime ) : RabbitMQ.Client.AmqpTimestamp

메소드 상세

GetDataContractKey() 공개 정적인 메소드

public static GetDataContractKey ( this properties ) : DataContractKey
properties this
리턴 DataContractKey

GetDateTime() 공개 정적인 메소드

public static GetDateTime ( this timestamp ) : System.DateTime
timestamp this
리턴 System.DateTime

GetHeaderValue() 공개 정적인 메소드

public static GetHeaderValue ( this basicProperties, string key ) : string
basicProperties this
key string
리턴 string

QueueBind() 공개 정적인 메소드

public static QueueBind ( this model, string queue, string exchange, string routingKey, IEnumerable filterHeaders ) : void
model this
queue string
exchange string
routingKey string
filterHeaders IEnumerable
리턴 void

QueueBind() 공개 정적인 메소드

public static QueueBind ( this model, string queue, string exchange, string routingKey, MessageFilterInfo filterInfo ) : void
model this
queue string
exchange string
routingKey string
filterInfo MessageFilterInfo
리턴 void

ToAmqpTimestamp() 공개 정적인 메소드

public static ToAmqpTimestamp ( this dateTime ) : RabbitMQ.Client.AmqpTimestamp
dateTime this
리턴 RabbitMQ.Client.AmqpTimestamp