public BranchParameter(ParameterType parameterType, ICode code, int indexInCode, int[] branchIndexesInCode, int branchOffsetInCode, ISearchParameterLocator searchParameterLocator) { if (code == null) { throw new ArgumentNullException("code"); } this.parameterType = parameterType; this.code = code; this.indexInCode = indexInCode; this.branchIndexesInCode = branchIndexesInCode; this.branchOffsetInCode = branchOffsetInCode; this.searchParameterLocator = searchParameterLocator; this.converter = new AddressValueConverter(); }
public CodeParameter(ParameterType parameterType, ICode code, int indexInCode, IParameterValueConverter <InternalRepresentation, HumanRepresentation> converter) { if (code == null) { throw new ArgumentNullException("code"); } if (converter == null) { throw new ArgumentNullException("converter"); } this.parameterType = parameterType; this.code = code; this.indexInCode = indexInCode; this.converter = converter; }