Skip to content

Brine2DOptions.Validate() Method

Definition

Namespace: Brine2D.Hosting

Validates all options using DataAnnotations. Called automatically by Build() and at host startup. Subsequent calls short-circuit if the first validation succeeded.

public void Validate();

Exceptions

GameConfigurationException
Thrown if validation fails with detailed error messages.