Exemple #1
0
        public void RegisterNamedEntry(string id, object obj)
        {
            NamedEntry entry = new NamedEntry(id, obj);

            this.Store.SaveItem(entry);
        }
Exemple #2
0
        public void ConditionalRegisterNamedEntry(string id, object obj)
        {
            NamedEntry entry = new NamedEntry(id, obj);

            this.Store.SaveItemIfUniqueElseThrow(entry);
        }