Class ResultFormatter<T>
Represents a formatter that is used by ReportResultAttribute.
Inheritance
System.Object
ResultFormatter<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Controls.ConversationalUI
Assembly: Telerik.Windows.Controls.ConversationalUI.dll
Syntax
public class ResultFormatter<T> : IFormatResult
Type Parameters
T
|
Constructors
ResultFormatter(Func<T, String>)
Initializes a new instance of the ResultFormatter<T> class.
Declaration
public ResultFormatter(Func<T, string> resultFormatFunc)
Parameters
System.Func<T, System.String>
resultFormatFunc
|
Properties
ResultFormatFunc
Gets or sets the formatting function.
Declaration
public Func<T, string> ResultFormatFunc { get; set; }
Property Value
System.Func<T, System.String>
|
Methods
FormatResult(T)
Invokes the formatting function.
Declaration
public string FormatResult(T input)
Parameters
T
input
|
Returns
System.String
|
FormatResult(Object)
Invokes the formatting function.
Declaration
public string FormatResult(object input)
Parameters
System.Object
input
|
Returns
System.String
|