Interface IExternallyParameterized
Denotes an entity that has external parameters that can be get/set
Namespace: NFX
Assembly: NFX.dll
Syntax
public interface IExternallyParameterized
Properties
ExternalParameters
Gets names/types of supported external parameters or null if parameters are not supported in principle
Declaration
IEnumerable<KeyValuePair<string, Type>> ExternalParameters { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Type>> |
|
Methods
ExternalGetParameter(String, out Object, String[])
Gets external parameter value returning true if parameter was found
Declaration
bool ExternalGetParameter(string name, out object value, params string[] groups)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.String[] |
groups |
|
Returns
Type |
Description |
System.Boolean |
|
ExternalParametersForGroups(String[])
Gets names of supported external parameters or null if parameters are not supported in principle
Declaration
IEnumerable<KeyValuePair<string, Type>> ExternalParametersForGroups(params string[] groups)
Parameters
Type |
Name |
Description |
System.String[] |
groups |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Type>> |
|
ExternalSetParameter(String, Object, String[])
Sets external parameter value, true if parameter name was found and set succeeded
Declaration
bool ExternalSetParameter(string name, object value, params string[] groups)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.String[] |
groups |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods