示例#1
0
        public SpiderHost(IOntologyService defaultService)
        {
            InitializeComponent();

            this.MusicService = (IMusicService)defaultService;
            this.MusicService.PlaybackStarted  += MusicService_PlaybackStarted;
            this.MusicService.PlaybackFinished += MusicService_PlaybackFinished;
        }
示例#2
0
        public SpiderHost(IOntologyService defaultService)
        {
            InitializeComponent();

                this.MusicService = (IMusicService)defaultService;
                this.MusicService.PlaybackStarted += MusicService_PlaybackStarted;
                this.MusicService.PlaybackFinished += MusicService_PlaybackFinished;
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="mapper"></param>
 /// <param name="ontologyService"></param>
 /// <param name="userIdentityService"></param>
 /// <param name="ontology_UserService"></param>
 public OntologiesApiController(IMapper mapper,
                                IOntologyService ontologyService,
                                IUserIdentityService userIdentityService,
                                IOntology_UserService ontology_UserService)
     : base(mapper, userIdentityService)
 {
     _ontologyService      = ontologyService;
     _ontology_UserService = ontology_UserService;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="mapper"></param>
 /// <param name="shareInvitationService"></param>
 /// <param name="userService"></param>
 /// <param name="userIdentityService"></param>
 /// <param name="ontologyService"></param>
 public ShareInvitationsApiController(IMapper mapper,
                                      IShareInvitationService shareInvitationService,
                                      IUserService userService,
                                      IUserIdentityService userIdentityService,
                                      IOntologyService ontologyService)
     : base(mapper, userIdentityService)
 {
     _shareInvitationService = shareInvitationService;
     _userService            = userService;
     _ontologyService        = ontologyService;
 }
示例#5
0
 public AddOntologyToSharedUsersHandler(IOntologyService ontologyService, IServiceDescription_UserService serviceDescription_UserService)
 {
     _ontologyService = ontologyService;
     _serviceDescription_UserService = serviceDescription_UserService;
 }
示例#6
0
 public User(IOntologyService service)
     : base(service)
 {
 }
示例#7
0
 /// <summary>
 /// Creates a new resource
 /// </summary>
 /// <param name="service"></param>
 public Resource(IOntologyService service)
 {
     this.Service = service;
     this.Image   = "http://o.scdn.co/300/69bfa0d62f92a60ffbc98a7c3df87928da6d5c39";
 }
示例#8
0
 public OntologyController(IOntologyService ontologyService,
                           IAPIRestClient apiRestClient)
     : base(apiRestClient)
 {
     _ontologyService = ontologyService;
 }