public void FillSolutionComponentFromXml(ICollection <SolutionComponent> result, XElement elementRootComponent, XDocument docCustomizations) { if (elementRootComponent == null) { return; } var id = DefaultSolutionComponentDescriptionBuilder.GetIdFromXml(elementRootComponent); if (id.HasValue) { int?behavior = DefaultSolutionComponentDescriptionBuilder.GetBehaviorFromXml(elementRootComponent); FillSolutionComponentInternal(result, id.Value, behavior); } }
public void FillSolutionComponentFromXml(ICollection <SolutionComponent> result, XElement elementRootComponent, XDocument docCustomizations) { if (elementRootComponent == null) { return; } var id = DefaultSolutionComponentDescriptionBuilder.GetIdFromXml(elementRootComponent); if (id.HasValue && this.AllManagedProperties != null && this.AllManagedProperties.Any() && this.AllManagedProperties.ContainsKey(id.Value) ) { int?behavior = DefaultSolutionComponentDescriptionBuilder.GetBehaviorFromXml(elementRootComponent); FillSolutionComponentInternal(result, id.Value, behavior); } }