/// <summary> /// Gets state data stored with the specified key. /// </summary> /// <typeparam name="T">The type of data to retrieve.</typeparam> /// <param name="key">An object representing the unique key with which the data was stored.</param> /// <returns>An instance of <typeparamref name="T"/> or null if not found.</returns> public T Get <T>(object key) { return(_state.Get <T>(key)); }