MetalamaAPI documentationPatterns APIMetalama.​Patterns.​ContractsContract­Base­AttributeIs­Inheritable
Open sandboxFocus

ContractBaseAttribute.IsInheritable Property

IsInheritable

Gets or sets a value indicating whether this contract should be inherited to derived types or overriding members. When this property is not set, its default value is read from ContractOptions. When no value is defined in ContractOptions, the default value of this property is true.

Declaration
public bool IsInheritable { get; set; }
Property Value
Type Description
System.Boolean