C# 클래스 Atomia.Web.Plugin.PublicOrder.Helpers.GeneralHelper

Helper class.
파일 보기 프로젝트 열기: atomia/OrderPage

공개 메소드들

메소드 설명
FetchPluginParameterFromConfig ( string pluginParameterName ) : string

FetchSetting ( string settingName, string codeBase, bool returnValueOnly ) : object
FilterPackages ( Controller controller, AtomiaBillingPublicService atomiaBillingPublicService, System.Guid accountId, System.Guid resellerId, string currencyCode, string countryCode, string filterValue ) : List

Filters the packages.

GetProductProvider ( ) : IProductsProvider

Gets the product provider.

GetPublicOrderService ( HttpContext context ) : AtomiaBillingPublicService
GetUnavailableDomainsHelper ( Controller controller, string domains ) : string

Gets the unavailable domains.

PrepareForSubmit ( string str ) : string

Prepares for submit.

TaxAreShownForReseller ( Controller controller ) : bool

For currently logged account, get parent - that is resseller and returns property ShowTax

메소드 상세

FetchPluginParameterFromConfig() 공개 정적인 메소드

public static FetchPluginParameterFromConfig ( string pluginParameterName ) : string
pluginParameterName string /// The plugin parameter name. ///
리턴 string

FetchSetting() 공개 정적인 메소드

public static FetchSetting ( string settingName, string codeBase, bool returnValueOnly ) : object
settingName string
codeBase string
returnValueOnly bool
리턴 object

FilterPackages() 공개 정적인 메소드

Filters the packages.
public static FilterPackages ( Controller controller, AtomiaBillingPublicService atomiaBillingPublicService, System.Guid accountId, System.Guid resellerId, string currencyCode, string countryCode, string filterValue ) : List
controller Controller The controller.
atomiaBillingPublicService AtomiaBillingPublicService The atomia billing public service.
accountId System.Guid The account id.
resellerId System.Guid The reseller id.
currencyCode string The currency code.
countryCode string The country code.
filterValue string The filter value.
리턴 List

GetProductProvider() 공개 정적인 메소드

Gets the product provider.
public static GetProductProvider ( ) : IProductsProvider
리턴 IProductsProvider

GetPublicOrderService() 공개 정적인 메소드

public static GetPublicOrderService ( HttpContext context ) : AtomiaBillingPublicService
context System.Web.HttpContext
리턴 AtomiaBillingPublicService

GetUnavailableDomainsHelper() 공개 정적인 메소드

Gets the unavailable domains.
public static GetUnavailableDomainsHelper ( Controller controller, string domains ) : string
controller Controller The controller.
domains string The domains.
리턴 string

PrepareForSubmit() 공개 정적인 메소드

Prepares for submit.
public static PrepareForSubmit ( string str ) : string
str string The string.
리턴 string

TaxAreShownForReseller() 공개 정적인 메소드

For currently logged account, get parent - that is resseller and returns property ShowTax
public static TaxAreShownForReseller ( Controller controller ) : bool
controller Controller
리턴 bool