Click or drag to resize
AlchemyResourceGroup Class
Represents a resource group in the editor configuration at /Configuration/resources/cfg:groups.
Inheritance Hierarchy
SystemObject
  Alchemy4Tridion.Plugins.GUI.ConfigurationResourceGroup

Namespace: Alchemy4Tridion.Plugins.GUI.Configuration
Assembly: Alchemy4Tridion.Plugins (in Alchemy4Tridion.Plugins.dll) Version: 1.0.0.0 (0.7.0.0)
Syntax
C#
public abstract class ResourceGroup : IEditorSection

The ResourceGroup type exposes the following members.

Constructors
  NameDescription
Public methodResourceGroup
Constructor
Top
Methods
  NameDescription
Public methodAddFile(String)
Adds a file to the group's fileset. The file type is determined by the file's extension.
Public methodAddFile(FileTypes, String)
Adds a file to the group's fileset.
Public methodAddFileT
Adds a file reference that will point to the name of the reference using it.
Public methodAddFiles
Adds files to the group's fileset. The types are determined by each file's extension.
Public methodAddWebApiProxy
Adds the web api JavaScript proxy file to the file of this resource group and attaches necessary dependencies. The proxy is an automatically built JavaScript API that allows you to call your plugin's WebAPI controllers as well as some other server side utilities like getting your custom configuration client settings.
Note Note
You do not have to add a dependency to the Alchemy Core resource group via Dependencies.AddAlchemyCore() as the proxy already has a dependency on it.
Public methodAttachToView
Attaches the resource group to a specific view in this plugin. That view page will automatically add the this resource group as a dependency.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDependencies
Gets or sets the list of dependencies that this group depends on.
Public propertyFileset
Gets or sets the list of files in the resource group.
Public propertyFullName
Gets the full resource name (ie Alchemy.Plugins.PluginName.Resources.GroupName).
Public propertyName
Gets or sets the name of this resource group. This is the short name at the end of the full name.
Public propertyPlugin
The plugin that this resource group belongs to. Set automatically by core framework.
Top
See Also