Fauna csharp driver  4.2.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Properties | List of all members
FaunaDB.Types.ArrayV Class Reference

Represents an array value in the FaunaDB query language. Arrays are polymorphic ordered lists of other values. More...

Inheritance diagram for FaunaDB.Types.ArrayV:
FaunaDB.Types.Value FaunaDB.Query.Expr

Public Member Functions

override bool Equals (Expr v)
 
override string ToString ()
 
- Public Member Functions inherited from FaunaDB.Types.Value
Value At (params string[] keys)
 Navigate through object's keys, assuming value is an instance of ObjectV. More...
 
Value At (params int[] indexes)
 Navigate through array's indexes, assuming value is an instance of ArrayV. More...
 
IResult< T > To< T > ()
 Attempts to coerce this value to given type T specified. More...
 
IReadOnlyList< T > Collect< T > (Field< T > field)
 Loop through this node collecting the Field passed, assuming the node is an instance of ArrayV More...
 
Get< T > (Field< T > field)
 Extract a Field from this node More...
 
IOption< T > GetOption< T > (Field< T > field)
 Attempts to extact a Field from this node More...
 
- Public Member Functions inherited from FaunaDB.Query.Expr
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static ArrayV Of (params Value[] values)
 
static ArrayV Of (IEnumerable< Value > values)
 
- Static Public Member Functions inherited from FaunaDB.Types.Value
static implicit operator Value (bool b)
 
static implicit operator Value (double d)
 
static implicit operator Value (long l)
 
static implicit operator Value (int i)
 
static implicit operator Value (string s)
 
static implicit operator Value (DateTime dt)
 
static implicit operator Value (DateTimeOffset dt)
 
static implicit operator Value (byte[] bytes)
 
static operator bool (Value v)
 
static operator double (Value v)
 
static operator long (Value v)
 
static operator string (Value v)
 
static operator DateTime (Value v)
 
static operator DateTimeOffset (Value v)
 
- Static Public Member Functions inherited from FaunaDB.Query.Expr
static bool operator== (Expr a, Expr b)
 
static bool operator!= (Expr a, Expr b)
 
static implicit operator Expr (bool b)
 
static implicit operator Expr (double d)
 
static implicit operator Expr (long l)
 
static implicit operator Expr (int i)
 
static implicit operator Expr (string s)
 
static implicit operator Expr (DateTime dt)
 
static implicit operator Expr (DateTimeOffset dt)
 
static implicit operator Expr (Dictionary< string, Expr > dict)
 
static implicit operator Expr (byte[] bytes)
 
static implicit operator Expr (ActionType action)
 
static implicit operator Expr (TimeUnit unit)
 
static implicit operator Expr (Normalizer normalizer)
 
static operator bool (Expr v)
 
static operator double (Expr v)
 
static operator long (Expr v)
 
static operator string (Expr v)
 
static operator DateTime (Expr v)
 
static operator DateTimeOffset (Expr v)
 
static operator ActionType (Expr v)
 
static operator TimeUnit (Expr unit)
 
static operator Normalizer (Expr normalizer)
 

Static Public Attributes

static readonly ArrayV Empty = new ArrayV(new List<Value>())
 

Protected Member Functions

override int HashCode ()
 

Properties

IReadOnlyList< ValueValue [get]
 
Value this[int n] [get]
 Get the nth value. More...
 
int Length [get]
 

Detailed Description

Represents an array value in the FaunaDB query language. Arrays are polymorphic ordered lists of other values.

Definition at line 15 of file ArrayV.cs.

Member Function Documentation

◆ Equals()

override bool FaunaDB.Types.ArrayV.Equals ( Expr  v)
virtual

Implements FaunaDB.Query.Expr.

Definition at line 71 of file ArrayV.cs.

◆ HashCode()

override int FaunaDB.Types.ArrayV.HashCode ( )
protectedvirtual

Implements FaunaDB.Query.Expr.

◆ Of() [1/2]

static ArrayV FaunaDB.Types.ArrayV.Of ( IEnumerable< Value values)
static

◆ Of() [2/2]

static ArrayV FaunaDB.Types.ArrayV.Of ( params Value[]  values)
static

◆ ToString()

override string FaunaDB.Types.ArrayV.ToString ( )

Member Data Documentation

◆ Empty

readonly ArrayV FaunaDB.Types.ArrayV.Empty = new ArrayV(new List<Value>())
static

Definition at line 17 of file ArrayV.cs.

Property Documentation

◆ Length

int FaunaDB.Types.ArrayV.Length
get

Definition at line 55 of file ArrayV.cs.

◆ this[int n]

Value FaunaDB.Types.ArrayV.this[int n]
get

Get the nth value.

Exceptions
IndexOutOfRangeException

Definition at line 53 of file ArrayV.cs.

◆ Value

IReadOnlyList<Value> FaunaDB.Types.ArrayV.Value
get

Definition at line 19 of file ArrayV.cs.


The documentation for this class was generated from the following file: