Goedel.Cryptography.CryptoCatalog.OrDefault C# (CSharp) Method

OrDefault() private method

private OrDefault ( CryptoAlgorithmID Value, CryptoAlgorithmID Default ) : CryptoAlgorithmID
Value CryptoAlgorithmID
Default CryptoAlgorithmID
return CryptoAlgorithmID
        CryptoAlgorithmID OrDefault(CryptoAlgorithmID Value, CryptoAlgorithmID Default) {
            return Value == CryptoAlgorithmID.NULL ? Default : Value;
            }