コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FuncConstructorArgument"/> class.
 /// </summary>
 /// <param name="argumentType">The type of the argument.</param>
 /// <param name="value">The value.</param>
 /// <param name="argumentPositionCalculator">The argument position calculator.</param>
 public FuncConstructorArgument(Type argumentType, object value, IArgumentPositionCalculator argumentPositionCalculator)
 {
     this.value = value;
     this.argumentPositionCalculator = argumentPositionCalculator;
     this.ArgumentType = argumentType;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FuncConstructorArgument"/> class.
 /// </summary>
 /// <param name="argumentType">The type of the argument.</param>
 /// <param name="value">The value.</param>
 /// <param name="argumentPositionCalculator">The argument position calculator.</param>
 public FuncConstructorArgument(Type argumentType, object value, IArgumentPositionCalculator argumentPositionCalculator)
 {
     this.value = value;
     this.argumentPositionCalculator = argumentPositionCalculator;
     this.ArgumentType = argumentType;
 }