public static bool UnresolvedComponents(ComponentWrapper component, ReferenceInfo info) { if (!DefaultComponents(component, info)) { return(false); } bool result = false; if (component.Checked) { result = true; ReferenceData refData = info[component]; foreach (ComponentWrapper library in refData.Realization) { if (library.ComponentType == ComponentTypeWrapper.Library) { if (library.Checked) { result = false; break; } } } } return(result); }
public static bool AllComponents(ComponentWrapper component, ReferenceInfo info) { if (!DefaultComponents(component, info)) { return(false); } return(component.Checked); }
public static bool AddComponentDefault(ComponentWrapper component, ReferenceInfo info) { return(true); }
private static bool DefaultComponents(ComponentWrapper component, ReferenceInfo info) { return(component.ComponentType == ComponentTypeWrapper.LibraryCategory); }
private static bool DefaultComponents(ComponentWrapper component, ReferenceInfo info) { return(component.ComponentType == ComponentTypeWrapper.Feature); }