Share via


RedisXmlRepository 類別

定義

由 Redis 清單專案支援的 XML 存放庫。

public ref class RedisXmlRepository : Microsoft::AspNetCore::DataProtection::Repositories::IXmlRepository
public class RedisXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository
type RedisXmlRepository = class
    interface IXmlRepository
Public Class RedisXmlRepository
Implements IXmlRepository
繼承
RedisXmlRepository
實作

建構函式

RedisXmlRepository(Func<IDatabase>, RedisKey)

RedisXmlRepository使用儲存在指定目錄的金鑰建立 。

方法

GetAllElements()

取得存放庫中的所有最上層 XML 專案。

StoreElement(XElement, String)

將最上層 XML 專案新增至存放庫。

適用於