Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="AFieldList"></param>
        /// <param name="ASection"></param>
        /// <returns></returns>
        public static Boolean RetrieveInfo(List <String>AFieldList, TFormDataRetrievalSection ASection)
        {
            //string name = ReflectionUtility.GetPropertyName(() => formData.BankName);

            return false;
        }
Beispiel #2
0
        /// <summary>
        /// Add retrieval section flag if tag list contains tags for given Template object
        /// </summary>
        /// <param name="AFormDataTemplate"></param>
        /// <param name="ASection"></param>
        private void BuildRetrievalSection(TFormData AFormDataTemplate, TFormDataRetrievalSection ASection)
        {
            Boolean AddSection = false;

            foreach (var prop in AFormDataTemplate.GetType().GetProperties())
            {
                if (TagList.Contains(prop.Name))
                {
                    AddSection = true;
                }
            }

            if (AddSection)
            {
                AddRetrievalSection(ASection);
            }
        }
Beispiel #3
0
 /// <summary>
 /// check if retrieval of data is requested for a certain section
 /// </summary>
 /// <param name="ASection"></param>
 /// <returns></returns>
 public Boolean IsRetrievalRequested(TFormDataRetrievalSection ASection)
 {
     return RetrievalList.Contains(ASection);
 }
Beispiel #4
0
 /// <summary>
 /// Add retrieval section flag if not there yet
 /// </summary>
 /// <param name="ASection"></param>
 private void AddRetrievalSection(TFormDataRetrievalSection ASection)
 {
     if (!RetrievalList.Contains(ASection))
     {
         RetrievalList.Add(ASection);
     }
 }