private MakuraDocument GetMakuraDocument(Document cmisDoc) { var content = new MakuraContentStream(); content.FileName = cmisDoc.ContentStreamFileName; content.Length = cmisDoc.ContentStreamLength; content.MimeType = cmisDoc.ContentStreamMimeType; content.Stream = cmisDoc.GetContentStream().Stream; var doc = new MakuraDocument(); doc.ContentStream = content; doc.Name = cmisDoc.Name; return doc; }
public CmisChangeLogEventArgs(WatcherChangeTypes changeType, Document updateDoc) { UpdatedDocument = updateDoc; }