C# Class Tp.Integration.Messages.ServiceBus.BusExtensions

显示文件 Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
GetInAccountName ( this bus ) : AccountName
GetInProfileName ( this bus ) : ProfileName
GetInSagaId ( this bus ) : System.Guid
GetOutAccountName ( this bus ) : AccountName
GetOutProfileName ( this bus ) : ProfileName
GetOutSagaId ( this bus ) : System.Guid
SetIn ( this bus, AccountName accountName ) : void
SetIn ( this bus, ProfileName profileName ) : void
SetInSagaId ( this bus, System.Guid sagaId ) : void
SetOut ( this bus, AccountName account ) : void
SetOut ( this bus, ProfileName profileName ) : void
SetOutSagaId ( this bus, System.Guid sagaId ) : void

Private Methods

Method Description
ConvertToAccountName ( string name ) : AccountName
GetSagaId ( string>.IDictionary headers ) : System.Guid

Method Details

GetInAccountName() public static method

public static GetInAccountName ( this bus ) : AccountName
bus this
return AccountName

GetInProfileName() public static method

public static GetInProfileName ( this bus ) : ProfileName
bus this
return ProfileName

GetInSagaId() public static method

public static GetInSagaId ( this bus ) : System.Guid
bus this
return System.Guid

GetOutAccountName() public static method

public static GetOutAccountName ( this bus ) : AccountName
bus this
return AccountName

GetOutProfileName() public static method

public static GetOutProfileName ( this bus ) : ProfileName
bus this
return ProfileName

GetOutSagaId() public static method

public static GetOutSagaId ( this bus ) : System.Guid
bus this
return System.Guid

SetIn() public static method

public static SetIn ( this bus, AccountName accountName ) : void
bus this
accountName AccountName
return void

SetIn() public static method

public static SetIn ( this bus, ProfileName profileName ) : void
bus this
profileName ProfileName
return void

SetInSagaId() public static method

public static SetInSagaId ( this bus, System.Guid sagaId ) : void
bus this
sagaId System.Guid
return void

SetOut() public static method

public static SetOut ( this bus, AccountName account ) : void
bus this
account AccountName
return void

SetOut() public static method

public static SetOut ( this bus, ProfileName profileName ) : void
bus this
profileName ProfileName
return void

SetOutSagaId() public static method

public static SetOutSagaId ( this bus, System.Guid sagaId ) : void
bus this
sagaId System.Guid
return void