C# 클래스 Tp.Integration.Messages.ServiceBus.Serialization.BinaryContainerTypeConverter

XmlBinaryContainer TypeConverter. Converts the XmlBinaryContainer to or from byte[] and Streams.
상속: System.ComponentModel.TypeConverter
파일 보기 프로젝트 열기: TargetProcess/Target-Process-Plugins 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CanConvertFrom() 공개 메소드

CanConvertFrom
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
리턴 bool

CanConvertTo() 공개 메소드

CanConvertTo
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
리턴 bool

ConvertFrom() 공개 메소드

ConvertFrom
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
리턴 object

ConvertStreamToByteArray() 공개 메소드

Converts a Stream into byte[].
public ConvertStreamToByteArray ( Stream s ) : byte[]
s Stream
리턴 byte[]

ConvertTo() 공개 메소드

ConvertTo
public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
리턴 object