GenerateObjectSettingsAllowCreateObjectWithoutConstructor Property

Gets or sets whether non-value type objects are allowed to be created without using the default constructor or (in case of collections) a constructor with a collection parameter.
Default value: .

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool AllowCreateObjectWithoutConstructor { get; set; }

Property Value

Boolean

Remarks

  Caution

If the value of this property is , then it cannot be guaranteed that a generated object will be in a consistent state.

See Also