本文整理汇总了C#中ISiteService类的典型用法代码示例。如果您正苦于以下问题:C# ISiteService类的具体用法?C# ISiteService怎么用?C# ISiteService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISiteService类属于命名空间,在下文中一共展示了ISiteService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Install
/// <summary>
/// Constructor.
/// </summary>
public Install()
{
this._commonDao = IoC.Resolve<ICommonDao>();
this._siteService = IoC.Resolve<ISiteService>();
this._moduleLoader = IoC.Resolve<ModuleLoader>();
this._fileService = IoC.Resolve<IFileService>();
}
示例2: AnalyticsScriptInjectingFilter
public AnalyticsScriptInjectingFilter(
ISiteService siteService,
IResourceManager resourceManager)
{
_siteService = siteService;
_resourceManager = resourceManager;
}
示例3: FacebookSuiteService
public FacebookSuiteService(
IHttpContextAccessor httpContextAccessor,
ISiteService siteService)
{
_httpContextAccessor = httpContextAccessor;
_siteService = siteService;
}
示例4: ShellForm
public ShellForm(IKernel kernel)
{
Asserter.AssertIsNotNull(kernel, "kernel");
_kernel = kernel;
_applicationService = _kernel.Get<IApplicationService>();
_storageService = _kernel.Get<IStorageService>();
_settingsService = _kernel.Get<ISettingsService>();
_siteService = _kernel.Get<ISiteService>();
_controller = _kernel.Get<ShellController>();
Asserter.AssertIsNotNull(_applicationService, "_applicationService");
Asserter.AssertIsNotNull(_storageService, "_storageService");
Asserter.AssertIsNotNull(_settingsService, "_settingsService");
Asserter.AssertIsNotNull(_siteService, "_siteService");
InitializeComponent();
_siteService.Register(SiteNames.ContentSite, contentPanel);
_siteService.Register(SiteNames.NavigationSite, navigationPanel);
_siteService.Register(SiteNames.ContentActionsSite, contentActionPanel);
SetStyle(ControlStyles.OptimizedDoubleBuffer |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.ResizeRedraw, true);
}
示例5: ReportPostAdminController
public ReportPostAdminController(
IOrchardServices orchardServices,
IForumService forumService,
IThreadService threadService,
IPostService postService,
ISiteService siteService,
IShapeFactory shapeFactory,
IAuthorizationService authorizationService,
IAuthenticationService authenticationService,
ISubscriptionService subscriptionService,
IReportPostService reportPostService,
ICountersService countersService
)
{
_orchardServices = orchardServices;
_forumService = forumService;
_threadService = threadService;
_postService = postService;
_siteService = siteService;
_subscriptionService = subscriptionService;
_authorizationService = authorizationService;
_authenticationService = authenticationService;
_reportPostService = reportPostService;
_countersService = countersService;
T = NullLocalizer.Instance;
Shape = shapeFactory;
}
示例6: TelemetrySettingsAccessor
public TelemetrySettingsAccessor(
IAppConfigurationAccessor appConfigurationAccessor,
ISiteService siteService)
{
_appConfigurationAccessor = appConfigurationAccessor;
_siteService = siteService;
}
开发者ID:dementeddevil,项目名称:Orchard-Azure-Application-Insights,代码行数:7,代码来源:TelemetrySettingsAccessor.cs
示例7: SettingsRecipeHandler
public SettingsRecipeHandler(ISiteService siteService, IContentManager contentManager, Lazy<IEnumerable<IContentHandler>> handlers) {
_siteService = siteService;
_contentManager = contentManager;
_handlers = handlers;
Logger = NullLogger.Instance;
T = NullLocalizer.Instance;
}
示例8: HomeController
// GET: Home
public HomeController(
IRepository<CurrencyRecord> currencyRepository,
IRepository<OrderStatusRecord> orderStatusRepository,
IOrderService orderService,
ICampaignService campaignService,
IShapeFactory shapeFactory,
IContentManager contentManager,
ISiteService siteService,
IPayoutService payoutService,
INotifier notifierService,
ITeeyootMessagingService teeyootMessagingService,
IWorkContextAccessor workContextAccessor)
{
_currencyRepository = currencyRepository;
_orderStatusRepository = orderStatusRepository;
_orderService = orderService;
_campaignService = campaignService;
_contentManager = contentManager;
_siteService = siteService;
_payoutService = payoutService;
_notifierService = notifierService;
_teeyootMessagingService = teeyootMessagingService;
Shape = shapeFactory;
T = NullLocalizer.Instance;
_workContextAccessor = workContextAccessor;
}
示例9: SubscriptionController
public SubscriptionController(
IOrchardServices orchardServices,
IForumService forumService,
IThreadService threadService,
IPostService postService,
ISiteService siteService,
IShapeFactory shapeFactory,
IAuthorizationService authorizationService,
IAuthenticationService authenticationService,
ISubscriptionService subscriptionService,
IThreadLastReadService threadLastReadService
)
{
_orchardServices = orchardServices;
_forumService = forumService;
_threadService = threadService;
_postService = postService;
_siteService = siteService;
_subscriptionService = subscriptionService;
_authorizationService = authorizationService;
_authenticationService = authenticationService;
_threadLastReadService = threadLastReadService;
T = NullLocalizer.Instance;
Shape = shapeFactory;
}
示例10: MediaServicesService
public MediaServicesService(IOrchardServices orchardServices,
IShapeFactory shapeFactory,
ISiteService siteService,
IConfig config,
IBlobStorageService blobStorageService,
IRepository<EncodedMediaRecord> encodedMediaRepository,
IRepository<MediaItemRecord> mediaItemRepository,
IRepository<EncodingPresetRecord> encodingPresetRepository,
IRepository<ThumbnailRecord> thumbnailRepository,
IRepository<VideoMediaItemRecord> videoMediaItemRepository,
IWorkContextAccessor workContextAccessor)
{
_config = config;
_blobStorageService = blobStorageService;
_encodedMediaRepository = encodedMediaRepository;
_mediaItemRepository = mediaItemRepository;
_encodingPresetRepository = encodingPresetRepository;
_thumbnailRepository = thumbnailRepository;
_videoMediaItemRepository = videoMediaItemRepository;
_workContextAccessor = workContextAccessor;
_orchardServices = orchardServices;
_shapeFactory = shapeFactory;
_siteService = siteService;
_logger = NullLogger.Instance;
}
示例11: AdminCommentController
public AdminCommentController(ILog log, IContentItemService<Post> contentItemService, ICommentService commentService, ILocalizationService localizationService, IUserService userService, ISiteService siteService)
: base(log, localizationService, userService, siteService)
{
this.log = log;
this.commentService = commentService;
this.contentItemService = contentItemService;
}
示例12: AddUsersViewModelFactory
public AddUsersViewModelFactory(IEmployeeService employeeService, IRolesService rolesService, ISiteService siteService, ISiteGroupService siteGroupService)
{
_employeeService = employeeService;
_rolesService = rolesService;
_siteService = siteService;
_siteGroupService = siteGroupService;
}
示例13: TaxonomyImportService
public TaxonomyImportService(ISiteService siteService, IContentManager contentManager, ITaxonomyService taxonomyService, IMembershipService membershipService)
{
_siteService = siteService;
_contentManager = contentManager;
_taxonomyService = taxonomyService;
_membershipService = membershipService;
}
示例14: ActorsAdminController
public ActorsAdminController(ISiteService siteService, IRepository<ActorRecord> actorRepository, IShapeFactory shapeFactory, IOrchardServices orchardServices)
{
_siteService = siteService;
_actorRepository = actorRepository;
_orchardServices = orchardServices;
Shape = shapeFactory;
}
示例15: WikiPageController
public WikiPageController(IOrchardServices orchardServices,
IRepository<WikiPageAttachmentRecord> repoWikiAttachment,
ITagService tagService,
IAuthorizationService authorizationService,
INotifier notifier,
ISiteService siteService,
ISearchService searchService,
IShapeFactory shapeFactory,
IWikiPageService wikiPageService,
IMediaService mediaService
){
_orchardServices = orchardServices;
_repoWikiAttachment = repoWikiAttachment;
_tagService = tagService;
_authorizationService = authorizationService;
_notifier = notifier;
_searchService = searchService;
_siteService = siteService;
_wikiPageService = wikiPageService;
_mediaService = mediaService;
Logger = NullLogger.Instance;
Shape = shapeFactory;
}