public CQListsElement(ICQListsAttributesSetup attributeSetup, IEnumerable<ICQListElement> elements) : this(elements) { var attributes = (CQListsAttributes) attributeSetup; ServerTemplate = attributes.ServerTemplate; BaseType = attributes.BaseType; Hidden = attributes.Hidden; MaxListLimit = attributes.MaxListLimit; }
/// <summary> /// Returns <Lists> element with specified attributes (configured by CQ.ListsAttributes), to be used as List parameter of SharePoint data query. /// </summary> public static string Lists(ICQListsAttributesSetup attributes, params ICQListElement[] elements) { return new CQListsElement(attributes, elements).GetCaml(); }