override internal void CopyTo(SitkaClient.Entity e)
        {
            base.CopyTo(e);

            e.Kind = this.Kind;

            // Copy properties
            SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType[] array = new SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType[_properties.Count];

            int count = 0;

            foreach (string key in _properties.Keys)
            {
                SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType a = new SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType();

                a.Key   = key;
                a.Value = _properties[key];

                array[count++] = a;
            }

            e.Properties = array;
        }
Example #2
0
        override internal void CopyTo(SitkaClient.Entity e)
        {
            base.CopyTo(e);

            e.Kind = this.Kind;

            // Copy properties
            SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType[] array = new SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType[_properties.Count];

            int count = 0;
            foreach (string key in _properties.Keys)
            {
                SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType a = new SitkaClient.ArrayOfKeyValueOfstringanyTypeKeyValueOfstringanyType();

                a.Key = key;
                a.Value = _properties[key];

                array[count++] = a;
            }

            e.Properties = array;
        }