1

ironyx/dache分散キャッシュに使用しています。
のシングルトン オブジェクトを作成CacheClientし、現在のプロジェクトで使用しています。

internal class CacheClientSingleton
{
    private static CacheClient _instance;
    public static CacheClient GetInstance
    {
        get { return _instance ?? (_instance = new CacheClient()); }
    }

    private CacheClientSingleton() { }
}

dache の CacheClient を使用して、これでよろしいですか?

4

1 に答える 1