CmisSync.Lib.Storage.Database.Entities.MappedObject.MappedObject C# (CSharp) Method

MappedObject() public method

Initializes a new instance of the MappedObject class.
public MappedObject ( IFolder remoteFolder ) : System
remoteFolder IFolder /// A IFolder fetched via cmis. ///
return System
        public MappedObject(IFolder remoteFolder) {
            this.RemoteObjectId = remoteFolder.Id;
            this.ParentId = remoteFolder.ParentId;
            this.LastChangeToken = remoteFolder.ChangeToken;
            this.Name = remoteFolder.Name;
            this.Type = MappedObjectType.Folder;
            this.LastRemoteWriteTimeUtc = remoteFolder.LastModificationDate;
            this.ActualOperation = OperationType.No;
            this.Retries = new Dictionary<OperationType, int>();
            this.LastContentSize = -1;
        }

Same methods

MappedObject::MappedObject ( ) : System
MappedObject::MappedObject ( MappedObject data ) : System
MappedObject::MappedObject ( string name, string remoteId, MappedObjectType type, string parentId, string changeToken, long contentSize = -1, bool readOnly = false ) : System