Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Interface IRepositoryFileProtectionProvider

Namespace: Aurigma.DesignAtoms.Storage.Repositories.Interfaces.Protectors

Assembly: Aurigma.DesignAtoms.dll

Syntax
public interface IRepositoryFileProtectionProvider

Methods​

IsProtected​

bool IsProtected(string fileId)

Parameters​

TypeNameDescription
System.StringfileId

Returns​

System.Boolean

IsProtectedAsync​

Task<bool> IsProtectedAsync(string fileId)

Parameters​

TypeNameDescription
System.StringfileId

Returns​

System.Threading.Tasks.Task<System.Boolean>

TrySetProtection​

bool TrySetProtection(string fileId, bool isProtected)

Parameters​

TypeNameDescription
System.StringfileId
System.BooleanisProtected

Returns​

System.Boolean

TrySetProtectionAsync​

Task<bool> TrySetProtectionAsync(string fileId, bool isProtected)

Parameters​

TypeNameDescription
System.StringfileId
System.BooleanisProtected

Returns​

System.Threading.Tasks.Task<System.Boolean>

Was this page helpful?