Class ServiceRequest<TAuthenticationToken>
A request message envelope that holds authentication and correlation information used when making public API requests.
Inheritance
System.Object
ServiceRequest<TAuthenticationToken>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Services
Assembly: Cqrs.dll
Syntax
[Serializable]
[DataContract]
public class ServiceRequest<TAuthenticationToken> : IServiceRequest<TAuthenticationToken>
Type Parameters
Name | Description |
---|---|
TAuthenticationToken | The System.Type of authentication token used. |
Properties
AuthenticationToken
The authentication token used to identify the requester.
Declaration
[DataMember]
public TAuthenticationToken AuthenticationToken { get; set; }
Property Value
Type | Description |
---|---|
TAuthenticationToken |
Implements
CorrelationId
The correlation id used to group together events and notifications.
Declaration
[DataMember]
public Guid CorrelationId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |