skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class ResourceStorageBase

Abstract base class that handles the creation of default folders.

Inheritance
System.Object
ResourceStorageBase
ResourceStorage
Namespace: Telerik.WebReportDesigner.Services
Assembly: Telerik.WebReportDesigner.Services.dll

Syntax

public abstract class ResourceStorageBase

Constructors

ResourceStorageBase(CreateFolderModel[])

Initializes a new instance of a descendant of the ResourceStorageBase class.

Declaration
public ResourceStorageBase(CreateFolderModel[] defaultFolders)
Parameters
CreateFolderModel[] defaultFolders

Fields

defaultFolders

List with default folders created when the ResourceStorage is instantiated.

Declaration
protected static readonly CreateFolderModel[] defaultFolders
Field Value
CreateFolderModel[]

DefaultFoldersToCreate

Gets or sets the default folders that will be created upon starting.

Declaration
protected readonly CreateFolderModel[] DefaultFoldersToCreate
Field Value
CreateFolderModel[]

Methods

CreateDefaultFolder(CreateFolderModel)

Creates a folder by the given model.

Declaration
protected abstract void CreateDefaultFolder(CreateFolderModel model)
Parameters
CreateFolderModel model

EnsureDefaultFolders()

Ensures the default folders will be created.

Declaration
protected virtual void EnsureDefaultFolders()

GetOrderedDefaultFoldersToCreate()

Gets the order in which the default folders will be created.

Declaration
protected virtual IEnumerable<CreateFolderModel> GetOrderedDefaultFoldersToCreate()
Returns
System.Collections.Generic.IEnumerable<CreateFolderModel>

IsExtensionValid(String)

Determines if an asset extension is valid.

Declaration
protected virtual bool IsExtensionValid(string resourceExtension)
Parameters
System.String resourceExtension

Returns
System.Boolean

ValidateSavedResourceExtension(String)

Validates if the extension of the resourceName is not in the forbidden extensions list.

Declaration
protected void ValidateSavedResourceExtension(string resourceName)
Parameters
System.String resourceName

Exceptions
InvalidResourceNameException

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.