Skip to content

Pact Web Extensions SessionExtensions

welshronaldo edited this page May 30, 2022 · 6 revisions

SessionExtensions Class

public static class SessionExtensions

Inheritance System.Object 🡒 SessionExtensions

Methods
Get<T>(ISession, string, JsonSerializerOptions) Deserialize a json object from the session
Set<T>(ISession, string, T, JsonSerializerOptions) Serialize a json value to the session
Clone this wiki locally