ServiceManager/Utility/Helpers/SearchCustomFieldValueHelper.cs
/// <summary>
/// Sets the value of the specified custom field.
/// </summary>
/// <param name="fieldId">The field id.</param>
/// <param name="searchOp">The search op.</param>
/// <param name="value">The value.</param>
/// <returns></returns>
Sets the value of the specified custom field.
Sets the value of the specified custom field .
public SearchCustomField SetValue(string fieldId, SearchDoubleFieldOperator searchOp, double? value)
        {
            return SetValue(fieldId, value, () => new SearchDoubleCustomField()
                                            {
                                                internalId = fieldId,
                                                @operator = searchOp,
                                                operatorSpecified = true,
                                                searchValue = value.Value,
                                                searchValueSpecified = true,
                                            });
        }
public SearchCustomField SetValue ( string fieldId , SearchDoubleFieldOperator searchOp , double ? value ) { return SetValue ( fieldId , value , ( ) => new SearchDoubleCustomField ( ) { internalId = fieldId , @operator = searchOp , operatorSpecified = true , searchValue = value . Value , searchValueSpecified = true , } ) ; }
Sets the value of the specified custom field.
Sets the value of the specified custom field .
None
fieldId
string
The field id.
The field id .
searchOp
SearchDoubleFieldOperator
The search op.
The search op .
value
double?
None