Share via


ProtocolAttribute.BackwardsCompatibleCodeGeneration Property

Definition

This property indicates whether the binding generator will generate backwards-compatible code for the protocol in question.

In particular, if this property is true, then the binding generator will generate extension methods for optional members and ProtocolMemberAttribute attributes on the protocol interface for all protocol members.

public bool BackwardsCompatibleCodeGeneration { get; set; }
member this.BackwardsCompatibleCodeGeneration : bool with get, set

Property Value

Remarks

This property is by default true.

Applies to