Interface IPluginProperties
Represents the properties defined inside a plugin.json
Namespace: Snowflake.Extensibility.Provisioning
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IPluginProperties
Properties
PropertyKeys
Gets all the properties defined
Declaration
IEnumerable<string> PropertyKeys { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Get(String)
Gets a single property. If it does not exists, returns the empty string.
Declaration
string Get(string key)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key of the property |
Returns
Type | Description |
---|---|
System. |
The property to get |
GetDictionary(String)
Gets a dictionary of properties. If it does not exist returns the empty dictionary.
Declaration
IReadOnlyDictionary<string, string> GetDictionary(string key)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key of the property dictionary |
Returns
Type | Description |
---|---|
System. |
The dictionary of properties |
GetEnumerable(String)
Gets a list of properties. If it does not exist, returns the empty enumerable.
Declaration
IEnumerable<string> GetEnumerable(string key)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key of the property list |
Returns
Type | Description |
---|---|
System. |
The list of properties |