versionFrom |
---|
9.0.0 |
:::note If you are using Umbraco 8 or any lower version, please refer to the FileService Events article instead. :::
The FileService class implements IFileService. It provides access to operations involving IFile objects like scripts, stylesheets and templates.
Notification | Members | Description |
---|---|---|
TemplateSavingNotification |
|
Published when FileService.SaveTemplate is called in the API.
|
TemplateSavedNotification |
|
Published when FileService.SaveTemplate is called in the API, after the template has been saved.
|
ScriptSavingNotification |
|
Published when FileService.SaveScript is called in the API. SavedEntities: Gets the collection of IScript objects being saved. |
ScriptSavedNotification |
|
Published when FileService.SaveScript is called in the API, after the script has been saved. SavedEntities: Gets the collection of saved IScript objects. |
StylesheetSavingNotification |
|
Published when FileService.SaveStyleSheet is called in the API. SavedEntities: Gets the collection of IStylesheet objects being saved. |
StylesheetSavedNotification |
|
Published when FileService.SaveStylesheet is called in the API, after the script has been saved. SavedEntities: Gets the collection of saved IStylesheet objects. |
TemplateDeletingNotification |
|
Published when FileService.DeleteTemplate is called in the API. DeletedEntities: Gets the collection of ITemplate objects being deleted. |
TemplateDeletedNotification |
|
Published when FileService.DeleteTemplate is called in the API, after the template has been deleted. DeletedEntities: Gets the collection of deleted ITemplate objects. |
ScriptDeletingNotification |
|
Published when FileService.DeleteScript is called in the API. DeletedEntities: Gets the collection of IScript objects being deleted. |
ScriptDeletedNotification |
|
Published when FileService.DeleteScript is called in the API, after the script has been deleted. DeletedEntities: Gets the collection of deleted IScript objects. |
StylesheetDeletingNotification |
|
Published when FileService.DeleteStylesheet is called in the API. DeletedEntities: Gets the collection of IStylesheet objects being deleted. |
StylesheetDeletedNotification |
|
Published when FileService.DeleteStylesheet is called in the API, after the stylesheet has been deleted. DeletedEntities: Gets the collection of deleted IStylesheet objects. |