Beispiel #1
0
 public SyncPlayController(
     ISessionManager sessionManager,
     ISyncPlayManager syncPlayManager)
 {
     _sessionManager  = sessionManager;
     _syncPlayManager = syncPlayManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SyncPlayController"/> class.
 /// </summary>
 /// <param name="sessionManager">Instance of the <see cref="ISessionManager"/> interface.</param>
 /// <param name="authorizationContext">Instance of the <see cref="IAuthorizationContext"/> interface.</param>
 /// <param name="syncPlayManager">Instance of the <see cref="ISyncPlayManager"/> interface.</param>
 public SyncPlayController(
     ISessionManager sessionManager,
     IAuthorizationContext authorizationContext,
     ISyncPlayManager syncPlayManager)
 {
     _sessionManager       = sessionManager;
     _authorizationContext = authorizationContext;
     _syncPlayManager      = syncPlayManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SyncPlayAccessHandler"/> class.
 /// </summary>
 /// <param name="syncPlayManager">Instance of the <see cref="ISyncPlayManager"/> interface.</param>
 /// <param name="userManager">Instance of the <see cref="IUserManager"/> interface.</param>
 /// <param name="networkManager">Instance of the <see cref="INetworkManager"/> interface.</param>
 /// <param name="httpContextAccessor">Instance of the <see cref="IHttpContextAccessor"/> interface.</param>
 public SyncPlayAccessHandler(
     ISyncPlayManager syncPlayManager,
     IUserManager userManager,
     INetworkManager networkManager,
     IHttpContextAccessor httpContextAccessor)
     : base(userManager, networkManager, httpContextAccessor)
 {
     _syncPlayManager = syncPlayManager;
     _userManager     = userManager;
 }
Beispiel #4
0
 public SyncPlayService(
     ILogger <SyncPlayService> logger,
     IServerConfigurationManager serverConfigurationManager,
     IHttpResultFactory httpResultFactory,
     ISessionContext sessionContext,
     ISyncPlayManager syncPlayManager)
     : base(logger, serverConfigurationManager, httpResultFactory)
 {
     _sessionContext  = sessionContext;
     _syncPlayManager = syncPlayManager;
 }