コード例 #1
0
 public SocialController(
     ISocialService <Entities.Social> socialService,
     IMediaHelper mediaHelper,
     IIntranetMemberService <IntranetMember> memberService,
     IMyLinksService myLinksService,
     IGroupActivityService groupActivityService,
     IActivityTagsHelper activityTagsHelper,
     IMentionService mentionService,
     IActivityLinkService activityLinkService,
     ILightboxHelper lightboxHelper,
     IFeedLinkService feedLinkService,
     IPermissionsService permissionsService)
 {
     _socialService        = socialService;
     _mediaHelper          = mediaHelper;
     _memberService        = memberService;
     _myLinksService       = myLinksService;
     _groupActivityService = groupActivityService;
     _activityTagsHelper   = activityTagsHelper;
     _mentionService       = mentionService;
     _activityLinkService  = activityLinkService;
     _lightboxHelper       = lightboxHelper;
     _feedLinkService      = feedLinkService;
     _permissionsService   = permissionsService;
 }
コード例 #2
0
 public MyLinksController(UmbracoHelper umbracoHelper,
                          IMyLinksModelBuilder myLinksModelBuilder,
                          IMyLinksService myLinksService,
                          IIntranetUserService <IIntranetUser> intranetUserService,
                          IDocumentTypeAliasProvider documentTypeAliasProvider,
                          IActivityTypeProvider activityTypeProvider)
     : base(umbracoHelper, myLinksModelBuilder, myLinksService, intranetUserService, documentTypeAliasProvider, activityTypeProvider)
 {
 }
コード例 #3
0
 public EventsSectionController(
     IEventsService <Event> eventsService,
     IIntranetMemberService <IIntranetMember> intranetMemberService,
     IMediaHelper mediaHelper,
     IMyLinksService myLinksService)
     : base(eventsService, intranetMemberService, mediaHelper)
 {
     _myLinksService        = myLinksService;
     _intranetMemberService = intranetMemberService;
 }
コード例 #4
0
 public MyLinksController(
     IMyLinksHelper myLinksHelper,
     IIntranetMemberService <IntranetMember> intranetMemberService,
     IMyLinksService myLinksService,
     IUBaselineRequestContext uBaselineRequestContext)
 {
     _myLinksHelper           = myLinksHelper;
     _intranetMemberService   = intranetMemberService;
     _myLinksService          = myLinksService;
     _uBaselineRequestContext = uBaselineRequestContext;
 }
コード例 #5
0
 protected MyLinksControllerBase(
     UmbracoHelper umbracoHelper,
     IMyLinksModelBuilder myLinksModelBuilder,
     IMyLinksService myLinksService,
     IIntranetMemberService <IIntranetMember> intranetMemberService,
     IDocumentTypeAliasProvider documentTypeAliasProvider,
     IActivityTypeProvider activityTypeProvider)
 {
     _umbracoHelper             = umbracoHelper;
     _myLinksModelBuilder       = myLinksModelBuilder;
     _myLinksService            = myLinksService;
     _intranetMemberService     = intranetMemberService;
     _activityTypeProvider      = activityTypeProvider;
     _documentTypeAliasProvider = documentTypeAliasProvider;
 }
コード例 #6
0
 public BulletinsController(
     IBulletinsService <Bulletin> bulletinsService,
     IMediaHelper mediaHelper,
     IIntranetUserService <IIntranetUser> intranetUserService,
     IActivityTypeProvider activityTypeProvider,
     IMyLinksService myLinksService,
     IGroupActivityService groupActivityService,
     IActivityTagsHelper activityTagsHelper,
     IContextTypeProvider contextTypeProvider)
     : base(bulletinsService, mediaHelper, intranetUserService, activityTypeProvider, contextTypeProvider)
 {
     _bulletinsService     = bulletinsService;
     _myLinksService       = myLinksService;
     _groupActivityService = groupActivityService;
     _activityTagsHelper   = activityTagsHelper;
 }
コード例 #7
0
 public MyLinksModelBuilder(
     UmbracoHelper umbracoHelper,
     IConfigurationProvider <NavigationConfiguration> navigationConfigurationProvider,
     IIntranetMemberService <IIntranetMember> intranetMemberService,
     IMyLinksService myLinksService,
     IActivitiesServiceFactory activitiesServiceFactory,
     INavigationApplicationSettings navigationApplicationSettings,
     IGroupService groupService,
     IEqualityComparer <MyLinkItemModel> myLinkItemModelComparer)
     : base(umbracoHelper, navigationConfigurationProvider)
 {
     _umbracoHelper                 = umbracoHelper;
     _intranetMemberService         = intranetMemberService;
     _myLinksService                = myLinksService;
     _activitiesServiceFactory      = activitiesServiceFactory;
     _navigationApplicationSettings = navigationApplicationSettings;
     _groupService            = groupService;
     _myLinkItemModelComparer = myLinkItemModelComparer;
 }
コード例 #8
0
ファイル: MyLinksHelper.cs プロジェクト: umbracouser7/Uintra
 public MyLinksHelper(
     IDocumentTypeAliasProvider documentTypeAliasProvider,
     IIntranetMemberService <IntranetMember> intranetMemberService,
     IMyLinksService myLinksService,
     IActivitiesServiceFactory activitiesServiceFactory,
     INavigationApplicationSettings navigationApplicationSettings,
     IGroupService groupService,
     INodeModelService nodeModelService,
     IActivityTypeProvider activityTypeProvider,
     IIntranetLocalizationService intranetLocalizationService)
 {
     _intranetMemberService         = intranetMemberService;
     _myLinksService                = myLinksService;
     _activitiesServiceFactory      = activitiesServiceFactory;
     _navigationApplicationSettings = navigationApplicationSettings;
     _groupService                = groupService;
     _nodeModelService            = nodeModelService;
     _documentTypeAliasProvider   = documentTypeAliasProvider;
     _activityTypeProvider        = activityTypeProvider;
     _intranetLocalizationService = intranetLocalizationService;
 }
コード例 #9
0
 public NewsSectionController(INewsService <NewsBase> newsService, IIntranetUserService <IIntranetUser> intranetUserService, IMediaHelper mediaHelper, IMyLinksService myLinksService)
     : base(newsService, intranetUserService, mediaHelper)
 {
     _myLinksService = myLinksService;
 }
コード例 #10
0
 public BulletinsSectionController(IBulletinsService <BulletinBase> bulletinsService, IIntranetUserService <IIntranetUser> intranetUserService, IMyLinksService myLinksService)
     : base(bulletinsService, intranetUserService)
 {
     _myLinksService = myLinksService;
 }
コード例 #11
0
 public MyLinksController(IMyLinksService myLinksService, IMapper mapper)
 {
     _myLinksService = myLinksService;
     _mapper         = mapper;
 }
コード例 #12
0
ファイル: UnitTest1.cs プロジェクト: bijubasheer/MyLinksAPI
 //private readonly Mock<MyLinkDataContext> _myLinkDataContext = new Mock<MyLinkDataContext>();
 public MyLinksAPIUnitTests()
 {
     _sut = new MyLinksService(_mockMyLinksRepository.Object, _mockExtranetUserRepository.Object);
 }