Class Message<TModel>
- Namespace
- Fdyay.IdentityServer.Models
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Data carried across an interactive redirect, with when it was written. Duende's Message<TModel>.
public class Message<TModel>
Type Parameters
TModelThe data the message carries.
- Inheritance
-
Message<TModel>
- Inherited Members
Remarks
Duende 8.0.1's, measured: what its IConsentMessageStore stores, stamped with the UTC ticks of the time it is given. Duende's constructor taking the data alone is internal, and is not here.
Constructors
Message()
For a serializer, which needs a public parameterless constructor.
public Message()
Message(TModel, DateTime)
A message carrying data, created at now.
public Message(TModel data, DateTime now)
Parameters
dataTModelThe data.
nowDateTimeThe current UTC date and time.
Properties
Created
The UTC ticks the message was created at.
public long Created { get; set; }
Property Value
Data
The data.
public TModel Data { get; set; }
Property Value
- TModel