Beispiel #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));
        }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(BaseTypes != null ? BaseTypes.GetHashCode() : 0);
 }
Beispiel #3
0
 public CommandConventions(BaseTypes baseTypes)
 {
     BaseTypes = baseTypes;
 }
Beispiel #4
0
 public DomainEventConventions(BaseTypes baseTypes)
 {
     BaseTypes = baseTypes;
 }