C# 클래스 Nop.Services.Messages.MessageTokenProvider

상속: IMessageTokenProvider
파일 보기 프로젝트 열기: emilianionascu/NopCommerce

공개 메소드들

메소드 설명
AddBackInStockTokens ( IList tokens, Nop.Core.Domain.Catalog.BackInStockSubscription subscription ) : void
AddBlogCommentTokens ( IList tokens, Nop.Core.Domain.Blogs.BlogComment blogComment ) : void
AddCustomerTokens ( IList tokens, Customer customer ) : void
AddForumPostTokens ( IList tokens, Nop.Core.Domain.Forums.ForumPost forumPost ) : void
AddForumTokens ( IList tokens, Nop.Core.Domain.Forums.Forum forum ) : void
AddForumTopicTokens ( IList tokens, Nop.Core.Domain.Forums.ForumTopic forumTopic, int friendlyForumTopicPageIndex = null, int appendedPostIdentifierAnchor = null ) : void
AddGiftCardTokens ( IList tokens, GiftCard giftCard ) : void
AddNewsCommentTokens ( IList tokens, Nop.Core.Domain.News.NewsComment newsComment ) : void
AddNewsLetterSubscriptionTokens ( IList tokens, Nop.Core.Domain.Messages.NewsLetterSubscription subscription ) : void
AddOrderNoteTokens ( IList tokens, Nop.Core.Domain.Orders.OrderNote orderNote ) : void
AddOrderTokens ( IList tokens, Nop.Core.Domain.Orders.Order order, int languageId ) : void
AddPrivateMessageTokens ( IList tokens, Nop.Core.Domain.Forums.PrivateMessage privateMessage ) : void
AddProductReviewTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductReview productReview ) : void
AddProductTokens ( IList tokens, Product product ) : void
AddProductVariantTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductVariant productVariant ) : void
AddRecurringPaymentTokens ( IList tokens, Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
AddReturnRequestTokens ( IList tokens, Nop.Core.Domain.Orders.ReturnRequest returnRequest, Nop.Core.Domain.Orders.OrderProductVariant opv ) : void
AddShipmentTokens ( IList tokens, Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : void
AddStoreTokens ( IList tokens ) : void
GetListOfAllowedTokens ( ) : string[]
GetListOfCampaignAllowedTokens ( ) : string[]

Gets list of allowed (supported) message tokens for campaigns

MessageTokenProvider ( ILanguageService languageService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IEmailAccountService emailAccountService, IPriceFormatter priceFormatter, ICurrencyService currencyService, IWebHelper webHelper, IWorkContext workContext, IDownloadService downloadService, IOrderService orderService, IPaymentService paymentService, Nop.Core.Domain.StoreInformationSettings storeSettings, Nop.Core.Domain.Messages.MessageTemplatesSettings templatesSettings, Nop.Core.Domain.Messages.EmailAccountSettings emailAccountSettings, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, IEventPublisher eventPublisher ) : System

보호된 메소드들

메소드 설명
ProductListToHtmlTable ( Nop.Core.Domain.Orders.Order order, int languageId ) : string

Convert a collection to a HTML table

ProductListToHtmlTable ( Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : string

Convert a collection to a HTML table

메소드 상세

AddBackInStockTokens() 공개 메소드

public AddBackInStockTokens ( IList tokens, Nop.Core.Domain.Catalog.BackInStockSubscription subscription ) : void
tokens IList
subscription Nop.Core.Domain.Catalog.BackInStockSubscription
리턴 void

AddBlogCommentTokens() 공개 메소드

public AddBlogCommentTokens ( IList tokens, Nop.Core.Domain.Blogs.BlogComment blogComment ) : void
tokens IList
blogComment Nop.Core.Domain.Blogs.BlogComment
리턴 void

AddCustomerTokens() 공개 메소드

public AddCustomerTokens ( IList tokens, Customer customer ) : void
tokens IList
customer Nop.Core.Domain.Customers.Customer
리턴 void

AddForumPostTokens() 공개 메소드

public AddForumPostTokens ( IList tokens, Nop.Core.Domain.Forums.ForumPost forumPost ) : void
tokens IList
forumPost Nop.Core.Domain.Forums.ForumPost
리턴 void

AddForumTokens() 공개 메소드

public AddForumTokens ( IList tokens, Nop.Core.Domain.Forums.Forum forum ) : void
tokens IList
forum Nop.Core.Domain.Forums.Forum
리턴 void

AddForumTopicTokens() 공개 메소드

public AddForumTopicTokens ( IList tokens, Nop.Core.Domain.Forums.ForumTopic forumTopic, int friendlyForumTopicPageIndex = null, int appendedPostIdentifierAnchor = null ) : void
tokens IList
forumTopic Nop.Core.Domain.Forums.ForumTopic
friendlyForumTopicPageIndex int
appendedPostIdentifierAnchor int
리턴 void

AddGiftCardTokens() 공개 메소드

public AddGiftCardTokens ( IList tokens, GiftCard giftCard ) : void
tokens IList
giftCard Nop.Core.Domain.Orders.GiftCard
리턴 void

AddNewsCommentTokens() 공개 메소드

public AddNewsCommentTokens ( IList tokens, Nop.Core.Domain.News.NewsComment newsComment ) : void
tokens IList
newsComment Nop.Core.Domain.News.NewsComment
리턴 void

AddNewsLetterSubscriptionTokens() 공개 메소드

public AddNewsLetterSubscriptionTokens ( IList tokens, Nop.Core.Domain.Messages.NewsLetterSubscription subscription ) : void
tokens IList
subscription Nop.Core.Domain.Messages.NewsLetterSubscription
리턴 void

AddOrderNoteTokens() 공개 메소드

public AddOrderNoteTokens ( IList tokens, Nop.Core.Domain.Orders.OrderNote orderNote ) : void
tokens IList
orderNote Nop.Core.Domain.Orders.OrderNote
리턴 void

AddOrderTokens() 공개 메소드

public AddOrderTokens ( IList tokens, Nop.Core.Domain.Orders.Order order, int languageId ) : void
tokens IList
order Nop.Core.Domain.Orders.Order
languageId int
리턴 void

AddPrivateMessageTokens() 공개 메소드

public AddPrivateMessageTokens ( IList tokens, Nop.Core.Domain.Forums.PrivateMessage privateMessage ) : void
tokens IList
privateMessage Nop.Core.Domain.Forums.PrivateMessage
리턴 void

AddProductReviewTokens() 공개 메소드

public AddProductReviewTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductReview productReview ) : void
tokens IList
productReview Nop.Core.Domain.Catalog.ProductReview
리턴 void

AddProductTokens() 공개 메소드

public AddProductTokens ( IList tokens, Product product ) : void
tokens IList
product Nop.Core.Domain.Catalog.Product
리턴 void

AddProductVariantTokens() 공개 메소드

public AddProductVariantTokens ( IList tokens, Nop.Core.Domain.Catalog.ProductVariant productVariant ) : void
tokens IList
productVariant Nop.Core.Domain.Catalog.ProductVariant
리턴 void

AddRecurringPaymentTokens() 공개 메소드

public AddRecurringPaymentTokens ( IList tokens, Nop.Core.Domain.Orders.RecurringPayment recurringPayment ) : void
tokens IList
recurringPayment Nop.Core.Domain.Orders.RecurringPayment
리턴 void

AddReturnRequestTokens() 공개 메소드

public AddReturnRequestTokens ( IList tokens, Nop.Core.Domain.Orders.ReturnRequest returnRequest, Nop.Core.Domain.Orders.OrderProductVariant opv ) : void
tokens IList
returnRequest Nop.Core.Domain.Orders.ReturnRequest
opv Nop.Core.Domain.Orders.OrderProductVariant
리턴 void

AddShipmentTokens() 공개 메소드

public AddShipmentTokens ( IList tokens, Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : void
tokens IList
shipment Nop.Core.Domain.Shipping.Shipment
languageId int
리턴 void

AddStoreTokens() 공개 메소드

public AddStoreTokens ( IList tokens ) : void
tokens IList
리턴 void

GetListOfAllowedTokens() 공개 메소드

public GetListOfAllowedTokens ( ) : string[]
리턴 string[]

GetListOfCampaignAllowedTokens() 공개 메소드

Gets list of allowed (supported) message tokens for campaigns
public GetListOfCampaignAllowedTokens ( ) : string[]
리턴 string[]

MessageTokenProvider() 공개 메소드

public MessageTokenProvider ( ILanguageService languageService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IEmailAccountService emailAccountService, IPriceFormatter priceFormatter, ICurrencyService currencyService, IWebHelper webHelper, IWorkContext workContext, IDownloadService downloadService, IOrderService orderService, IPaymentService paymentService, Nop.Core.Domain.StoreInformationSettings storeSettings, Nop.Core.Domain.Messages.MessageTemplatesSettings templatesSettings, Nop.Core.Domain.Messages.EmailAccountSettings emailAccountSettings, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, IEventPublisher eventPublisher ) : System
languageService ILanguageService
localizationService ILocalizationService
dateTimeHelper IDateTimeHelper
emailAccountService IEmailAccountService
priceFormatter IPriceFormatter
currencyService ICurrencyService
webHelper IWebHelper
workContext IWorkContext
downloadService IDownloadService
orderService IOrderService
paymentService IPaymentService
storeSettings Nop.Core.Domain.StoreInformationSettings
templatesSettings Nop.Core.Domain.Messages.MessageTemplatesSettings
emailAccountSettings Nop.Core.Domain.Messages.EmailAccountSettings
catalogSettings Nop.Core.Domain.Catalog.CatalogSettings
taxSettings Nop.Core.Domain.Tax.TaxSettings
eventPublisher IEventPublisher
리턴 System

ProductListToHtmlTable() 보호된 메소드

Convert a collection to a HTML table
protected ProductListToHtmlTable ( Nop.Core.Domain.Orders.Order order, int languageId ) : string
order Nop.Core.Domain.Orders.Order Order
languageId int Language identifier
리턴 string

ProductListToHtmlTable() 보호된 메소드

Convert a collection to a HTML table
protected ProductListToHtmlTable ( Nop.Core.Domain.Shipping.Shipment shipment, int languageId ) : string
shipment Nop.Core.Domain.Shipping.Shipment Shipment
languageId int Language identifier
리턴 string