IUrlTransformer.MayTransformUrls Property

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Gets a value indicating whether the URL transformer is active and performs any URL transformations.
bool MayTransformUrls { get; }

Property Value

bool
true if the transformer is active and may transform a URL; otherwise, false.

Remarks

This property indicates whether the URL transformer has any active transformation rules. If there are no active rules, the transformer will not perform any transformations, and the transformation methods will always return false. In such cases, the transformer may be skipped to improve performance.