Skip to main content

Interface IRepositoryFileProtector

Namespace: Aurigma.DesignAtoms.Storage.Repositories.Interfaces.Protectors
Assembly: Aurigma.DesignAtoms.dll
Syntax
public interface IRepositoryFileProtector

Methods

IsProtected

bool IsProtected(StorageFileInfoModel storageFileInfoModel)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Storages.Abstractions.Models.StorageFileInfoModelstorageFileInfoModel
Returns

System.Boolean

IsProtectedAsync

Task<bool> IsProtectedAsync(StorageFileInfoModel storageFileInfoModel)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Storages.Abstractions.Models.StorageFileInfoModelstorageFileInfoModel
Returns

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

SetProtection

void SetProtection(StorageFileInfoModel storageFileInfoModel, bool isProtected)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Storages.Abstractions.Models.StorageFileInfoModelstorageFileInfoModel
System.BooleanisProtected

SetProtectionAsync

Task SetProtectionAsync(StorageFileInfoModel storageFileInfoModel, bool isProtected)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Storages.Abstractions.Models.StorageFileInfoModelstorageFileInfoModel
System.BooleanisProtected
Returns

System.Threading.Tasks.Task

AddFileProtectionProvider

void AddFileProtectionProvider(IRepositoryFileProtectionProvider fileProtectionProvider)
Parameters
TypeNameDescription
Aurigma.DesignAtoms.Storage.Repositories.Interfaces.Protectors.IRepositoryFileProtectionProviderfileProtectionProvider
Was this page helpful?