Example #1
0
        public DomainEventConventions ApplyOverridesFrom(DomainEventConventions other)
        {
            if (null == other)
            {
                return(this);
            }
            if (null == BaseTypes)
            {
                return(other);
            }
            var newBaseTypes = BaseTypes.ApplyOverridesFrom(other.BaseTypes);

            return(new DomainEventConventions(newBaseTypes));
        }
Example #2
0
 public override int GetHashCode()
 {
     return(BaseTypes != null ? BaseTypes.GetHashCode() : 0);
 }
Example #3
0
 public CommandConventions(BaseTypes baseTypes)
 {
     BaseTypes = baseTypes;
 }
Example #4
0
 public DomainEventConventions(BaseTypes baseTypes)
 {
     BaseTypes = baseTypes;
 }