コード例 #1
0
            public CCTable(CCreator parent, ITisFieldTableData fieldTable)
#endif
                : this(parent, fieldTable.Name,
                       parent == null || !parent.CurrentProfile.IgnoreExceptions ? CCUtils.GetSpecialTags(fieldTable) : null,
                       parent == null || !parent.CurrentProfile.IgnoreNamedUserTags ? CCUtils.GetNamedUserTags(fieldTable, false) : null,
                       parent == null || !parent.CurrentProfile.IgnoreUserTags ? CCUtils.GetUserTags(fieldTable, true) : null)
            {
                this.EflowOwner       = fieldTable;
                this.ParentCollection = fieldTable.ParentCollection;
                this.ParentForm       = fieldTable.ParentForm;
                this.ParentPage       = fieldTable.ParentPage;
                this.ParentGroup      = fieldTable.ParentFieldGroup;
                this.NamedParent      = fieldTable.ParentFieldGroupExists ? fieldTable.ParentFieldGroup.Name : String.Empty;

                List <CCFieldArray> fas = new List <CCFieldArray>();

                if (fieldArrays == null)
                {
                    fieldArrays = new List <CCFieldArray>();
                }
                else
                {
                    fieldArrays.Clear();
                }

                foreach (ITisFieldArrayData fa in fieldTable.FieldArrays)
                {
                    fieldArrays.Add(new CCFieldArray(this.ParentCreator, fa));
                }
            }
コード例 #2
0
 internal CCTable(CCreator parent, ITisFieldTableData fieldTable)
コード例 #3
0
 public CCTable(ITisFieldTableData fieldTable)
     : this(null, fieldTable)
 {
 }