// Get desired property of a tree name item.
UvPropertyTreeNameItem property = GetDesiredProperty();
// Clear actual list of processors if required.
// property.Processors.Clear();
IList<ApiUvProcessor> processors = new List<ApiUvProcessor>();
{
// Output type of the property is string -> first processor's input type must be string.
new ApiUvStringToBoolProcessor(new[] { "Text1", "Text2" }, false),
// Output type of the previous processor is bool -> processor's input type must be bool.
new ApiUvBoolToStringProcessor("N", "Y")
// This is the last processor -> its output type must be string.
};
// Add the sequence of processors to the list of processors.
property.AddSequenceOfProcessors(processors.ToArray());