|
EncryptedDataStoreGetProperty Method (IEncryptedDataProvider, Guid, Guid, Object) |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Gets the content of a defined property.
Namespace:
WeroSoft.Security
Assembly:
WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax public Object GetProperty(
IEncryptedDataProvider provider,
Guid node,
Guid property,
Object defaultValue
)
Parameters
- provider
- Type: WeroSoft.SecurityIEncryptedDataProvider
Provider which is responsible for this data. - node
- Type: SystemGuid
Identifier of the node whose property shall be read. - property
- Type: SystemGuid
Property which shall be read. - defaultValue
- Type: SystemObject
Default value which shall be retrieved.
Return Value
Type:
ObjectRead value or default if the property could not be found.
Exceptions Exception | Condition |
---|
ObjectDisposedException | Thrown if the object has already disposed and therefore no longer can be used. |
InvalidOperationException | Thrown if object is not initialized and therefore not yet may be used. |
AssertArgumentException |
Thrown if one of the following condition fits.
The parameter provider is null.The parameter node is 'Guid.Empty'.The parameter property is 'Guid.Empty'. |
See Also