internal void Load(BizTalkCore.BtsCatalogExplorer explorer, BizTalkCore.SendPortGroup group)
        {
            if (group != null)
            {
                this.QualifiedName     = String.Empty;
                this.status            = group.Status.ToString();
                this.CustomDescription = group.Description;
                this.ApplicationName   = group.Application.Name;

                // Filters
                if (group.Filter != string.Empty)
                {
                    this.FilterGroups = BizTalkInstallation.CreateFilterGroups(group.Filter);
                }
            }
        }
        /// <summary>
        ///
        /// </summary>
        internal override void FixReferences(BizTalkCore.BtsCatalogExplorer explorer)
        {
            TraceManager.SmartTrace.TraceIn(explorer);

            BizTalkCore.SendPortGroup group = explorer.SendPortGroups[this.Name];

            if (group != null)
            {
                // Send ports
                foreach (BizTalkCore.SendPort sendPort in group.SendPorts)
                {
                    SendPort sp = this.Application.SendPorts[sendPort.Name] as SendPort;

                    if (sp != null)
                    {
                        sp.SendPortGroups.Add(this.NameIdPair);
                        this.sendPorts.Add(sp.NameIdPair);
                    }
                }
            }

            TraceManager.SmartTrace.TraceOut();
        }