InMemoryEmailRepository

Namespace: Proffer.Email.InMemory

A repository in memory to hold sent emails through the provider.

public class InMemoryEmailRepository : IInMemoryEmailRepository

Inheritance ObjectInMemoryEmailRepository
Implements IInMemoryEmailRepository

Properties

Store

Gets the emails store.

public IReadOnlyCollection<InMemoryEmail> Store { get; }

Property Value

IReadOnlyCollection<InMemoryEmail>

Constructors

InMemoryEmailRepository()

public InMemoryEmailRepository()

Methods

Save(InMemoryEmail)

Saves the specified email in the store.

public void Save(InMemoryEmail email)

Parameters

email InMemoryEmail
The email.