Exemplo n.º 1
0
        public void CheckDefaultsAndThrow(bool denyEmptyEvent = true)
        {
            if (denyEmptyEvent)
            {
                BaseValidator.CheckCollectionForNullAndEmptyOrThrow(this.EventsAggregator, this.GetType().Name + ".utEvents");
            }

            BaseValidator.CheckNullAndThrow(this.ContactAggregator, this.GetType().Name + ".utContact");
            BaseValidator.CheckNullAndThrow(this.InteractioinParametersAccumulator.Initiator, this.GetType().Name + ".utInitiator");
            BaseValidator.CheckNullAndThrow(this.InteractioinParametersAccumulator.ChannelId, this.GetType().Name + ".utChannelId");
        }