Esempio n. 1
0
            internal CCFieldArray(CCreator parent, ITisFieldArrayData fieldArray)
                : this(parent, fieldArray != null? fieldArray.Name:String.Empty,
                       parent == null || !parent.CurrentProfile.IgnoreExceptions ? CCUtils.GetSpecialTags(fieldArray) : null,
                       parent == null || !parent.CurrentProfile.IgnoreNamedUserTags ? CCUtils.GetNamedUserTags(fieldArray, false) : null,
                       parent == null || !parent.CurrentProfile.IgnoreUserTags ? CCUtils.GetUserTags(fieldArray, true) : null)
            {
                this.EflowOwner       = fieldArray;
                this.ParentCollection = fieldArray.ParentCollection;
                this.ParentForm       = fieldArray.ParentForm;
                this.ParentPage       = fieldArray.ParentPage;
                this.ParentGroup      = fieldArray.ParentFieldGroup;
                this.ParentTable      = fieldArray.ParentFieldTable;
                this.NamedParent      = fieldArray.ParentFieldTable.Name;

                if (fields == null)
                {
                    fields = new List <CCField>();
                }
                else
                {
                    fields.Clear();
                }

                foreach (ITisFieldData fd in fieldArray.LinkedFields)
                {
                    fields.Add(new CCField(this.ParentCreator, fd));
                }
            }
Esempio n. 2
0
 public CCFieldArray(ITisFieldArrayData fieldArray)
     : this(null, fieldArray)
 {
 }