Cucumber.SimpleDb.Transport.SimpleDbRestService.GetAttributes C# (CSharp) Метод

GetAttributes() публичный Метод

public GetAttributes ( string domain, string itemName, bool useConsistency ) : System.Xml.Linq.XElement
domain string
itemName string
useConsistency bool
Результат System.Xml.Linq.XElement
        public XElement GetAttributes(string domain, string itemName, bool useConsistency, params string[] attributeNames)
        {
            var values = new NameValueCollection
            {
                {"Action", "GetAttributes"},
                {"DomainName", domain},
                {"ItemName", itemName}
            };
            if (useConsistency)
            {
                values.Add("ConsistentRead", useConsistency.ToString());
            }
            int attributeCount = 0;
            foreach (var attributeName in attributeNames)
            {
                values.Add(
                    string.Format("Attribute.{0}", attributeCount),
                    attributeName);
                attributeCount++;
            }
            return InternalExecute(values);
        }