/// <summary> /// Gets a new context with the value variable name overridden. /// </summary> public GetMaxSizeCodeGenContext With(string?valueVariableName = null) { var item = new GetMaxSizeCodeGenContext(this); item.ValueVariableName = valueVariableName ?? this.ValueVariableName; return(item); }
public GetMaxSizeCodeGenContext(GetMaxSizeCodeGenContext other) { this.ValueVariableName = other.ValueVariableName; this.MethodNameMap = other.MethodNameMap; this.Options = other.Options; }