Example #1
0
 internal void SetNameAndExtrasFrom(BaseBuilder source)
 {
     this.Name   = source.Name;
     this.Extras = source.Extras.DeepClone();
 }
Example #2
0
 public BaseBuilder(BaseBuilder other)
 {
     this.Name   = other.Name;
     this.Extras = other.Extras.DeepClone();
 }
Example #3
0
 protected static int GetContentHashCode(BaseBuilder x)
 {
     return(x?.Name?.GetHashCode() ?? 0);
 }
Example #4
0
 protected static int GetContentHashCode(BaseBuilder x)
 {
     return(x?.Name?.GetHashCode(StringComparison.InvariantCulture) ?? 0);
 }