Table of Contents

Method Restore

Namespace
MailFathom.Domain.Spam
Assembly
MailFathom.Domain.dll

Restore(string)

Reads back a profile this system derived earlier and recorded.

public static SpamClassificationProfile Restore(string value)

Parameters

value string

The recorded identity.

Returns

SpamClassificationProfile

The profile, which compares equal to a freshly derived one of the same settings.

Remarks

The shape is checked rather than trusted, because a value that is not one this type produces would compare unequal to every profile and silently make every classified message look like mail to score again.

Exceptions

ArgumentException

Thrown when the value is not an identity this type could have produced.