C# Class Benchmarkr.BenchmarkBase

Show file Open project: realm/realm-dotnet Class Usage Examples

Public Methods

Method Description
Count ( EmployeeQuery query ) : int
DeleteDB ( ) : void
Enumerate ( EmployeeQuery query ) : long
InsertObject ( uint index ) : void
OpenDB ( ) : IDisposable
RunInTransaction ( System.Action action ) : void

Protected Methods

Method Description
AgeValue ( uint index ) : int
IsHiredValue ( uint index ) : bool
NameValue ( uint index ) : string

Private Methods

Method Description
PerformTest ( Action test ) : System.TimeSpan

Method Details

AgeValue() protected static method

protected static AgeValue ( uint index ) : int
index uint
return int

Count() public abstract method

public abstract Count ( EmployeeQuery query ) : int
query EmployeeQuery
return int

DeleteDB() public abstract method

public abstract DeleteDB ( ) : void
return void

Enumerate() public abstract method

public abstract Enumerate ( EmployeeQuery query ) : long
query EmployeeQuery
return long

InsertObject() public abstract method

public abstract InsertObject ( uint index ) : void
index uint
return void

IsHiredValue() protected static method

protected static IsHiredValue ( uint index ) : bool
index uint
return bool

NameValue() protected static method

protected static NameValue ( uint index ) : string
index uint
return string

OpenDB() public abstract method

public abstract OpenDB ( ) : IDisposable
return IDisposable

RunInTransaction() public abstract method

public abstract RunInTransaction ( System.Action action ) : void
action System.Action
return void