NamespaceSystemLibrary.Common.Framework.Attributes
Marks a property as the placeholder for a decrypted config value.
The property must be public, instance-level, with both get and set accessors.
Used internally by Config to locate and decrypt values marked with DecryptAttribute on instantiation.
Values must be encrypted using the parameterless Encrypt() method. See StringExtensions.Encrypt() for details.
Remarks
PropertyName must refer to another property in the same class. The class must inherit from Config.
Applies only to properties with public get;set;. Safe for external use; no planned breaking changes.
Decryption occurs once during application startup when the Configuration class is created.ConfigDecryptAttribute
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public class ConfigDecryptAttribute : Attribute
Inheritance
Constructors
Remarks
PropertyName must refer to another property in the same class. The class must inherit from Config.
Applies only to properties with public get;set;. Safe for external use; no planned breaking changes.
Decryption occurs once during application startup when the Configuration class is created.Fields
Remarks
PropertyName must refer to another property in the same class. The class must inherit from Config.
Applies only to properties with public get;set;. Safe for external use; no planned breaking changes.
Decryption occurs once during application startup when the Configuration class is created.Field Value
Type | Description |
---|---|
string |
Extension Methods
}