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