Table of Contents

Class MailStencilOptions

Namespace
MailStencil
Assembly
MailStencil.Core.dll

Engine-independent runtime defaults. These are configuration, not mutable runtime state.

public sealed class MailStencilOptions
Inheritance
MailStencilOptions
Inherited Members

Properties

CacheDuration

Gets or sets the absolute lifetime of successfully loaded exact template sources. Defaults to five minutes. Zero disables caching; negative values are invalid. Missing results, models and rendered output are never cached. Direct reader calls bypass this cache.

public TimeSpan CacheDuration { get; set; }

Property Value

TimeSpan

DefaultCulture

Gets or sets the default culture name. Empty selects invariant formatting and the default template variant. Explicit request cultures override this setting. No ambient culture is implied.

public string DefaultCulture { get; set; }

Property Value

string