/// <summary> /// 默认构造函数 /// </summary> /// <param name="userQueryService"></param> /// <param name="clientQueryService"></param> public HomeController( IUserQueryService userQueryService, IClientQueryService clientQueryService) { UserQueryService = userQueryService; ClientQueryService = clientQueryService; }
public CommonWidgetController(IUserQueryService userQueryService , IBlogQueryService blogQueryService , IProblemQueryService problemQueryService) { _userQueryService = userQueryService; _blogQueryService = blogQueryService; _problemQueryService = problemQueryService; }
public UserInfoController( IUserQueryService userQueryService, IUserInfoRepository userInfoRepository ) { UserQueryService = userQueryService; UserInfoRepository = userInfoRepository; }
public ProblemQueryService( IMathHubDbContext mathHubDbContext, IUserQueryService userQueryService, IMainPostQueryService mainPostQueryService) { ctx = mathHubDbContext.GetDbContext(); this._userQueryService = userQueryService; this._mainPostQueryService = mainPostQueryService; }
/// <summary> /// 默认构造函数 /// </summary> /// <param name="userQueryService"></param> /// <param name="userTask"></param> /// <param name="identityTask"></param> public RegController( IUserQueryService userQueryService, IIdentityTask identityTask) { this._userQueryService = userQueryService; _identityTask = identityTask; }
/// <summary> /// Initializes a new instance of the <see cref="UserController"/> class. /// </summary> /// <param name="userQueryService">The user query service.</param> /// <param name="commandSender">The command sender.</param> /// <exception cref="System.ArgumentNullException">When userQueryService or commandSender are null.</exception> public UserController(IUserQueryService userQueryService, ICommandSender commandSender) { if (userQueryService == null) { throw new ArgumentNullException("userQueryService"); } if (commandSender == null) { throw new ArgumentNullException("commandSender"); } _userQueryService = userQueryService; _commandSender = commandSender; }
public AdvancedVrInputDispatcher(IMessagePopupService messagePopupService, IReadOnlyList <IVrNavigationMode> navigationModes, IEventRoutingService eventRoutingService, IUserQueryService userQueryService, IVrHeadPositionService headPositionService, IGlobalObjectService globalObjectService) { this.messagePopupService = messagePopupService; this.userQueryService = userQueryService; this.headPositionService = headPositionService; this.globalObjectService = globalObjectService; this.NavigationModes = navigationModes.Where(x => !(x is IMinimapVrNavigationMode)).ToArray(); this.minimapVrNavigationMode = navigationModes.OfType <IMinimapVrNavigationMode>().Single(); minimapVrNavigationMode.ZoomEnabled = true; eventRoutingService.Subscribe <INewFrameEvent>(typeof(IVrInputDispatcher), nameof(OnNewFrame), OnNewFrame); eventRoutingService.Subscribe <IFixedUpdateEvent>(typeof(IVrInputDispatcher), nameof(OnFixedUpdate), OnFixedUpdate); capabilities = VrInputDispatcherCapabilities.All; }
/// <summary> /// 构造函数 /// </summary> public OAuthController( IClientQueryService clientQueryService, IClientTask clientTask, IClientAuthorizationTask clientAuthorizationTask, IClientAuthorizationQueryService clientAuthorizationQueryService, IUserQueryService userQueryService, IIdentityTask identityTask) { ClientQueryService = clientQueryService; ClientTask = clientTask; ClientAuthorizationTask = clientAuthorizationTask; ClientAuthorizationQueryService = clientAuthorizationQueryService; UserQueryService = userQueryService; IdentityTask = identityTask; }
public DebugVrPresentationView(INavigationService navigationService, IStoryService storyService, IUserQueryService userQueryService, ICommonNodeFactory commonNodeFactory, IAppModeService appModeService, IGlobalObjectService globalObjectService) { this.navigationService = navigationService; this.storyService = storyService; this.userQueryService = userQueryService; this.appModeService = appModeService; uiCarrier = globalObjectService.UICarrier; uiCanvas = uiCarrier.EnumerateChildren().Single(); var canvasTransform = uiCanvas.GetComponent <RectTransform>(); canvasTransform.sizeDelta = new Vector2(Screen.width, Screen.height); mainLayer = new ViewLayer(); Layers = new[] { mainLayer }; }
public NoviceVrInputDispatcher(IMessagePopupService messagePopupService, IReadOnlyList <IVrNavigationMode> navigationModes, IEventRoutingService eventRoutingService, IUserQueryService userQueryService, IVrHeadPositionService headPositionService, IGlobalObjectService globalObjectService, IVrManipulationService vrManipulationService) { this.headPositionService = headPositionService; this.globalObjectService = globalObjectService; this.vrManipulationService = vrManipulationService; minimapVrNavigationMode = navigationModes.OfType <IMinimapVrNavigationMode>().Single(); minimapVrNavigationMode.ZoomEnabled = false; freeTeleportMode = navigationModes.OfType <FreeTeleportVrNavigationMode>().Single(); moveInPlaceMode = navigationModes.OfType <MoveInPlaceVrNavigationMode>().Single(); NavigationModes = new IVrNavigationMode[] { freeTeleportMode, moveInPlaceMode }; eventRoutingService.Subscribe <INewFrameEvent>(typeof(IVrInputDispatcher), nameof(OnNewFrame), OnNewFrame); eventRoutingService.Subscribe <IFixedUpdateEvent>(typeof(IVrInputDispatcher), nameof(OnFixedUpdate), OnFixedUpdate); capabilities = VrInputDispatcherCapabilities.All; }
public FamilyService( IMapper mapper, IDbContextScopeFactory contextScopeFactory, IFamilyRepository familyRepository, IFamilyQueryService familyQueryService, IUserQueryService userQueryService, IUserService userService, IUserRepository userRepository) : base(mapper, contextScopeFactory) { _familyRepository = familyRepository; _familyQueryService = familyQueryService; _userQueryService = userQueryService; _userService = userService; _userRepository = userRepository; }
public TeamController(IUserQueryService userQueryService, ICommandSender cmdSender, IProjectQueryService projectQueryService) { if (userQueryService == null) { throw new ArgumentNullException("userQueryService"); } if (cmdSender == null) { throw new ArgumentNullException("cmdSender"); } if (projectQueryService == null) { throw new ArgumentNullException("projectQueryService"); } _projectQueryService = projectQueryService; _userQueryService = userQueryService; _cmdSender = cmdSender; }
public VrPresentationView(IStoryService storyService, INavigationService navigationService, IGlobalObjectService globalObjectService, IUserQueryService userQueryService, IVrInputDispatcher vrInputDispatcher) { this.storyService = storyService; this.navigationService = navigationService; this.userQueryService = userQueryService; this.globalObjectService = globalObjectService; this.vrInputDispatcher = vrInputDispatcher; camera = new VrCamera(globalObjectService); layer = new ViewLayer { Camera = camera, VisibleScene = null }; Layers = new IViewLayer[] { layer }; }
public VrInitializerService(IDiContainer di, Lazy <IRenderService> renderServiceLazy, INavigationService navigationService, IStoryService storyService, IGlobalObjectService globalObjectService, IUserQueryService userQueryService, IViewService viewService, IVrInputDispatcher vrInputDispatcher, IRayHitIndex rayHitIndex, Lazy <IGui> guiLazy) { this.di = di; this.renderServiceLazy = renderServiceLazy; this.navigationService = navigationService; this.storyService = storyService; this.globalObjectService = globalObjectService; this.userQueryService = userQueryService; this.vrInputDispatcher = vrInputDispatcher; this.rayHitIndex = rayHitIndex; this.viewService = viewService; this.guiLazy = guiLazy; IsInitialized = false; var vrSwitcher = globalObjectService.EventObject.GetComponent <VrSwitcher>(); vrSwitcher.VrInitialized += Init; }
public RisksController(IProjectQueryService projectService, ICommandSender commandSender, IUserQueryService userQueryService) { if (projectService == null) { throw new ArgumentNullException("projectService"); } if (commandSender == null) { throw new ArgumentNullException("commandSender"); } if (userQueryService == null) { throw new ArgumentNullException("userQueryService"); } _projectQueryService = projectService; _commandSender = commandSender; _userQueryService = userQueryService; }
protected PresentationView(INavigationService navigationService, IStoryService storyService, IUserQueryService userQueryService, ICommonNodeFactory commonNodeFactory, IAppModeService appModeService) { this.navigationService = navigationService; this.storyService = storyService; this.userQueryService = userQueryService; this.appModeService = appModeService; mainLayer = new ViewLayer(); userQueryLayer = new ViewLayer(); Layers = new[] { mainLayer, userQueryLayer }; querySceneComponent = AmFactory.Create <UserQuerySceneComponent>(); var uqSceneRoot = commonNodeFactory.WorldRoot(false); uqSceneRoot.Components.Add(querySceneComponent); var uqScene = Scene.Create(uqSceneRoot); var uqCamera = new PlaneOrthoBoundControlledCamera(uqSceneRoot, PlaneOrthoBoundControlledCamera.Props.Default, false); userQueryLayer.VisibleScene = uqScene; userQueryLayer.Camera = uqCamera; }
public UserApplicationService(ICommandDispatcher commandDispatcher, IUserQueryService userQueryService) { _commandDispatcher = commandDispatcher; _userQueryService = userQueryService; }
public UserCustomerController(IDomainManagerService domainManagerService, IUserQueryService userQueryService) : base(domainManagerService) { _userQueryService = userQueryService; }
public LoginService(IUserQueryService dbQueryService) { _userQueryService = dbQueryService; }
public UserController(ICommandService commandService, IUserQueryService userQueryService) : base(commandService) { _userQueryService = userQueryService; }
public GetUsersQueryHandler(IUserQueryService userQueryService) { this.userQueryService = userQueryService; }
public UserController(IUserCommandService commandService, IUserQueryService queryService) { CommandService = commandService; QueryService = queryService; }
public UserController(IUserQueryService userQueryService, IUserService userService) { _userQueryService = userQueryService; _userService = userService; }
public UserController( ) { ClientAuthorizationQueryService =base.Get<IClientAuthorizationQueryService>() ; UserQueryService = base.Get<IUserQueryService>(); }
public HomeController(IUserCreationService service, IImageService imageService, IUserQueryService queryService) { if (service == null) { throw new System.ArgumentNullException("subjectQueryService", "Subject auery service is null."); } this.service = service; this.imageService = imageService; this.queryService = queryService; service.CreateUser("admin", "*****@*****.**", "admin"); service.AddUserRole("*****@*****.**", "Администратор"); }
public PhotoGalleryRoleProvider(IUserRolesQueryService userRolesQueryService, IUserQueryService queryService) { this.userRolesQueryService = userRolesQueryService; this.queryService = queryService; }
public UserHandle(IUserQueryService userQueryService, IDocumentService <UserDto> userDocumentServer) { this._userQueryService = userQueryService; this._userDocumentServer = userDocumentServer; }
public GetUsersRequestHandler(IUserQueryService userQueryService) { this.userQueryService = userQueryService; }
public ModulesController(IUserQueryService userQueryService) { _userQueryService = userQueryService; }
public User_Crud_Tests() { _userCommandService = Container.GetService <IUserCommandService>() !; _userQueryService = Container.GetService <IUserQueryService>() !; }
public CreateUserService(IWalletQueryService walletQueryService, IUserQueryService dbQueryService) { _walletQueryService = walletQueryService; _userQueryService = dbQueryService; }
public RefreshTokenQueryHandler(IUserQueryService userQueryService) { this.userQueryService = userQueryService; }
public CommonController(IUserQueryService userQueryService, IIdentityService identityService) { this._userQueryService = userQueryService; IdentityService = identityService; }
public CustomMembershipProvider() { _userSvc = Container.Get <IUserQueryService>(); _cmdSender = Container.Get <ICommandSender>(); }
public UserManagement(IUserCommandService commandService, IUserQueryService queryService) { this.CommandService = commandService; this.QueryService = queryService; }
public AppController(ICacheService cacheService, IUserQueryService userQueryService, IUserCommandService userCommandService) { _cacheService = cacheService; _userQueryService = userQueryService; _userCommandService = userCommandService; }
public HomeControllerAssembler(IUserQueryService userQueryService) { this.userQueryService = userQueryService; }
public IdentityController(IUserQueryService userQrySvc) { _userQrySvc = userQrySvc; }
private static string _incantation = "helloxiatian!@#";//访问咒语 public WeiXinServiceController(IUserQueryService userQueryService, ITemplateMessageService templateMessageService) { _userQueryService = userQueryService; _templateMessageService = templateMessageService; }