C# Class CqlSharp.Linq.TypeSystem

显示文件 Open project: reuzel/CqlSharp

Public Methods

Method Description
FindIEnumerable ( Type seqType ) : Type
Implements ( this type, Type iface ) : bool
SequenceEqual ( IEnumerable first, IEnumerable second ) : bool
ToStringValue ( object value, CqlType type ) : string

Translates the object to its Cql string representation.

Private Methods

Method Description
DefaultValue ( this type ) : object
GetElementType ( Type seqType ) : Type

Method Details

FindIEnumerable() public static method

public static FindIEnumerable ( Type seqType ) : Type
seqType System.Type
return System.Type

Implements() public static method

public static Implements ( this type, Type iface ) : bool
type this
iface System.Type
return bool

SequenceEqual() public static method

public static SequenceEqual ( IEnumerable first, IEnumerable second ) : bool
first IEnumerable
second IEnumerable
return bool

ToStringValue() public static method

Translates the object to its Cql string representation.
Unable to translate term to a string representation
public static ToStringValue ( object value, CqlType type ) : string
value object The value.
type CqlType The type.
return string