ForumProviderStrategy - конструктор
Пространство имён: Tessa.ForumsСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public ForumProviderStrategy(
ISession session,
IDbScope dbScope,
ICardRepository cardRepository,
ICardTransactionStrategy transactionStrategy,
IForumSupportStrategy forumSupportStrategy,
IPlainMessageFiller plainMessageFiller,
ISearchQueryFormatter searchQueryFormatter,
IForumServerSettings forumServerSettings,
IForumPermissionsProvider forumPermissionsProvider,
IHtmlCharactersCounter htmlCharactersCounter,
ICardContextRoleCache contextRoleCache,
IContextRoleManager contextRoleManager,
[DependencyAttribute("MessageHtmlSanitizer")] IHtmlSanitizer htmlSanitizer,
ITopicNotificationService topicNotificationService,
ITopicParticipantsProvider topicParticipantsProvider,
IForumUserMentionComponent forumUserMentionComponent,
[OptionalDependencyAttribute] IForumUserNamingStrategy? forumUserNamingStrategy = null
)
Public Sub New (
session As ISession,
dbScope As IDbScope,
cardRepository As ICardRepository,
transactionStrategy As ICardTransactionStrategy,
forumSupportStrategy As IForumSupportStrategy,
plainMessageFiller As IPlainMessageFiller,
searchQueryFormatter As ISearchQueryFormatter,
forumServerSettings As IForumServerSettings,
forumPermissionsProvider As IForumPermissionsProvider,
htmlCharactersCounter As IHtmlCharactersCounter,
contextRoleCache As ICardContextRoleCache,
contextRoleManager As IContextRoleManager,
<DependencyAttribute("MessageHtmlSanitizer")> htmlSanitizer As IHtmlSanitizer,
topicNotificationService As ITopicNotificationService,
topicParticipantsProvider As ITopicParticipantsProvider,
forumUserMentionComponent As IForumUserMentionComponent,
<OptionalDependencyAttribute> Optional forumUserNamingStrategy As IForumUserNamingStrategy = Nothing
)
public:
ForumProviderStrategy(
ISession^ session,
IDbScope^ dbScope,
ICardRepository^ cardRepository,
ICardTransactionStrategy^ transactionStrategy,
IForumSupportStrategy^ forumSupportStrategy,
IPlainMessageFiller^ plainMessageFiller,
ISearchQueryFormatter^ searchQueryFormatter,
IForumServerSettings^ forumServerSettings,
IForumPermissionsProvider^ forumPermissionsProvider,
IHtmlCharactersCounter^ htmlCharactersCounter,
ICardContextRoleCache^ contextRoleCache,
IContextRoleManager^ contextRoleManager,
[DependencyAttribute(L"MessageHtmlSanitizer")] IHtmlSanitizer^ htmlSanitizer,
ITopicNotificationService^ topicNotificationService,
ITopicParticipantsProvider^ topicParticipantsProvider,
IForumUserMentionComponent^ forumUserMentionComponent,
[OptionalDependencyAttribute] IForumUserNamingStrategy^ forumUserNamingStrategy = nullptr
)
new :
session : ISession *
dbScope : IDbScope *
cardRepository : ICardRepository *
transactionStrategy : ICardTransactionStrategy *
forumSupportStrategy : IForumSupportStrategy *
plainMessageFiller : IPlainMessageFiller *
searchQueryFormatter : ISearchQueryFormatter *
forumServerSettings : IForumServerSettings *
forumPermissionsProvider : IForumPermissionsProvider *
htmlCharactersCounter : IHtmlCharactersCounter *
contextRoleCache : ICardContextRoleCache *
contextRoleManager : IContextRoleManager *
[<DependencyAttribute("MessageHtmlSanitizer")>] htmlSanitizer : IHtmlSanitizer *
topicNotificationService : ITopicNotificationService *
topicParticipantsProvider : ITopicParticipantsProvider *
forumUserMentionComponent : IForumUserMentionComponent *
[<OptionalDependencyAttribute>] ?forumUserNamingStrategy : IForumUserNamingStrategy
(* Defaults:
let _forumUserNamingStrategy = defaultArg forumUserNamingStrategy null
*)
-> ForumProviderStrategy
Параметры
- session ISession
-
- dbScope IDbScope
-
- cardRepository ICardRepository
-
- transactionStrategy ICardTransactionStrategy
-
- forumSupportStrategy IForumSupportStrategy
-
- plainMessageFiller IPlainMessageFiller
-
- searchQueryFormatter ISearchQueryFormatter
-
- forumServerSettings IForumServerSettings
-
- forumPermissionsProvider IForumPermissionsProvider
-
- htmlCharactersCounter IHtmlCharactersCounter
-
- contextRoleCache ICardContextRoleCache
-
- contextRoleManager IContextRoleManager
-
- htmlSanitizer IHtmlSanitizer
-
- topicNotificationService ITopicNotificationService
-
- topicParticipantsProvider ITopicParticipantsProvider
-
- forumUserMentionComponent IForumUserMentionComponent
-
- forumUserNamingStrategy IForumUserNamingStrategy (Optional)
-