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