C# Class Amazon.CognitoSync.SyncManager.SyncConflict

A model which stores conflicting record from the remote storage and the local storage.
Mostra file Open project: aws/aws-sdk-net

Public Methods

Method Description
ResolveWithLocalRecord ( ) : Record

Resolves conflict with local record

ResolveWithRemoteRecord ( ) : Record

Resolves conflict with remote record

ResolveWithValue ( string newValue ) : Record

Resolves conflict with a new value.

SyncConflict ( Record remoteRecord, Record localRecord ) : System

Constructs a SyncConflict object.

Method Details

ResolveWithLocalRecord() public method

Resolves conflict with local record
public ResolveWithLocalRecord ( ) : Record
return Record

ResolveWithRemoteRecord() public method

Resolves conflict with remote record
public ResolveWithRemoteRecord ( ) : Record
return Record

ResolveWithValue() public method

Resolves conflict with a new value.
public ResolveWithValue ( string newValue ) : Record
newValue string new value of the record
return Record

SyncConflict() public method

Constructs a SyncConflict object.
public SyncConflict ( Record remoteRecord, Record localRecord ) : System
remoteRecord Record record from remote storage
localRecord Record record from local storage
return System