public EnumSettings(AttributeData?attribute) { KeyComparer = attribute?.FindKeyComparer().TrimAndNullify(); KeyPropertyName = attribute?.FindKeyPropertyName().TrimAndNullify(); IsExtensible = attribute?.IsExtensible() ?? false; }