C# Class DCartRestAPIClient.RestAPIClassFactory

Exibir arquivo Open project: 3dcart/REST-API-Client Class Usage Examples

Private Properties

Property Type Description
Initialize void

Public Methods

Method Description
GetRestAPIClassType ( RestAPIType restAPIType ) : IRestAPIType

Create the instance of specific product using reflection

RestAPIClassFactory ( ) : System

Not to allow to create the instance of the class. Initialization will be done at very first time when the instance will be created

Private Methods

Method Description
Initialize ( ) : void

Intialize to perform the mapping of id and class name

Method Details

GetRestAPIClassType() public method

Create the instance of specific product using reflection
public GetRestAPIClassType ( RestAPIType restAPIType ) : IRestAPIType
restAPIType RestAPIType
return IRestAPIType

RestAPIClassFactory() public method

Not to allow to create the instance of the class. Initialization will be done at very first time when the instance will be created
public RestAPIClassFactory ( ) : System
return System