Click or drag to resize
AlchemyIPluginSettings Interface
Interface for getting custom configuration settings from a plugin.

Namespace: Alchemy4Tridion.Plugins.Info
Assembly: Alchemy4Tridion.Plugins (in Alchemy4Tridion.Plugins.dll) Version: 1.0.0.0 (0.7.0.0)
Syntax
C#
public interface IPluginSettings

The IPluginSettings type exposes the following members.

Methods
  NameDescription
Public methodDecrypt
If the given encryption key matches the ISettingsEncryptorService's key of the plugin, will decypt values that are retrieved via the Get methods.
Public methodGet(String, String)
Gets a value from the plugin settings.
Public methodGet(Type, Boolean)
Gets all of the client only settings at this level deserialized into a strongly typed object.
Public methodGetT
Gets all of the settings at this level deserialized into a strongly typed object.
Public methodGetT(Boolean)
Gets all of the client only settings at this level deserialized into a strongly typed object.
Public methodGetT(String)
Gets a value from the plugin settings as a specific type.
Public methodGetT(String, T)
Gets a value from the plugin settings as a specific type.
Public methodGetAsClientType
Gets a deserialized object based off of client only settings at the root level of the settings element.
Public methodGetList
Gets a setting's value as a list of string values.
Public methodGetNestedSettings
Gets a value as a nested PluginSettings instance (for non 'add' elements, the key will be the element's name and the value will be the element's value.
Public methodGetSetting
Gets a plugin setting value as an underyling PluginSetting instance.
Public methodSave
Saves the a4t.xml file with any changes that have been made.
Top
Properties
  NameDescription
Public propertyDecryptValues
Gets whether or not the values will be decrypted by the Get methods.
Public propertyEncryptionKey
Gets the encryption key that was used with the Decrypt method.
Public propertyKeys
Gets the keys of the root level that this instance represents.
Public propertyPlugin
Reference to the plugin that these settings belong to.
Top
See Also