Open sandboxFocus

Property Constant

Constant

Gets an ObservabilityContract that guarantees that the outputs of a method depend only on its input parameters (i.e., identical inputs will always produce identical outputs) and that the method has no side effects on observable state.

Declaration
public static ObservabilityContract Constant { get; }
Property Value
Type Description
ObservabilityContract
Remarks

When applied to a type, the guarantee must hold for all methods and properties within that type.