public static VaultSvcAccessor Instance(string pBaseUrl =null) { if (_vaultSvcAccessor == null) { if (!String.IsNullOrEmpty(pBaseUrl)) _vaultSvcAccessor = new VaultSvcAccessor(pBaseUrl); else _vaultSvcAccessor = new VaultSvcAccessor(); } return _vaultSvcAccessor; }
public static VaultSvcAccessor Instance(string pBaseUrl = null) { if (_vaultSvcAccessor == null) { if (!String.IsNullOrEmpty(pBaseUrl)) { _vaultSvcAccessor = new VaultSvcAccessor(pBaseUrl); } else { _vaultSvcAccessor = new VaultSvcAccessor(); } } return(_vaultSvcAccessor); }