Table of Contents

Class DODataInitializedEventDataProtector

Namespace: Casewhere.Runtime.DataProtection
Assembly: Casewhere.Runtime.dll

public class DODataInitializedEventDataProtector : IEventDataProtector

Inheritance

objectDODataInitializedEventDataProtector

Implements

IEventDataProtector

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<DODataInitializedEventDataProtector>(DODataInitializedEventDataProtector)

Constructors

DODataInitializedEventDataProtector(IObjectDataProtector, IObjectDataHasher)

public DODataInitializedEventDataProtector(IObjectDataProtector protector, IObjectDataHasher hasher)

Parameters

protector IObjectDataProtector

hasher IObjectDataHasher

Methods

Accept(IDomainEvent)

public bool Accept(IDomainEvent @event)

Parameters

event IDomainEvent

Returns

bool

Protect(IDomainEvent)

public IDomainEvent Protect(IDomainEvent @event)

Parameters

event IDomainEvent

Returns

IDomainEvent

Unprotect(IDomainEvent)

public IDomainEvent Unprotect(IDomainEvent @event)

Parameters

event IDomainEvent

Returns

IDomainEvent