Click or drag to resize
MediaLibraryMethods Class
Media library methods - wrapping methods for macro resolver.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroExtensionContainerMacroMethodContainer, MacroMethod
    CMS.MacroEngineMacroMethodContainer
      CMS.MediaLibrary.Web.UIMediaLibraryMethods

Namespace: CMS.MediaLibrary.Web.UI
Assembly: CMS.MediaLibrary.Web.UI (in CMS.MediaLibrary.Web.UI.dll) Version: 12.0.0
Syntax
C#
public class MediaLibraryMethods : MacroMethodContainer

The MediaLibraryMethods type exposes the following members.

Constructors
  NameDescription
Public methodMediaLibraryMethods
Top
Properties
Methods
  NameDescription
Protected methodGetExtension(String)
Returns a Extension of given name (return null if specified Extension does not exist).
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodGetExtension(Type, String)
Returns the extension by type and name. Does not cache the result. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodGetExtensions
Gets the extensions for the given type. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Public methodStatic memberGetMediaFileDetailUrl
Returns URL to detail of media file.
Public methodStatic memberGetMediaFileDirectUrl
Returns direct URL to the media file, user permissions are not checked.
Public methodStatic memberGetMediaFileUrl
Returns direct URL to the media file, user permissions are not checked.
Public methodStatic memberGetMediaFileUrlWithCheck
Returns URL to media file which is rewritten to calling GetMediaFile.aspx page where user permissions are checked.
Public methodGetMethod
Returns a method of given name (return null if specified method does not exist).
(Inherited from MacroMethodContainer.)
Protected methodRegisterExtension
Registers a Extension to the container.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodRegisterExtensions
Registers all the methods.
(Inherited from MacroMethodContainer.)
Public methodRegisterMethod
Registers the given method.
(Inherited from MacroMethodContainer.)
Protected methodRegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String)
Registers the given method within the method table.
(Inherited from MacroMethodContainer.)
Protected methodRegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String)
Registers the given method within the method table.
(Inherited from MacroMethodContainer.)
Protected methodRegisterMethods
Registers all the methods.
(Inherited from MacroMethodContainer.)
Public methodRegisterMethods(MacroMethod)
Registers the given methods.
(Inherited from MacroMethodContainer.)
Top
See Also