FileService Events
The FileService class implements IFileService. It provides access to operations involving IFile objects like scripts, stylesheets and templates.
| Event | Signature | Description |
|---|---|---|
| SavingTemplate | (IFileService sender, SaveEventArgs<ITemplate> e) |
Raised when FileService.SaveTemplate is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| SavedTemplate | (IFileService sender, SaveEventArgs<ITemplate> e) |
Raised when FileService.SaveTemplate is called in the API and after data has been persisted. "sender" will be the current IFileService object. "e" will provide: NOTE: See here on how to determine if the entity is brand new
|
| SavingScript | (IFileService sender, SaveEventArgs<Script> e) |
Raised when FileService.SaveScript is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| SavedScript | (IFileService sender, SaveEventArgs<Script> e) |
Raised when FileService.SaveScript is called in the API and after data has been persisted. "sender" will be the current IFileService object. "e" will provide:
|
| SavingStylesheet | (IFileService sender, SaveEventArgs<Stylesheet> e) |
Raised when FileService.SaveStylesheet is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| SavedStylesheet | (IFileService sender, SaveEventArgs<Stylesheet> e) |
Raised when FileService.SaveStylesheet is called in the API and after data has been persisted. "sender" will be the current IFileService object. "e" will provide:
|
| DeletingTemplate | (IFileService sender, DeleteEventArgs<ITemplate> e) |
Raised when FileService.DeleteTemplate is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| DeletedTemplate | (IFileService sender, DeleteEventArgs<ITemplate> e) |
Raised when FileService.DeleteTemplate is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| DeletingScript | (IFileService sender, DeleteEventArgs<Script> e) |
Raised when FileService.DeleteScript is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| DeletedScript | (IFileService sender, DeleteEventArgs<Script> e) |
Raised when FileService.DeleteScript is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| DeletingStylesheet | (IFileService sender, DeleteEventArgs<Stylesheet> e) |
Raised when FileService.DeleteStylesheet is called in the API. "sender" will be the current IFileService object. "e" will provide:
|
| DeletedStylesheet | (IFileService sender, DeleteEventArgs<Stylesheet> e) |
Raised when FileService.DeleteStylesheet is called in the API. "sender" will be the current IFileService object. "e" will provide:
|