C# Class Realms.Sync.PermissionOffer

Inheritance: RealmObject, IPermissionObject
Mostrar archivo Open project: realm/realm-dotnet Class Usage Examples

Private Properties

Property Type Description
PermissionOffer System

Public Methods

Method Description
PermissionOffer ( string realmUrl, bool mayRead = true, bool mayWrite = false, bool mayManage = false, DateTimeOffset expiresAt = null ) : System

Initializes a new instance of the PermissionOffer class.

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
PermissionOffer ( ) : System

Method Details

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

PermissionOffer() public method

Initializes a new instance of the PermissionOffer class.
public PermissionOffer ( string realmUrl, bool mayRead = true, bool mayWrite = false, bool mayManage = false, DateTimeOffset expiresAt = null ) : System
realmUrl string The Realm URL to offer permissions to.
mayRead bool If set to true grants read access.
mayWrite bool If set to true grants write access.
mayManage bool If set to true grants manage access.
expiresAt DateTimeOffset Optional expiration date of the offer. If set to null, the offer doesn't expire.
return System