Class DelimitedStringOptions<T>
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Configuration options for DelimitedString.
public class DelimitedStringOptions<T> : IParameterObjectType Parameters
- T
- The type of the object to convert. 
- Inheritance
- 
      
      DelimitedStringOptions<T>
- Implements
Constructors
DelimitedStringOptions()
Initializes a new instance of the DelimitedStringOptions<T> class.
public DelimitedStringOptions()Remarks
The following table shows the initial property values for an instance of DelimitedStringOptions<T>.
| Property | Initial Value | 
|---|---|
| Delimiter | , | 
| StringConverter | o => o.ToString() | 
Properties
Delimiter
Gets or sets the delimiter specification.
public string Delimiter { get; set; }Property Value
- string
- The delimiter specification. 
Exceptions
- ArgumentNullException
- valuecannot be null.
- ArgumentException
- valuecannot be empty.
StringConverter
Gets or sets the function delegate that converts T to a string representation.
public Func<T, string> StringConverter { get; set; }Property Value
Exceptions
- ArgumentNullException
- valuecannot be null.