コード例 #1
0
        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;
        }
コード例 #2
0
 public CmisChangeLogEventArgs(WatcherChangeTypes changeType, Document updateDoc) {
     UpdatedDocument = updateDoc;
 }