public List <WebConfigPropertyDesiredState> BuildEntry(XElement element, string nodePath, string sitelocation) { var attributes = new List <WebConfigPropertyDesiredState>(); foreach (var property in element.Attributes()) { var desiredState = new WebConfigPropertyDesiredState(nodePath, property.Name.LocalName , property.Value, sitelocation); attributes.Add(desiredState); } return(attributes); }
public List<WebConfigPropertyDesiredState> BuildEntry(XElement element, string nodePath, string sitelocation) { var attributes = new List<WebConfigPropertyDesiredState>(); foreach (var property in element.Attributes()) { var desiredState = new WebConfigPropertyDesiredState(nodePath, property.Name.LocalName , property.Value, sitelocation); attributes.Add(desiredState); } return attributes; }