public ChatHub(ILogger <ChatHub> logger, IMessage messageService, ICommunication communicationService, ICommonResource commonResource) { _logger = logger; _messageService = messageService; _communicationService = communicationService; _commonResource = commonResource; }
public IndexModel(ICommunication communication, ICommonResource commonResource, IUserService userService) { /* For Profile */ _commonResource = commonResource; _communication = communication; _userService = userService; }
protected override void AwakeOverride() { base.AwakeOverride(); m_settings = IOCCore.Resolve <ISettings>(); m_audio = IOCCore.Resolve <IAudio>(); m_commonResource = IOCCore.Resolve <ICommonResource>(); m_webInterace = IOCCore.Resolve <IWebInterface>(); m_hourValidator.m_timeForm = this; m_minuteValidator.m_timeForm = this; if (m_meetingHour.inputValidator != null && m_meetingHour.inputValidator is TimeInputValidator hourValidator) { hourValidator.m_timeForm = this; } if (m_meetingMinute.inputValidator != null && m_meetingMinute.inputValidator is TimeInputValidator minuteValidator) { minuteValidator.m_timeForm = this; } m_inputs.Clear(); m_inputs = new List <TMP_InputField>() { m_meetingTitle, m_meetingDate, m_meetingHour, m_meetingMinute, m_meetingDurationHour, m_meetingDurationMinute }; for (int i = 0; i < m_inputs.Count; i++) { int index = i; m_inputs[i].onSelect.AddListener((val) => m_inputIndex = index); } }
private IEnumerator Start() { yield return(null); m_commonResource = IOCCore.Resolve <ICommonResource>(); m_sfxGroups = m_commonResource.AssetDb.SFXGroups; }
public IndexModel(ILogger <IndexModel> logger, IEmailSender emailSender, ICommonResource commonResource, IUserService userService, UserManager <HopeLineUser> userManager) { _logger = logger; _emailSender = emailSender; _commonResource = commonResource; _userService = userService; _userManager = userManager; }
protected virtual void Awake() { m_screenRootScale = m_screensRoot.localScale; m_audio = IOCCore.Resolve <IAudio>(); m_experienceMachine = IOCCore.Resolve <IExperienceMachine>(); m_commonResource = IOCCore.Resolve <ICommonResource>(); m_settings = IOCCore.Resolve <ISettings>(); m_uiEngine = IOCCore.Resolve <IUIEngine>(); }
protected override void AwakeOverride() { base.AwakeOverride(); m_settings = IOCCore.Resolve <ISettings>(); m_audio = IOCCore.Resolve <IAudio>(); m_commonResource = IOCCore.Resolve <ICommonResource>(); m_webInterace = IOCCore.Resolve <IWebInterface>(); m_uiEngine.InputModuleChangeEvent += OnInputModuleChange; m_microphoneDropdown.onValueChanged.AddListener((val) => RefreshMikeDisplay()); }
protected void Awake() { m_experienceMachine = IOCCore.Resolve <IExperienceMachine>(); m_audio = IOCCore.Resolve <IAudio>(); m_commonResource = IOCCore.Resolve <ICommonResource>(); m_settings = IOCCore.Resolve <ISettings>(); m_webInterface = IOCCore.Resolve <IWebInterface>(); m_network = IOCCore.Resolve <INetwork>(); m_uiEngine = IOCCore.Resolve <IUIEngine>(); AwakeOverride(); }
public ResourcesModel(ICommonResource commonResource, IUserService userService, UserManager <HopeLineUser> userManager) { _commonResource = commonResource; _userService = userService; _userManager = userManager; Resources = new List <ResourcesViewModel>(); DepressionRes = new List <ResourcesViewModel>(); AnxietyRes = new List <ResourcesViewModel>(); BullyingRes = new List <ResourcesViewModel>(); SuicideRes = new List <ResourcesViewModel>(); }
public virtual void OnLoad() { AudioSelectionFlag = false; if (m_settings == null) { m_settings = IOCCore.Resolve <ISettings>(); } if (m_audio == null) { m_audio = IOCCore.Resolve <IAudio>(); } if (m_experienceMachine == null) { m_experienceMachine = IOCCore.Resolve <IExperienceMachine>(); } if (m_commonResource == null) { m_commonResource = IOCCore.Resolve <ICommonResource>(); } var musicCategories = GetCategories(ResourceType.MUSIC); if (musicCategories == null || musicCategories.Length == 0) { return; } ExperienceResource[] resources = null; if (Selection.MusicGroup != null && Array.FindIndex(musicCategories, item => item != null && item.Name.Equals(Selection.MusicGroup)) != -1) { resources = GetResource(ResourceType.MUSIC, Selection.MusicGroup); } else { resources = GetResource(ResourceType.MUSIC, musicCategories[UnityEngine.Random.Range(0, musicCategories.Length)].Name); } if (resources == null || resources.Length == 0) { return; } AudioClip clip = ((AudioResource)resources[UnityEngine.Random.Range(0, resources.Length)]).Clip; Selection.Music = clip; AudioArgs args = new AudioArgs(clip, AudioType.MUSIC); m_audio.Play(args); }
public IndexModel( /* For Profile */ ICommunication communication, ICommonResource commonResource, IUserService userService, /*For Change Password*/ UserManager <HopeLineUser> userManager, SignInManager <HopeLineUser> signInManager, ILogger <ChangePasswordModel> logger) { /* For Profile */ _commonResource = commonResource; _communication = communication; _userService = userService; /*For Change Password*/ _userManager = userManager; _signInManager = signInManager; _logger = logger; }
protected virtual void AwakeOverride() { m_experienceMachine = ExperienceMachine; m_appTheme = AppTheme; m_audio = Audio; m_commonResource = CommonResource; m_settings = Settings; m_fordiNetwork = FordiNetwork; m_webInterface = WebInterface; m_network = Network; m_voiceChat = VoiceChat; //m_annotation = Annotation; m_settings = Settings; m_uiEngine = UIEngine; m_assetLoader = AssetLoader; m_pluginHook = PluginHook; m_permissions = Permissions; m_animationEngine = AnimationEngine; }
public AllResourcesController(ILogger <AllResourcesController> logger, ICommonResource commonResource) { _logger = logger; _commonResource = commonResource; }
public PopulateController(UserManager <HopeLineUser> userManager, ICommonResource commonResource) { _userManager = userManager; _commonResource = commonResource; }
public DeityController(ICommonResource commonResource, IDeityService deityService) { _commonResource = commonResource; _deityService = deityService; }
/// <summary> /// Constructor for temple controller. /// </summary> /// <param name="offeringTransactionService">The service for offering transaction.</param> /// <param name="commonResource"></param> public OfferingTransactionController(IOfferingTransactionService offeringTransactionService, ICommonResource commonResource) { _offeringTransactionService = offeringTransactionService; _commonResource = commonResource; }
public ChatModel(ICommunication communication, ICommonResource commonResource) { _commonResource = commonResource; _communication = communication; }
public OfferingPreBookingController(ICommonResource commonResource, IOfferingPreBookingService offeringPreBookingService) { _commonResource = commonResource; _offeringPreBookingService = offeringPreBookingService; }
/// <summary> /// Constructor for temple controller. /// </summary> /// <param name="templeService">The service for temple.</param> /// <param name="commonResource"></param> public OfferingController(IOfferingService offeringService, ICommonResource commonResource) { _offeringService = offeringService; _commonResource = commonResource; }
public MessageService(ILogger <MessageService> logger, ICommonResource commonResource, ChatDbContext chatDb) { _logger = logger; _commonResource = commonResource; _chatDb = chatDb; }
public ExpenseController(IExpenseService expenseService, ICommonResource commonResource) { _expenseService = expenseService; _commonResource = commonResource; }
public CommunityModel(ICommonResource commonResources, IUserService userService, UserManager <HopeLineUser> userManager) { _commonResource = commonResources; _userService = userService; _userManager = userManager; }
public UserController(IUserService userService, ICommonResource commonResource) { _userService = userService; _commonResource = commonResource; }
/// <summary> /// Constructor for injection. /// </summary> /// <param name="branchServive">The branch service to inject.</param> public IncomeController(IIncomeService incomeService, ICommonResource commonResource) { _incomeService = incomeService; _commonResource = commonResource; }
/// <summary> /// Constructor for injection. /// </summary> /// <param name="branchServive">The branch service to inject.</param> public BatchAssignmentController(IBatchAssignmentService batchAssignmentService, ICommonResource commonResource) { _batchAssignmentService = batchAssignmentService; _commonResource = commonResource; }
/// <summary> /// Constructor for injection. /// </summary> /// <param name="branchServive">The branch service to inject.</param> public BatchController(IBatchService batchService, ICommonResource commonResource) { _batchService = batchService; _commonResource = commonResource; }
/// <summary> /// Constructor for temple controller. /// </summary> /// <param name="templeService">The service for temple.</param> /// <param name="commonResource"></param> public TempleController(ITempleService templeService, ICommonResource commonResource) { _templeService = templeService; _commonResource = commonResource; }
public CourseController(ICourseService courseService, ICommonResource commonResource) { _courseService = courseService; _commonResource = commonResource; }
public InstantChatModel(ICommunication communication, ICommonResource commonResource, SignInManager <HopeLineUser> signInManager) { _commonResource = commonResource; _communication = communication; _signInManager = signInManager; }
public ResponseDto(ICommonResource commonResource) { _commonResource = commonResource; this.Message = _commonResource.SaveSuccess; }