Example #1
0
        //Methods
        /// <summary>
        /// See the base.
        /// </summary>
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            ConstGeneratorSettings cmpSettings = obj as ConstGeneratorSettings;

            if (ConstSignal != cmpSettings.ConstSignal)
            {
                return(false);
            }
            return(true);
        }
Example #2
0
 /// <summary>
 /// Deep copy constructor
 /// </summary>
 /// <param name="source">Source instance</param>
 public ConstGeneratorSettings(ConstGeneratorSettings source)
 {
     ConstSignal = source.ConstSignal;
     return;
 }
Example #3
0
 /// <summary>
 /// Creates an initialized instance
 /// </summary>
 /// <param name="settings">Configuration</param>
 public ConstGenerator(ConstGeneratorSettings settings)
 {
     _signal = settings.ConstSignal;
     return;
 }