CmisSync.Lib.Cmis.ConvenienceExtenders.CmisConvenienceExtenders.ArePrivateWorkingCopySupported C# (CSharp) Method

ArePrivateWorkingCopySupported() public static method

Detect whether the repository supports checkout/cancelCheckout/checkin
public static ArePrivateWorkingCopySupported ( this session ) : bool
session this The Cmis Session
return bool
        public static bool ArePrivateWorkingCopySupported(this ISession session) {
            try {
                return session.RepositoryInfo.Capabilities.IsPwcUpdatableSupported.GetValueOrDefault();
            } catch (NullReferenceException) {
                return false;
            }
        }