C# Class Tp.Integration.Messages.ServiceBus.Serialization.BinaryContainerTypeConverter

XmlBinaryContainer TypeConverter. Converts the XmlBinaryContainer to or from byte[] and Streams.
Inheritance: System.ComponentModel.TypeConverter
Afficher le fichier Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Méthodes publiques

Méthode Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool

CanConvertFrom

CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool

CanConvertTo

ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object

ConvertFrom

ConvertStreamToByteArray ( Stream s ) : byte[]

Converts a Stream into byte[].

ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object

ConvertTo

Method Details

CanConvertFrom() public méthode

CanConvertFrom
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
Résultat bool

CanConvertTo() public méthode

CanConvertTo
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Résultat bool

ConvertFrom() public méthode

ConvertFrom
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
Résultat object

ConvertStreamToByteArray() public méthode

Converts a Stream into byte[].
public ConvertStreamToByteArray ( Stream s ) : byte[]
s Stream
Résultat byte[]

ConvertTo() public méthode

ConvertTo
public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
Résultat object