Method WithFieldValue
WithFieldValue<TValue>(FieldDescriptorID, TValue)
Sets the field value for a specific field descriptor ID.
public T WithFieldValue<TValue>(FieldDescriptorID fieldDescriptorID, TValue value)
Parameters
fieldDescriptorID
FieldDescriptorIDThe field descriptor ID.
value
TValueThe value to set.
Returns
- T
The builder instance.
Type Parameters
TValue
The type of the field value.
WithFieldValue<TValue>(FieldDescriptor, TValue)
Sets the field value for a specific field descriptor.
public T WithFieldValue<TValue>(FieldDescriptor fieldDescriptor, TValue value)
Parameters
fieldDescriptor
FieldDescriptorThe field descriptor.
value
TValueThe value to set.
Returns
- T
The builder instance.
Type Parameters
TValue
The type of the field value.
WithFieldValue<TValue>(string, TValue, DomCache)
Sets the field value for a specific field descriptor.
public T WithFieldValue<TValue>(string fieldName, TValue value, DomCache cache)
Parameters
fieldName
stringThe name of the field.
value
TValueThe value to set.
cache
DomCacheAn instance of DomCache.
Returns
- T
The builder instance.
Type Parameters
TValue
The type of the field value.