MrKWatkins.Reflection 1.3.1 Help

PropertyInfoExtensions.HasInitSetter Method

Definition

Returns true if the specified PropertyInfo has a setter marked with the init modifier; false otherwise.

public static bool HasInitSetter(this PropertyInfo property);

Parameters

Name

Type

Description

property

PropertyInfo

The property.

Returns

Boolean

true if property has a setter marked with the init modifier; false otherwise.

Last modified: 17 December 2024