/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_strName">The name of the install step.</param> /// <param name="p_cdpVisibilityDependency"> /// The <see cref="CompositeDependency" /> that determines the visibility of this /// step. /// </param> /// <param name="p_lstGroupedPlugins">The grouped list of plugins to display in this step.</param> public InstallStep(string p_strName, CompositeDependency p_cdpVisibilityDependency, IList<PluginGroup> p_lstGroupedPlugins) { Name = p_strName; m_cdpVisibilityDependency = p_cdpVisibilityDependency; GroupedPlugins = p_lstGroupedPlugins; }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_strName">The name of the install step.</param> /// <param name="p_cdpVisibilityDependency"> /// The <see cref="CompositeDependency" /> that determines the visibility of this /// step. /// </param> /// <param name="p_lstGroupedPlugins">The grouped list of plugins to display in this step.</param> public InstallStep(string p_strName, CompositeDependency p_cdpVisibilityDependency, IList <PluginGroup> p_lstGroupedPlugins) { Name = p_strName; m_cdpVisibilityDependency = p_cdpVisibilityDependency; GroupedPlugins = p_lstGroupedPlugins; }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_cdpDependency">The dependency that must by fufilled for this pattern's files to be installed.</param> /// <param name="p_lstFiles">The files that are to be installed if the given dependency is fufilled.</param> public ConditionalFileInstallPattern(CompositeDependency p_cdpDependency, IList<PluginFile> p_lstFiles) { Dependency = p_cdpDependency; Files = p_lstFiles; }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_ptpType">The plugin type this pattern returns if it is fufilled.</param> /// <param name="p_cdpDependency"> /// The dependency that must by fufilled for this pattern's plugin type /// to be elected. /// </param> public DependencyTypePattern(PluginType p_ptpType, CompositeDependency p_cdpDependency) { m_ptpType = p_ptpType; Dependency = p_cdpDependency; }
/// <summary> /// Adds a pattern that return the given plugin type if the given dependency is fufilled. /// </summary> /// <param name="p_ptpType">The type the pattern will return if the dependency is fufilled.</param> /// <param name="p_cdpDependency"> /// The dependency that must be fufilled in order for the pattern /// to return the plugin type. /// </param> public void AddPattern(PluginType p_ptpType, CompositeDependency p_cdpDependency) { m_lstPatterns.Add(new DependencyTypePattern(p_ptpType, p_cdpDependency)); }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_ptpType">The plugin type this pattern returns if it is fufilled.</param> /// <param name="p_cdpDependency"> /// The dependency that must by fufilled for this pattern's plugin type /// to be elected. /// </param> public DependencyTypePattern(PluginType p_ptpType, CompositeDependency p_cdpDependency) { m_ptpType = p_ptpType; Dependency = p_cdpDependency; }
/// <summary> /// Adds a pattern that return the given plugin type if the given dependency is fufilled. /// </summary> /// <param name="p_ptpType">The type the pattern will return if the dependency is fufilled.</param> /// <param name="p_cdpDependency"> /// The dependency that must be fufilled in order for the pattern /// to return the plugin type. /// </param> public void AddPattern(PluginType p_ptpType, CompositeDependency p_cdpDependency) { m_lstPatterns.Add(new DependencyTypePattern(p_ptpType, p_cdpDependency)); }
/// <summary> /// A simple constructor that initializes the object with the given values. /// </summary> /// <param name="p_cdpDependency">The dependency that must by fufilled for this pattern's files to be installed.</param> /// <param name="p_lstFiles">The files that are to be installed if the given dependency is fufilled.</param> public ConditionalFileInstallPattern(CompositeDependency p_cdpDependency, IList <PluginFile> p_lstFiles) { Dependency = p_cdpDependency; Files = p_lstFiles; }