ICentralizedFileEventExecutor is defined in the Telligent.Evolution.Extensibility.Storage.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
interface ICentralizedFileEventExecutor
{
	void OnAfterCreate(ICentralizedFile file);
	void OnAfterDelete(string fileStoreKey, string path, string fileName);
	void OnAfterDownload(ICentralizedFile file);
	void OnAfterUpdate(ICentralizedFile file);
	void OnBeforeCreate(string fileStoreKey, string path, string fileName);
	void OnBeforeDelete(string fileStoreKey, string path, string fileName);
	void OnBeforeDownload(ICentralizedFile file);
	void OnBeforeUpdate(ICentralizedFile file);
	string OnGetClientDownloadUrl(ICentralizedFile file, string clientDownloadUrl);
}
Methods
void OnAfterCreate(ICentralizedFile file);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| file | ICentralizedFile | File | Required | 
void OnAfterDelete(string fileStoreKey, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| fileStoreKey | string | File Store Key | Required | ||
| path | string | Path | Required | ||
| fileName | string | File Name | Required | 
void OnAfterDownload(ICentralizedFile file);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| file | ICentralizedFile | File | Required | 
void OnAfterUpdate(ICentralizedFile file);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| file | ICentralizedFile | File | Required | 
void OnBeforeCreate(string fileStoreKey, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| fileStoreKey | string | File Store Key | Required | ||
| path | string | Path | Required | ||
| fileName | string | File Name | Required | 
void OnBeforeDelete(string fileStoreKey, string path, string fileName);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| fileStoreKey | string | File Store Key | Required | ||
| path | string | Path | Required | ||
| fileName | string | File Name | Required | 
void OnBeforeDownload(ICentralizedFile file);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| file | ICentralizedFile | File | Required | 
void OnBeforeUpdate(ICentralizedFile file);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| file | ICentralizedFile | File | Required | 
string OnGetClientDownloadUrl(ICentralizedFile file, string clientDownloadUrl);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| file | ICentralizedFile | File | Required | ||
| clientDownloadUrl | string | Client Download Url | Required | 
Return Type
string
 
				