public ContractorAttrValue this[ContractorFieldName fieldName] { get { return(this.Children.Where(c => c.ContractorFieldName == fieldName).FirstOrDefault()); } }
/// <summary> /// Recursively creates new children (BusinessObjects) and attaches them to proper xml elements. /// </summary> /// <param name="element">Xml element to attach.</param> public override void Deserialize(XElement element) { base.Deserialize(element); this.contractorFieldName = DictionaryMapper.Instance.GetContractorField(this.ContractorFieldId).TypeName; }