예제 #1
0
 public SrmDocumentSharing(SrmDocument document, string documentPath, string sharedPath, ShareType shareType) : this(sharedPath)
 {
     Document     = document;
     DocumentPath = documentPath;
     ShareType    = shareType;
 }
예제 #2
0
 protected bool Equals(ShareType other)
 {
     return(Complete == other.Complete && Equals(SkylineVersion, other.SkylineVersion));
 }
예제 #3
0
 public static bool ShouldShareAuditLog(SrmDocument doc, ShareType shareType)
 {
     return(doc.Settings.DataSettings.AuditLogging &&
            (shareType.SkylineVersion ?? SkylineVersion.CURRENT).SrmDocumentVersion >=
            DocumentFormat.VERSION_4_13);
 }