コード例 #1
0
        /// <summary>
        /// construct a BeanContextChildSupport where the JavaBean component
        /// itself implements BeanContextChild, and encapsulates this, delegating
        /// that interface to this implementation </summary>
        /// <param name="bcc"> the underlying bean context child </param>

        public BeanContextChildSupport(BeanContextChild bcc) : base()
        {
            BeanContextChildPeer_Renamed = (bcc != null) ? bcc : this;

            PcSupport = new PropertyChangeSupport(BeanContextChildPeer_Renamed);
            VcSupport = new VetoableChangeSupport(BeanContextChildPeer_Renamed);
        }
コード例 #2
0
        /// <summary>
        /// construct a BeanContextChildSupport where this class has been
        /// subclassed in order to implement the JavaBean component itself.
        /// </summary>

        public BeanContextChildSupport() : base()
        {
            BeanContextChildPeer_Renamed = this;

            PcSupport = new PropertyChangeSupport(BeanContextChildPeer_Renamed);
            VcSupport = new VetoableChangeSupport(BeanContextChildPeer_Renamed);
        }