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