Esempio n. 1
0
        /// <summary>
        /// Returns true if ChannelColumnRestrictedValues instances are equal
        /// </summary>
        /// <param name="other">Instance of ChannelColumnRestrictedValues to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ChannelColumnRestrictedValues other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
            {
                return(false);
            }

            return(false);
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChannelCategoryColumnOverride" /> class.
 /// </summary>
 /// <param name="ChannelColumnId">ChannelColumnId (required).</param>
 /// <param name="ChannelColumnName">ChannelColumnName (required).</param>
 /// <param name="ChannelColumnDescription">ChannelColumnDescription.</param>
 /// <param name="ShowInMapping">ShowInMapping (required).</param>
 /// <param name="Configuration">Configuration (required).</param>
 /// <param name="RestrictedValues">RestrictedValues.</param>
 public ChannelCategoryColumnOverride(BeezUPCommonChannelColumnId ChannelColumnId = default(BeezUPCommonChannelColumnId), BeezUPCommonChannelColumnName ChannelColumnName = default(BeezUPCommonChannelColumnName), ChannelColumnDescription ChannelColumnDescription = default(ChannelColumnDescription), ChannelColumnShowInMapping ShowInMapping = default(ChannelColumnShowInMapping), ChannelColumnConfiguration Configuration = default(ChannelColumnConfiguration), ChannelColumnRestrictedValues RestrictedValues = default(ChannelColumnRestrictedValues))
 {
     // to ensure "ChannelColumnId" is required (not null)
     if (ChannelColumnId == null)
     {
         throw new InvalidDataException("ChannelColumnId is a required property for ChannelCategoryColumnOverride and cannot be null");
     }
     else
     {
         this.ChannelColumnId = ChannelColumnId;
     }
     // to ensure "ChannelColumnName" is required (not null)
     if (ChannelColumnName == null)
     {
         throw new InvalidDataException("ChannelColumnName is a required property for ChannelCategoryColumnOverride and cannot be null");
     }
     else
     {
         this.ChannelColumnName = ChannelColumnName;
     }
     // to ensure "ShowInMapping" is required (not null)
     if (ShowInMapping == null)
     {
         throw new InvalidDataException("ShowInMapping is a required property for ChannelCategoryColumnOverride and cannot be null");
     }
     else
     {
         this.ShowInMapping = ShowInMapping;
     }
     // to ensure "Configuration" is required (not null)
     if (Configuration == null)
     {
         throw new InvalidDataException("Configuration is a required property for ChannelCategoryColumnOverride and cannot be null");
     }
     else
     {
         this.Configuration = Configuration;
     }
     this.ChannelColumnDescription = ChannelColumnDescription;
     this.RestrictedValues         = RestrictedValues;
 }