Ejemplo n.º 1
0
        public async Task InitializeAsync(IFacetsService facetsService)
        {
            _facetTypes = await facetsService.GetFacetTypesAsync();

            PossibleGenders = new List <string> {
                Constants.GenderMale, Constants.GenderFemale
            };
            IsLoading = false;

            RaisePropertyChanged(nameof(PossibleGenders));
            RaisePropertyChanged(nameof(SelectedGender));
        }
Ejemplo n.º 2
0
 public FacetsController(IFacetsService service)
 {
     _service = service;
 }
Ejemplo n.º 3
0
 public SetupController(IFacetsService facetsService)
 {
     _facetService = facetsService;
 }
Ejemplo n.º 4
0
 public FacetsController(IFacetsService facetsService, IContexts contexts)
     : base(contexts)
 {
     this._facetsService = facetsService;
 }
 public void SetUp()
 {
     facetService = Substitute.For<IFacetsService>();
 }
Ejemplo n.º 6
0
 public SetupController(IFacetsService facetsService)
 {
     this.facetService = facetsService;
 }
Ejemplo n.º 7
0
 public void SetUp()
 {
     facetService = Substitute.For <IFacetsService>();
 }