forked from umbraco/UmbracoDocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
155 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
155 changes: 155 additions & 0 deletions
155
Documentation/Reference/Events-v6/FileService-Events.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
#FileService Events# | ||
|
||
The FileService class implements IFileService. It provides easy access to operations involving IFile objects like scripts, stylesheets and templates. | ||
|
||
<table> | ||
<tr> | ||
<th>Event</th> | ||
<th>Signature</th> | ||
<th>Description</th> | ||
</tr> | ||
<tr> | ||
<td>SavingTemplate</td> | ||
<td>(IFileService sender, SaveEventArgs<ITemplate> e)</td> | ||
<td> | ||
Raised when FileService.SaveTemplate is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>SavedEntities: Gets the collection of ITemplate objects being saved.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>SavedTemplate</td> | ||
<td>(IFileService sender, SaveEventArgs<ITemplate> e)</td> | ||
<td> | ||
Raised when FileService.SaveTemplate is called in the API and after data has been persisted.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>SavedEntities: Gets the saved collection of ITemplate objects.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>SavingScript</td> | ||
<td>(IFileService sender, SaveEventArgs<Script> e)</td> | ||
<td> | ||
Raised when FileService.SaveScript is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>SavedEntities: Gets the collection of Script objects being saved.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>SavedScript</td> | ||
<td>(IFileService sender, SaveEventArgs<Script> e)</td> | ||
<td> | ||
Raised when FileService.SaveScript is called in the API and after data has been persisted.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>SavedEntities: Gets the saved collection of Script objects.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>SavingStylesheet</td> | ||
<td>(IFileService sender, SaveEventArgs<Stylesheet> e)</td> | ||
<td> | ||
Raised when FileService.SaveStylesheet is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>SavedEntities: Gets the collection of Stylesheet objects being saved.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>SavedStylesheet</td> | ||
<td>(IFileService sender, SaveEventArgs<Stylesheet> e)</td> | ||
<td> | ||
Raised when FileService.SaveStylesheet is called in the API and after data has been persisted.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>SavedEntities: Gets the saved collection of Stylesheet objects.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>DeletingTemplate</td> | ||
<td>(IFileService sender, DeleteEventArgs<ITemplate> e)</td> | ||
<td> | ||
Raised when FileService.DeleteTemplate is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>DeletedEntities: Gets the collection of ITemplate objects being deleted.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>DeletedTemplate</td> | ||
<td>(IFileService sender, DeleteEventArgs<ITemplate> e)</td> | ||
<td> | ||
Raised when FileService.DeleteTemplate is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>DeletedEntities: Gets the collection of deleted ITemplate objects.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>DeletingScript</td> | ||
<td>(IFileService sender, DeleteEventArgs<Script> e)</td> | ||
<td> | ||
Raised when FileService.DeleteScript is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>DeletedEntities: Gets the collection of Script objects being deleted.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>DeletedScript</td> | ||
<td>(IFileService sender, DeleteEventArgs<Script> e)</td> | ||
<td> | ||
Raised when FileService.DeleteScript is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>DeletedEntities: Gets the collection of deleted Script objects.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>DeletingStylesheet</td> | ||
<td>(IFileService sender, DeleteEventArgs<Stylesheet> e)</td> | ||
<td> | ||
Raised when FileService.DeleteStylesheet is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>DeletedEntities: Gets the collection of Stylesheet objects being deleted.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>DeletedStylesheet</td> | ||
<td>(IFileService sender, DeleteEventArgs<Stylesheet> e)</td> | ||
<td> | ||
Raised when FileService.DeleteStylesheet is called in the API.<br /> | ||
"sender" will be the current IFileService object.<br /> | ||
"e" will provide: | ||
<ol> | ||
<li>DeletedEntities: Gets the collection of deleted Stylesheet objects.</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
</table> |