ServiceManager/Utility/Helpers/SearchCustomFieldValueHelper.cs
/// <summary>
/// Sets the value of the specified custom field.
/// </summary>
/// <param name="fieldId">The field id.</param>
/// <param name="value">The value.</param>
Sets the value of the specified custom field.
Sets the value of the specified custom field .
public SearchCustomField SetValue(string fieldId, bool? value)
        {
            return SetValue(fieldId, value, () => new SearchBooleanCustomField()
                                            {
                                                internalId = fieldId,
                                                searchValue = value.GetValueOrDefault(),
                                                searchValueSpecified = value.HasValue,
                                            });
        }
public SearchCustomField SetValue ( string fieldId , bool ? value ) { return SetValue ( fieldId , value , ( ) => new SearchBooleanCustomField ( ) { internalId = fieldId , searchValue = value . GetValueOrDefault ( ) , searchValueSpecified = value . HasValue , } ) ; }
Sets the value of the specified custom field.
Sets the value of the specified custom field .
fieldId
string
The field id.
The field id .
value
bool?
None