CrypterOptions Class | CryptSharp |
Stores options for the crypt operation.
Inheritance Hierarchy
Namespace: CryptSharp
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax
public class CrypterOptions : IEnumerable<KeyValuePair<CrypterOptionKey, Object>>, IEnumerable
Public Class CrypterOptions Implements IEnumerable(Of KeyValuePair(Of CrypterOptionKey, Object)), IEnumerable
public ref class CrypterOptions : IEnumerable<KeyValuePair<CrypterOptionKey^, Object^>>, IEnumerable
type CrypterOptions = class interface IEnumerable<KeyValuePair<CrypterOptionKey, Object>> interface IEnumerable end
The CrypterOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CrypterOptions | Initializes a new instance of the CrypterOptions class |
Methods
Name | Description | |
---|---|---|
Add |
Sets the value of an option, if the option has not already been set.
| |
Clear |
Clears all options.
| |
ContainsKey |
Checks if an option is set.
| |
GetEnumerator |
Returns an enumerator that iterates through all options.
| |
GetValueT(CrypterOptionKey) |
Gets the value of an option, if the option is set, or a default value otherwise.
| |
GetValueT(CrypterOptionKey, T) |
Gets the value of an option, if the option is set, or a specified default value otherwise.
| |
MakeReadOnly |
Prevents future changes to the options.
| |
Remove |
Clears an option.
| |
TryGetValue |
Gets the value of an option, if the option is set.
|
Properties
Name | Description | |
---|---|---|
Count |
The number of options that have been set.
| |
IsReadOnly | true if the options cannot be changed.
| |
Item |
Gets or sets an option.
| |
None |
No options.
|
See Also