CryptoHelper.TryGetOption Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 8.0.9673)
TryGetOption<T>(Object, String, out T)
Gets internal option if available.
Declaration
public static bool TryGetOption<T>(object instance, string name, out T result)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | instance | Instance. |
| String | name | Option name. |
| T | result | Value, if available. |
Returns
| Type | Description |
|---|---|
| Boolean | True if the value is available. |
Type Parameters
| Name | Description |
|---|---|
| T |