public Settings() { DateTimeType = DateTimeType.Ticks; ThrowOnError = true; OverrideExistingData = true; CharacterPaddingType = CharacterPaddingType.SPACEPAD; CharacterSetType = CharacterSetType.UTF8; Version = 2.0f; }
internal static H5T.str_t GetCharacterPadding(CharacterPaddingType characterPaddingType) { switch (characterPaddingType) { case CharacterPaddingType.NULLTERM: return(H5T.str_t.NULLTERM); case CharacterPaddingType.NULLPAD: return(H5T.str_t.NULLPAD); case CharacterPaddingType.SPACEPAD: return(H5T.str_t.SPACEPAD); default: throw new ArgumentOutOfRangeException(nameof(characterPaddingType), characterPaddingType, null); } }
public Settings(DateTimeType dateTimeType, bool lowerCaseNaming, bool throwOnError, bool overrideExistingData, CharacterSetType characterSetType, CharacterPaddingType characterPaddingType) : this(dateTimeType, lowerCaseNaming, throwOnError, overrideExistingData) { CharacterPaddingType = characterPaddingType; CharacterSetType = characterSetType; }