A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Services.StylesheetService.html below:

View Source Class StylesheetService Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntax
public class StylesheetService : FileServiceOperationBase<IStylesheetRepository, IStylesheet, StylesheetOperationStatus>, IService, IStylesheetService, IBasicFileService<IStylesheet>
Constructors View Source StylesheetService(ICoreScopeProvider, ILoggerFactory, IEventMessagesFactory, IStylesheetRepository, ILogger<StylesheetService>, IUserIdKeyResolver, IAuditRepository) Declaration
public StylesheetService(ICoreScopeProvider provider, ILoggerFactory loggerFactory, IEventMessagesFactory eventMessagesFactory, IStylesheetRepository repository, ILogger<StylesheetService> logger, IUserIdKeyResolver userIdKeyResolver, IAuditRepository auditRepository)
Parameters Properties View Source AllowedFileExtensions Declaration
protected override string[] AllowedFileExtensions { get; }
Property Value Type Description System.String[] View Source AlreadyExists Declaration
protected override StylesheetOperationStatus AlreadyExists { get; }
Property Value View Source CancelledByNotification Declaration
protected override StylesheetOperationStatus CancelledByNotification { get; }
Property Value View Source EntityType Declaration
protected override string EntityType { get; }
Property Value Type Description System.String View Source InvalidFileExtension Declaration
protected override StylesheetOperationStatus InvalidFileExtension { get; }
Property Value View Source InvalidName Declaration
protected override StylesheetOperationStatus InvalidName { get; }
Property Value View Source NotFound Declaration
protected override StylesheetOperationStatus NotFound { get; }
Property Value View Source ParentNotFound Declaration
protected override StylesheetOperationStatus ParentNotFound { get; }
Property Value View Source PathTooLong Declaration
protected override StylesheetOperationStatus PathTooLong { get; }
Property Value View Source Success Declaration
protected override StylesheetOperationStatus Success { get; }
Property Value Methods View Source CreateAsync(StylesheetCreateModel, Guid)

Creates a new stylesheet.

Declaration
public async Task<Attempt<IStylesheet, StylesheetOperationStatus>> CreateAsync(StylesheetCreateModel createModel, Guid userKey)
Parameters Returns View Source CreateEntity(String, String) Declaration
protected override IStylesheet CreateEntity(string path, string content)
Parameters Type Name Description System.String path System.String content Returns View Source DeleteAsync(String, Guid)

Deletes a stylesheet.

Declaration
public async Task<StylesheetOperationStatus> DeleteAsync(string path, Guid userKey)
Parameters Type Name Description System.String path

The path of the stylesheet to delete.

Guid userKey

The key of the user performing the operation.

Returns View Source DeletedNotification(IStylesheet, EventMessages) Declaration
protected override StylesheetDeletedNotification DeletedNotification(IStylesheet target, EventMessages messages)
Parameters Returns View Source DeletingNotification(IStylesheet, EventMessages) Declaration
protected override StylesheetDeletingNotification DeletingNotification(IStylesheet target, EventMessages messages)
Parameters Returns View Source RenameAsync(String, StylesheetRenameModel, Guid)

Renames a stylesheet.

Declaration
public async Task<Attempt<IStylesheet, StylesheetOperationStatus>> RenameAsync(string path, StylesheetRenameModel renameModel, Guid userKey)
Parameters Type Name Description System.String path

The path of the stylesheet to rename.

StylesheetRenameModel renameModel

A StylesheetRenameModel with the changes.

Guid userKey

The key of the user performing the operation.

Returns View Source SavedNotification(IStylesheet, EventMessages) Declaration
protected override StylesheetSavedNotification SavedNotification(IStylesheet target, EventMessages messages)
Parameters Returns View Source SavingNotification(IStylesheet, EventMessages) Declaration
protected override StylesheetSavingNotification SavingNotification(IStylesheet target, EventMessages messages)
Parameters Returns View Source UpdateAsync(String, StylesheetUpdateModel, Guid)

Updates an existing stylesheet.

Declaration
public async Task<Attempt<IStylesheet, StylesheetOperationStatus>> UpdateAsync(string path, StylesheetUpdateModel updateModel, Guid userKey)
Parameters Type Name Description System.String path

The path of the stylesheet to update.

StylesheetUpdateModel updateModel

A StylesheetUpdateModel with the changes.

Guid userKey

The key of the user performing the operation.

Returns

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4