示例#1
0
 public void Import(TagProfile peer)
 {
     Label.Merge(peer.Label);
     Display.Merge(peer.Display);
     Editor.Merge(peer.Editor);
     BeforePartial.Merge(peer.BeforePartial);
     AfterPartial.Merge(peer.AfterPartial);
     BeforeEachOfPartial.Merge(peer.BeforeEachOfPartial);
     AfterEachOfPartial.Merge(peer.AfterEachOfPartial);
 }
示例#2
0
        public void Import(TagProfile peer)
        {
            Label.Merge(peer.Label);
            Display.Merge(peer.Display);
            Editor.Merge(peer.Editor);
            BeforePartial.Merge(peer.BeforePartial);
            AfterPartial.Merge(peer.AfterPartial);
            BeforeEachOfPartial.Merge(peer.BeforeEachOfPartial);
            AfterEachOfPartial.Merge(peer.AfterEachOfPartial);

            if (peer._layoutBuilder != null)
            {
                _layoutBuilder = peer._layoutBuilder;
            }
        }