Beispiel #1
0
        public object PublishClone(AutomaticSubtotalContext context)
        {
            LookupInfo lookupInfo = (LookupInfo)base.MemberwiseClone();

            lookupInfo.m_name = context.CreateLookupID(this.m_name);
            if (this.m_resultExpr != null)
            {
                lookupInfo.m_resultExpr = (ExpressionInfo)this.m_resultExpr.PublishClone(context);
            }
            if (this.m_sourceExpr != null)
            {
                lookupInfo.m_sourceExpr = (ExpressionInfo)this.m_sourceExpr.PublishClone(context);
            }
            lookupInfo.m_destinationInfo = (LookupDestinationInfo)this.m_destinationInfo.PublishClone(context);
            return(lookupInfo);
        }