Table of Contents

Class PolicySimulatorOptions

Namespace
ReferenceApplication.Web.Governance.Simulation
Assembly
ReferenceApplication.Web.dll

Configures the Development-only, administrator-only policy simulator in the governance explorer.

public sealed class PolicySimulatorOptions
Inheritance
PolicySimulatorOptions
Inherited Members

Fields

MaximumPayloadLength

Gets the longest sample payload accepted, matching the sample record title limit.

public const int MaximumPayloadLength = 160

Field Value

int

SectionName

Gets the configuration section for the simulator.

public const string SectionName = "ReferenceApplication:PolicySimulator"

Field Value

string

Properties

Enabled

Gets or sets a value indicating whether the simulator is explicitly enabled. The simulator remains unavailable outside Development.

public bool Enabled { get; set; }

Property Value

bool