/// <summary>
 /// Sets the vault strategy.
 /// </summary>
 /// <param name="strategy">The strategy.</param>
 public void SetVaultStrategy(IVaultStrategy strategy)
 {
     _vaultConn.VaultStrategy = strategy;
     if (!string.IsNullOrEmpty(UserId))
     {
         _vaultConn.InitializeStrategy();
     }
 }
 public CacheVaultStrategy(IVaultStrategy child)
 {
   _child = child;
 }
Beispiel #3
0
 public CacheVaultStrategy(IVaultStrategy child)
 {
     _child = child;
 }
 public void SetVaultStrategy(IVaultStrategy strategy)
 {
   _vaultConn.VaultStrategy = strategy;
   if (!string.IsNullOrEmpty(_userId)) _vaultConn.VaultStrategy.Initialize(this);
 }