/// <summary>
 /// Create a LocalItemStore.
 /// </summary>
 /// <param name="folder">Container for Record items</param>
 /// <param name="maxCachedItems">(optional) Size of cache. For no caching, pass in 0</param>
 /// <param name="encryptionKey">(optional) Pass in null if no encryption key wanted.</param>
 public LocalItemStore(StorageFolder folder, int maxCachedItems, string encryptionKey)
     : this(CreateObjectStore(folder, encryptionKey), LRUCache <string, object> .Create(maxCachedItems))
 {
 }
Пример #2
0
 public RecordItemChangeTable(StorageFolder container, int maxCachedItems)
     : this(new FolderObjectStore(container), LRUCache <string, object> .Create(maxCachedItems))
 {
 }