public ElementMapping GetElementMapping()
        {
            ElementMapping mapping = new ElementMapping(this.member);

            if (!string.IsNullOrWhiteSpace(this.eleName))
            {
                mapping.ElementName = this.eleName;
            }

            if (!string.IsNullOrWhiteSpace(this.eleNamespace))
            {
                mapping.Namespace = this.eleNamespace;
            }

            if (this.eleType != null)
            {
                mapping.Type = this.eleType;
            }

            return mapping;
        }
        private void AddElement(Member key, ElementMapping elementMapping)
        {
            if (!this.elements.ContainsKey(key))
            {
                this.elements.Add(key, new List<ElementMapping>());
            }

            this.elements[key].Add(elementMapping);
        }