Provides methods that respond to media-specific MVC requests
Inheritance Hierarchy
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
Name | Description | |
---|---|---|
![]() | MediaController | Initializes a new instance of the MediaController class |
Methods
Name | Description | |
---|---|---|
![]() | AsyncUploadBanner |
Processes an ajax request to save the requested data as a file
|
![]() | AsyncUploadEventBanner |
Saves the uploaded file as a media asset.
|
![]() | AsyncUploadEventImage |
Saves the uploaded file as a media asset.
|
![]() | AsyncUploadFile |
Saves the uploaded file as a media asset.
|
![]() | AsyncUploadListingImage |
Saves the uploaded file as a media asset.
|
![]() | AsyncUploadLogo |
Processes an ajax request to save the requested data as a file
|
![]() | AsyncUploadSellerLogo |
Saves the uploaded file as a media asset.
|
![]() | DeleteMedia |
deletes the specified media
|
![]() | Get |
Gets a media file
|
![]() | RotateMedia |
rotates the specified media 90 degrees
|
Extension Methods
Name | Description | |
---|---|---|
![]() | AdminResourceString | (Defined by ResourceExtensions.) |
![]() | CloneMediaAssets |
Clones a list of Media objects
(Defined by HtmlHelpers.) |
![]() | Countries | (Defined by ResourceExtensions.) |
![]() | CustomFieldResourceOrDefaultString | (Defined by ResourceExtensions.) |
![]() | CustomFieldResourceString | (Defined by ResourceExtensions.) |
![]() | DecodeBreadCrumbs(String) | Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.) |
![]() | DecodeBreadCrumbs(String, ListCategory) | Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.) |
![]() | FBOUserName |
Returns the username of the user being impersonated, if applicable, otherwise returns the username of the authenticated user
(Defined by HtmlHelpers.) |
![]() | FlushCountriesAndStates | (Defined by ResourceExtensions.) |
![]() | GetActionUrl(String) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetActionUrl(String, String) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetActionUrl(String, Object) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetActionUrl(String, String, Object) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetAllStripeCards |
Calls out to stripe.com API to retrieve saved cards available for the specified invoice
(Defined by StripeHelpers.) |
![]() | GetCookie |
Returns a string representation of the browser cookie value associated with the specified key
(Defined by HtmlHelpers.) |
![]() | GetCultureInfo |
Returns the CultureInfo of the current user, or the site CultureInfo if not set
(Defined by HtmlHelpers.) |
![]() | GlobalResource | (Defined by ResourceExtensions.) |
![]() | GlobalResourceString | (Defined by ResourceExtensions.) |
![]() | HasUnexpiredCardOnFile |
Returns true if the specified payer has a card saved for use in paying the specified recipient
(Defined by HtmlHelpers.) |
![]() | HasUnexpiredStripeCardOnFile |
Calls out to stripe.com API to retrieve saved cards and returns true if an unexpired card is found
(Defined by StripeHelpers.) |
![]() | ImpersonateUser |
If the currently authenticated user is an admin user, sets a cookie indicating the user to be impersonated
(Defined by HtmlHelpers.) |
![]() | LocalCurrency |
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.) |
![]() | LocalDTTM(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.) |
![]() | LocalDTTM(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.) |
![]() | LocalDTTM(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.) |
![]() | LocalDTTMString |
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.) |
![]() | LocalizeCountry | (Defined by ResourceExtensions.) |
![]() | LocalizeCustomFieldValidationMessages |
Localizes a collection of validation issues with content defined in Validation.resx
(Defined by HtmlHelpers.) |
![]() | LocalizedCategoryName |
Retrieves the localized category or region name
(Defined by ResourceExtensions.) |
![]() | LocalizeState | (Defined by ResourceExtensions.) |
![]() | ResourceString |
Retrieves a resource string based on the specified expression
(Defined by ResourceExtensions.) |
![]() | SellerTakesCreditCardPayments |
Returns true if the specified seller has payment gateway credentials and can process credit card payments from a card on file
(Defined by HtmlHelpers.) |
![]() | SetCookie |
Sets a cookie for the current user with the specified key and value
(Defined by HtmlHelpers.) |
![]() | SiteCurrencyOrFree |
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.) |
![]() | TimeZoneAbbreviationString | (Defined by ResourceExtensions.) |
![]() | ToMvcHtmlString |
Returns the HTML version of the ToString() output method of the specified object
(Defined by HtmlHelpers.) |
![]() | ValidateCaptcha | (Defined by RecaptchaMVC.) |
![]() | ValidationResourceString | (Defined by ResourceExtensions.) |
See Also