Example #1
0
        /// <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);
        }
Example #2
0
 public GetMaxSizeCodeGenContext(GetMaxSizeCodeGenContext other)
 {
     this.ValueVariableName = other.ValueVariableName;
     this.MethodNameMap     = other.MethodNameMap;
     this.Options           = other.Options;
 }