Represents guarantees made by a method, field or property with regards to the ObservableAttribute aspect.
Implements
Namespace: Metalama.Patterns.Observability.Configuration
Assembly: Metalama.Patterns.Observability.dll
Syntax
[CompileTime]
public sealed class ObservabilityContract : ICompileTimeSerializable
Properties
Name | Description |
---|---|
Constant | Gets an ObservabilityContract that guarantees that the outputs of the member (1) do depend on any non-constant input (i.e. will always be identical given identical inputs) and (2) are themselves constant. When applied to a type, the guarantee must hold for all methods and properties. |