C# Class Arango.Client.DictionaryExtensions

Afficher le fichier Open project: yojimbo87/ArangoDB-NET

Méthodes publiques

Méthode Description
From ( object>.this dictionary, string id ) : object>.Dictionary

Stores `_from` field value.

From ( object>.this dictionary ) : string

Retrieves value of `_from` field. If the field is missing or has invalid format null value is returned.

HasFrom ( object>.this dictionary ) : bool

Checks if `_from` field is present and has valid format.

HasID ( object>.this dictionary ) : bool

Checks if `_id` field is present and has valid format.

HasKey ( object>.this dictionary ) : bool

Checks if `_key` field is present and has valid format.

HasRev ( object>.this dictionary ) : bool

Checks if `_rev` field is present and has valid format.

HasTo ( object>.this dictionary ) : bool

Checks if `_to` field is present and has valid format.

ID ( object>.this dictionary, string id ) : object>.Dictionary

Stores `_id` field value.

ID ( object>.this dictionary ) : string

Retrieves value of `_id` field. If the field is missing or has invalid format null value is returned.

IsID ( object>.this dictionary, string fieldPath ) : bool

Checks if specified field path has valid document ID value in the format of `collection/key`.

IsKey ( object>.this dictionary, string fieldPath ) : bool

Checks if specified field path has valid document key value.

Key ( object>.this dictionary, string key ) : object>.Dictionary

Stores `_key` field value.

Key ( object>.this dictionary ) : string

Retrieves value of `_key` field. If the field is missing or has invalid format null value is returned.

Rev ( object>.this dictionary, string rev ) : object>.Dictionary

Stores `_rev` field value.

Rev ( object>.this dictionary ) : string

Retrieves value of `_rev` field. If the field is missing or has invalid format null value is returned.

To ( object>.this dictionary, string id ) : object>.Dictionary

Stores `_to` field value.

To ( object>.this dictionary ) : string

Retrieves value of `_to` field. If the field is missing or has invalid format null value is returned.

Method Details

From() public static méthode

Stores `_from` field value.
Specified id value has invalid format.
public static From ( object>.this dictionary, string id ) : object>.Dictionary
dictionary object>.this
id string
Résultat object>.Dictionary

From() public static méthode

Retrieves value of `_from` field. If the field is missing or has invalid format null value is returned.
public static From ( object>.this dictionary ) : string
dictionary object>.this
Résultat string

HasFrom() public static méthode

Checks if `_from` field is present and has valid format.
public static HasFrom ( object>.this dictionary ) : bool
dictionary object>.this
Résultat bool

HasID() public static méthode

Checks if `_id` field is present and has valid format.
public static HasID ( object>.this dictionary ) : bool
dictionary object>.this
Résultat bool

HasKey() public static méthode

Checks if `_key` field is present and has valid format.
public static HasKey ( object>.this dictionary ) : bool
dictionary object>.this
Résultat bool

HasRev() public static méthode

Checks if `_rev` field is present and has valid format.
public static HasRev ( object>.this dictionary ) : bool
dictionary object>.this
Résultat bool

HasTo() public static méthode

Checks if `_to` field is present and has valid format.
public static HasTo ( object>.this dictionary ) : bool
dictionary object>.this
Résultat bool

ID() public static méthode

Stores `_id` field value.
Specified id value has invalid format.
public static ID ( object>.this dictionary, string id ) : object>.Dictionary
dictionary object>.this
id string
Résultat object>.Dictionary

ID() public static méthode

Retrieves value of `_id` field. If the field is missing or has invalid format null value is returned.
public static ID ( object>.this dictionary ) : string
dictionary object>.this
Résultat string

IsID() public static méthode

Checks if specified field path has valid document ID value in the format of `collection/key`.
public static IsID ( object>.this dictionary, string fieldPath ) : bool
dictionary object>.this
fieldPath string
Résultat bool

IsKey() public static méthode

Checks if specified field path has valid document key value.
public static IsKey ( object>.this dictionary, string fieldPath ) : bool
dictionary object>.this
fieldPath string
Résultat bool

Key() public static méthode

Stores `_key` field value.
Specified key value has invalid format.
public static Key ( object>.this dictionary, string key ) : object>.Dictionary
dictionary object>.this
key string
Résultat object>.Dictionary

Key() public static méthode

Retrieves value of `_key` field. If the field is missing or has invalid format null value is returned.
public static Key ( object>.this dictionary ) : string
dictionary object>.this
Résultat string

Rev() public static méthode

Stores `_rev` field value.
Specified rev value has invalid format.
public static Rev ( object>.this dictionary, string rev ) : object>.Dictionary
dictionary object>.this
rev string
Résultat object>.Dictionary

Rev() public static méthode

Retrieves value of `_rev` field. If the field is missing or has invalid format null value is returned.
public static Rev ( object>.this dictionary ) : string
dictionary object>.this
Résultat string

To() public static méthode

Stores `_to` field value.
Specified id value has invalid format.
public static To ( object>.this dictionary, string id ) : object>.Dictionary
dictionary object>.this
id string
Résultat object>.Dictionary

To() public static méthode

Retrieves value of `_to` field. If the field is missing or has invalid format null value is returned.
public static To ( object>.this dictionary ) : string
dictionary object>.this
Résultat string