Class TextBasedFormatProviderBase<T>
Represents base class for text base format provider.
Inherited Members
Namespace: Telerik.Windows.Documents.Common.FormatProviders
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public abstract class TextBasedFormatProviderBase<T> : FormatProviderBase<T>, IFormatProvider<T>, ITextBasedFormatProvider<T>
Type Parameters
T
The type of the T. |
Constructors
TextBasedFormatProviderBase()
Declaration
protected TextBasedFormatProviderBase()
Methods
Export(T)
Exports the specified document.
Declaration
[Obsolete("This method is obsolete. Please use Export(T document, TimeSpan? timeout) instead.")]
public string Export(T document)
Parameters
T
document
The document. |
Returns
System.String
The result string. |
Implements
Export(T, Nullable<TimeSpan>)
Exports the specified document.
Declaration
public string Export(T document, TimeSpan? timeout)
Parameters
T
document
The document. |
System.Nullable<System.TimeSpan>
timeout
The timeout after which the operation will be cancelled. |
Returns
System.String
The result string. |
Implements
Import(String)
Imports the specified input.
Declaration
[Obsolete("This method is obsolete. Please use Import(string input, TimeSpan? timeout) instead.")]
public T Import(string input)
Parameters
System.String
input
The input. |
Returns
T
The result document. |
Implements
Import(String, Nullable<TimeSpan>)
Imports the specified input.
Declaration
public T Import(string input, TimeSpan? timeout)
Parameters
System.String
input
The input. |
System.Nullable<System.TimeSpan>
timeout
The timeout after which the operation will be cancelled. |
Returns
T
The result document. |