Method | Description | |
---|---|---|
AddPattern ( OptionType p_ptpType, ICondition p_cndCondition ) : void |
Adds a pattern that returns the given option type if the given condition is fulfilled.
|
|
ConditionalOptionTypeResolver ( OptionType p_ptpDefaultType ) : System |
A simple constructor that initializes the object with the given values.
|
|
ResolveOptionType ( |
Gets the plugin type. The returned type is dependent upon external state. A list of patterns are matched against external state (e.g., installed files); the first pattern that is fulfilled determines the returned type. If no pattern is fulfilled, a default type if returned. |
public AddPattern ( OptionType p_ptpType, ICondition p_cndCondition ) : void | ||
p_ptpType | OptionType | The type the pattern will return if the condition is fulfilled. |
p_cndCondition | ICondition | The condition that must be fulfilled in order for the pattern /// to return the option type. |
return | void |
public ConditionalOptionTypeResolver ( OptionType p_ptpDefaultType ) : System | ||
p_ptpDefaultType | OptionType | The default |
return | System |
public ResolveOptionType ( |
||
p_csmStateManager | The manager that tracks the currect install state. | |
return | OptionType |