C# Class CloudinaryDotNet.Actions.BaseParams

Parameters of request to cloudinary
Mostrar archivo Open project: cloudinary/CloudinaryDotNet

Public Methods

Method Description
AddCustomParam ( string key, string value ) : void

Allow passing ad-hoc parameters in each method (mainly to allow work-around solutions until a fix is published)

Check ( ) : void

Validate object model

ToParamsDictionary ( ) : object>.SortedDictionary

Maps object model to dictionary of parameters in cloudinary notation

Protected Methods

Method Description
AddCoordinates ( object>.SortedDictionary dict, string key, object coordObj ) : void

Adds a coordinate object (plain string or Rectangle or List of Rectangles or FaceCoordinates)

AddParam ( object>.SortedDictionary dict, string key, System.DateTime value ) : void

Adds the parameter.

AddParam ( object>.SortedDictionary dict, string key, IEnumerable value ) : void

Adds the parameter.

AddParam ( object>.SortedDictionary dict, string key, bool value ) : void

Adds the parameter.

AddParam ( object>.SortedDictionary dict, string key, float value ) : void

Adds the parameter.

AddParam ( object>.SortedDictionary dict, string key, string value ) : void

Adds the parameter.

Method Details

AddCoordinates() protected method

Adds a coordinate object (plain string or Rectangle or List of Rectangles or FaceCoordinates)
protected AddCoordinates ( object>.SortedDictionary dict, string key, object coordObj ) : void
dict object>.SortedDictionary The dictionary.
key string The key.
coordObj object The value.
return void

AddCustomParam() public method

Allow passing ad-hoc parameters in each method (mainly to allow work-around solutions until a fix is published)
public AddCustomParam ( string key, string value ) : void
key string The key
value string The value
return void

AddParam() protected method

Adds the parameter.
protected AddParam ( object>.SortedDictionary dict, string key, System.DateTime value ) : void
dict object>.SortedDictionary The dictionary.
key string The key.
value System.DateTime The value.
return void

AddParam() protected method

Adds the parameter.
protected AddParam ( object>.SortedDictionary dict, string key, IEnumerable value ) : void
dict object>.SortedDictionary The dictionary.
key string The key.
value IEnumerable The value.
return void

AddParam() protected method

Adds the parameter.
protected AddParam ( object>.SortedDictionary dict, string key, bool value ) : void
dict object>.SortedDictionary The dictionary.
key string The key.
value bool The value.
return void

AddParam() protected method

Adds the parameter.
protected AddParam ( object>.SortedDictionary dict, string key, float value ) : void
dict object>.SortedDictionary The dictionary.
key string The key.
value float The value.
return void

AddParam() protected method

Adds the parameter.
protected AddParam ( object>.SortedDictionary dict, string key, string value ) : void
dict object>.SortedDictionary The dictionary.
key string The key.
value string The value.
return void

Check() public abstract method

Validate object model
public abstract Check ( ) : void
return void

ToParamsDictionary() public method

Maps object model to dictionary of parameters in cloudinary notation
public ToParamsDictionary ( ) : object>.SortedDictionary
return object>.SortedDictionary