C# Class Realms.RealmConfiguration

Realm configuration specifying settings that affect the Realm's behavior.
Its main role is generating a canonical path from whatever absolute, relative subdirectory, or just filename the user supplies.
Inheritance: RealmConfigurationBase
Mostra file Open project: realm/realm-dotnet Class Usage Examples

Public Methods

Method Description
ConfigWithPath ( string newConfigPath ) : RealmConfiguration

Clone method allowing you to override or customize the current path.

RealmConfiguration ( string optionalPath = null ) : System

Initializes a new instance of the RealmConfiguration class.

Private Methods

Method Description
CreateRealm ( RealmSchema schema ) : Realm

Method Details

ConfigWithPath() public method

Clone method allowing you to override or customize the current path.
public ConfigWithPath ( string newConfigPath ) : RealmConfiguration
newConfigPath string Path to the realm, must be a valid full path for the current platform, relative subdirectory, or just filename.
return RealmConfiguration

RealmConfiguration() public method

Initializes a new instance of the RealmConfiguration class.
public RealmConfiguration ( string optionalPath = null ) : System
optionalPath string Path to the realm, must be a valid full path for the current platform, relative subdirectory, or just filename.
return System