You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > MediaController Class

MediaController Class

AuctionWorx 3.5 API
Provides methods that respond to media-specific MVC requests
Inheritance Hierarchy

SystemObject
  ControllerBase
    Controller
      RainWorx.FrameWorx.MVC.ControllersAuctionWorxController
        RainWorx.FrameWorx.MVC.ControllersMediaController

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public class MediaController : AuctionWorxController

The MediaController type exposes the following members.

Constructors

NameDescription
Public methodMediaController
Initializes a new instance of the MediaController class
Top
Methods

NameDescription
Public methodAsyncUploadBanner
Processes an ajax request to save the requested data as a file
Public methodAsyncUploadEventBanner
Saves the uploaded file as a media asset.
Public methodAsyncUploadEventImage
Saves the uploaded file as a media asset.
Public methodAsyncUploadFile
Saves the uploaded file as a media asset.
Public methodAsyncUploadListingImage
Saves the uploaded file as a media asset.
Public methodAsyncUploadLogo
Processes an ajax request to save the requested data as a file
Public methodAsyncUploadSellerLogo
Saves the uploaded file as a media asset.
Public methodDeleteMedia
deletes the specified media
Public methodGet
Gets a media file
Public methodRotateMedia
rotates the specified media 90 degrees
Top
Extension Methods

NameDescription
Public Extension MethodAdminResourceString (Defined by ResourceExtensions.)
Public Extension MethodCloneMediaAssets
Clones a list of Media objects
(Defined by HtmlHelpers.)
Public Extension MethodCountries (Defined by ResourceExtensions.)
Public Extension MethodCustomFieldResourceOrDefaultString (Defined by ResourceExtensions.)
Public Extension MethodCustomFieldResourceString (Defined by ResourceExtensions.)
Public Extension MethodDecodeBreadCrumbs(String)Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.)
Public Extension MethodDecodeBreadCrumbs(String, ListCategory)Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.)
Public Extension MethodFBOUserName
Returns the username of the user being impersonated, if applicable, otherwise returns the username of the authenticated user
(Defined by HtmlHelpers.)
Public Extension MethodFlushCountriesAndStates (Defined by ResourceExtensions.)
Public Extension MethodGetActionUrl(String)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, String)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, Object)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, String, Object)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetAllStripeCards
Calls out to stripe.com API to retrieve saved cards available for the specified invoice
(Defined by StripeHelpers.)
Public Extension MethodGetCookie
Returns a string representation of the browser cookie value associated with the specified key
(Defined by HtmlHelpers.)
Public Extension MethodGetCultureInfo
Returns the CultureInfo of the current user, or the site CultureInfo if not set
(Defined by HtmlHelpers.)
Public Extension MethodGlobalResource (Defined by ResourceExtensions.)
Public Extension MethodGlobalResourceString (Defined by ResourceExtensions.)
Public Extension MethodHasUnexpiredCardOnFile
Returns true if the specified payer has a card saved for use in paying the specified recipient
(Defined by HtmlHelpers.)
Public Extension MethodHasUnexpiredStripeCardOnFile
Calls out to stripe.com API to retrieve saved cards and returns true if an unexpired card is found
(Defined by StripeHelpers.)
Public Extension MethodImpersonateUser
If the currently authenticated user is an admin user, sets a cookie indicating the user to be impersonated
(Defined by HtmlHelpers.)
Public Extension MethodLocalCurrency
Returns HTML showing the specified numeric value formatted as the specified currency. The numeric portion will be wrapped in a <span> tag with css class "NumberPart" applied
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the site timezone and with format string "F"
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime, String)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime, String, String)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the specified timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTMString
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalizeCountry (Defined by ResourceExtensions.)
Public Extension MethodLocalizeCustomFieldValidationMessages
Localizes a collection of validation issues with content defined in Validation.resx
(Defined by HtmlHelpers.)
Public Extension MethodLocalizedCategoryName
Retrieves the localized category or region name
(Defined by ResourceExtensions.)
Public Extension MethodLocalizeState (Defined by ResourceExtensions.)
Public Extension MethodResourceString
Retrieves a resource string based on the specified expression
(Defined by ResourceExtensions.)
Public Extension MethodSellerTakesCreditCardPayments
Returns true if the specified seller has payment gateway credentials and can process credit card payments from a card on file
(Defined by HtmlHelpers.)
Public Extension MethodSetCookie
Sets a cookie for the current user with the specified key and value
(Defined by HtmlHelpers.)
Public Extension MethodSiteCurrencyOrFree
Returns a string representation of the specified numeric value formatted as the site currency. If the specified value is less than or equal to zero then the localized version of "Free" is returned instead.
(Defined by HtmlHelpers.)
Public Extension MethodTimeZoneAbbreviationString (Defined by ResourceExtensions.)
Public Extension MethodToMvcHtmlString
Returns the HTML version of the ToString() output method of the specified object
(Defined by HtmlHelpers.)
Public Extension MethodValidateCaptcha (Defined by RecaptchaMVC.)
Public Extension MethodValidationResourceString (Defined by ResourceExtensions.)
Top
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.