当前位置: 首页>>代码示例>>C#>>正文


C# ISiteService类代码示例

本文整理汇总了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>();
 }
开发者ID:martijnboland,项目名称:Cuyahoga-Constructor,代码行数:10,代码来源:Install.aspx.cs

示例2: AnalyticsScriptInjectingFilter

 public AnalyticsScriptInjectingFilter(
     ISiteService siteService,
     IResourceManager resourceManager)
 {
     _siteService = siteService;
     _resourceManager = resourceManager;
 }
开发者ID:Lombiq,项目名称:Orchard-Simple-Analytics,代码行数:7,代码来源:AnalyticsScriptInjectingFilter.cs

示例3: FacebookSuiteService

 public FacebookSuiteService(
     IHttpContextAccessor httpContextAccessor,
     ISiteService siteService)
 {
     _httpContextAccessor = httpContextAccessor;
     _siteService = siteService;
 }
开发者ID:Lombiq,项目名称:Orchard-Facebook-Suite,代码行数:7,代码来源:FacebookSuiteService.cs

示例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);
        }
开发者ID:jeffboulanger,项目名称:connectuo,代码行数:26,代码来源:ShellForm.cs

示例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;
 }
开发者ID:jon123,项目名称:NGM.Forum,代码行数:27,代码来源:ReportPostAdminController.cs

示例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;
 }
开发者ID:jdages,项目名称:AndrewsHouse,代码行数:7,代码来源:SettingsRecipeHandler.cs

示例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;
        }
开发者ID:omidam81,项目名称:Ver1.0,代码行数:29,代码来源:HomeController.cs

示例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;
        }
开发者ID:jon123,项目名称:NGM.Forum,代码行数:26,代码来源:SubscriptionController.cs

示例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;
 }
开发者ID:rgardler,项目名称:dpp,代码行数:25,代码来源:MediaServicesService.cs

示例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;
 }
开发者ID:aozora,项目名称:arashi,代码行数:7,代码来源:AdminCommentController.cs

示例12: AddUsersViewModelFactory

 public AddUsersViewModelFactory(IEmployeeService employeeService, IRolesService rolesService, ISiteService siteService, ISiteGroupService siteGroupService)
 {
     _employeeService = employeeService;
     _rolesService = rolesService;
     _siteService = siteService;
     _siteGroupService = siteGroupService;
 }
开发者ID:mnasif786,项目名称:Business-Safe,代码行数:7,代码来源:AddUsersViewModelFactory.cs

示例13: TaxonomyImportService

 public TaxonomyImportService(ISiteService siteService, IContentManager contentManager, ITaxonomyService taxonomyService, IMembershipService membershipService)
 {
     _siteService = siteService;
     _contentManager = contentManager;
     _taxonomyService = taxonomyService;
     _membershipService = membershipService;
 }
开发者ID:Trifectgaming,项目名称:Trifect-CMS,代码行数:7,代码来源:TaxonomyImportService.cs

示例14: ActorsAdminController

 public ActorsAdminController(ISiteService siteService, IRepository<ActorRecord> actorRepository, IShapeFactory shapeFactory, IOrchardServices orchardServices)
 {
     _siteService = siteService;
     _actorRepository = actorRepository;
     _orchardServices = orchardServices;
     Shape = shapeFactory;
 }
开发者ID:wharri220,项目名称:Demo.Movies,代码行数:7,代码来源:ActorsAdminController.cs

示例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;
    
     
 }
开发者ID:kevinthant,项目名称:wiki,代码行数:25,代码来源:WikiPageController.cs


注:本文中的ISiteService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。