/// <inheritdoc cref="NtCore.GetEntryRaw(string)"/> public byte[] GetEntryRaw(string name) { var v = m_storage.GetEntryValue(name); if (v == null || !v.IsRaw()) { throw NtCore.GetValueException(name, v, NtType.Raw); } return(v.GetRaw()); }
/// <inheritdoc cref="NtCore.GetEntryDoubleArray(string)"/> public double[] GetEntryDoubleArray(string name) { var v = m_storage.GetEntryValue(name); if (v == null || !v.IsDoubleArray()) { throw NtCore.GetValueException(name, v, NtType.DoubleArray); } return(v.GetDoubleArray()); }
/// <inheritdoc cref="NtCore.GetEntryStringArray(string)"/> public string[] GetEntryStringArray(string name) { var v = m_storage.GetEntryValue(name); if (v == null || !v.IsStringArray()) { throw NtCore.GetValueException(name, v, NtType.StringArray); } return(v.GetStringArray()); }
/// <inheritdoc cref="NtCore.GetEntryBooleanArray(string)"/> public bool[] GetEntryBooleanArray(string name) { var v = m_storage.GetEntryValue(name); if (v == null || !v.IsBooleanArray()) { throw NtCore.GetValueException(name, v, NtType.BooleanArray); } return(v.GetBooleanArray()); }