C# Class CqlSharp.Serialization.CqlCustomTypeAttribute

Inheritance: System.Attribute
Show file Open project: reuzel/CqlSharp

Public Methods

Method Description
CqlCustomTypeAttribute ( Type cqlTypeFactory ) : System

Initializes a new instance of the CqlCustomTypeAttribute class.

CreateFactory ( ) : ITypeFactory

Creates the type factory for the given class

Method Details

CqlCustomTypeAttribute() public method

Initializes a new instance of the CqlCustomTypeAttribute class.
/// Type provided to CqlCustomType attribute must be a ITypeFactory /// implementation ///
public CqlCustomTypeAttribute ( Type cqlTypeFactory ) : System
cqlTypeFactory System.Type The CQL type factory.
return System

CreateFactory() public method

Creates the type factory for the given class
public CreateFactory ( ) : ITypeFactory
return ITypeFactory