Example #1
0
        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;
        }
Example #2
0
File: CQ.cs Project: Sowz/CodeCaml
 /// <summary>
 ///     Returns &lt;Lists&gt; 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();
 }