Inheritance: Source_SingulationParameters
Example #1
0
        // DEEP COPY - C# does not have template specialization
        // so casting to this type to access method required

        public void Copy(Source_SingulationParametersFixedQ from)
        {
            this.QValue            = from.QValue;
            this.RetryCount        = from.RetryCount;
            this.ToggleTarget      = from.ToggleTarget;
            this.RepeatUntilNoTags = from.RepeatUntilNoTags;
        }
Example #2
0
        public bool Equals(Source_SingulationParametersFixedQ rhs)
        {
            if (null == (System.Object)rhs)
            {
                return(false);
            }

            return
                (this.QValue == rhs.QValue &&
                 this.RetryCount == rhs.RetryCount &&
                 this.ToggleTarget == rhs.ToggleTarget &&
                 this.RepeatUntilNoTags == rhs.RepeatUntilNoTags);
        }
Example #3
0
        public override bool Equals(System.Object obj)
        {
            if (null == obj)
            {
                return(false);
            }

            Source_SingulationParametersFixedQ rhs_b = obj as Source_SingulationParametersFixedQ;

            if (null != (System.Object)rhs_b)
            {
                return(this.Equals(rhs_b));
            }

            return(false);
        }
        public void setSource( Source_SingulationParametersFixedQ parms )
        {
            this.qValue.DataBindings.Clear( );
            this.qValue.DataBindings.Add( "Value", parms, "QValue" );

            this.retryCount.DataBindings.Clear( );
            this.retryCount.DataBindings.Add( "Value", parms, "RetryCount" );

            this.toggleTarget.DataBindings.Clear( );
            this.toggleTarget.DataBindings.Add( "SelectedIndex", parms, "ToggleTarget" );

            this.repeatUntilNoTags.DataBindings.Clear( );
            this.repeatUntilNoTags.DataBindings.Add( "SelectedIndex", parms, "RepeatUntilNoTags" );
        }
        public bool Equals( Source_SingulationParametersFixedQ rhs )
        {
            if ( null == ( System.Object ) rhs )
            {
                return false;
            }

            return
                   this.QValue            == rhs.QValue
                && this.RetryCount        == rhs.RetryCount
                && this.ToggleTarget      == rhs.ToggleTarget
                && this.RepeatUntilNoTags == rhs.RepeatUntilNoTags;
        }
 // DEEP COPY - C# does not have template specialization
 // so casting to this type to access method required
 public void Copy( Source_SingulationParametersFixedQ from )
 {
     this.QValue            = from.QValue;
     this.RetryCount        = from.RetryCount;
     this.ToggleTarget      = from.ToggleTarget;
     this.RepeatUntilNoTags = from.RepeatUntilNoTags;
 }