Interface IFileLockingController
Namespace: DotNetNuke.Services.FileSystem.Internal
Assembly: DotNetNuke.dll
Syntax
public interface IFileLockingController
Methods
IsFileLocked(IFileInfo, out string)
Declaration
bool IsFileLocked(IFileInfo file, out string lockReasonKey)
Parameters
| Type | Name | Description |
|---|---|---|
| IFileInfo | file | |
| string | lockReasonKey |
Returns
| Type | Description |
|---|---|
| bool |
IsFileOutOfPublishPeriod(IFileInfo, int, int)
Declaration
bool IsFileOutOfPublishPeriod(IFileInfo file, int portalId, int userId)
Parameters
| Type | Name | Description |
|---|---|---|
| IFileInfo | file | |
| int | portalId | |
| int | userId |
Returns
| Type | Description |
|---|---|
| bool |