/// <inheritdoc cref="NtCore.AddEntryListener"/> public int AddEntryListener(string prefix, EntryListenerCallback callback, NotifyFlags flags) { Notifier notifier = m_notifier; int uid = notifier.AddEntryListener(prefix, callback, flags); notifier.Start(); if ((flags & NotifyFlags.NotifyImmediate) != 0) { m_storage.NotifyEntries(prefix, callback); } return(uid); }